dev/2.Vim.lua
2023-07-24 09:46:46 +03:00

128 lines
3.2 KiB
Lua

return {
plugins = {
-- plugin objects goes here -------
{
'mg979/vim-visual-multi',
branch = 'master',
lazy = false,
event = "BufRead",
init = function()
vim.g.VM_default_mappings = 0
vim.g.VM_maps = {
['Add Cursor Up'] = '<C-S-Up>',
['Add Cursor Down'] = '<C-S-Down>'
}
end,
},
{
'dominikduda/vim_current_word', lazy = false},
{
'xiyaowong/transparent.nvim', lazy = false},
{
"gennaro-tedesco/nvim-jqx", ft = { "json", "yaml" }
},
{
'https://git.sr.ht/~whynothugo/lsp_lines.nvim',
lazy = false,
config = function()
require('lsp_lines').setup()
end,
},
-- themes goes here -----------------------------------
{"folke/tokyonight.nvim", lazy = false,opts = {}},
{'EdenEast/nightfox.nvim', lazy = false},
{'NLKNguyen/papercolor-theme', lazy = false},
{'olimorris/onedarkpro.nvim', lazy = false},
{'Mofiqul/vscode.nvim', lazy = false},
{'kaicataldo/material.vim', lazy = false},
{'yasukotelin/notelight', lazy = false},
{'bluz71/vim-moonfly-colors', lazy = false, name = 'moonfly', priority = 1000},
{'patstockwell/vim-monokai-tasty', lazy = false},
-- code plugins overide settings ----------------------
{
'lukas-reineke/indent-blankline.nvim',
opts={
char = " ",
context_char = " ",
}
}
},
diagnostics = {
virtual_text = false,
underline = false,
},
mappings = {
n = {
-- normal mode keymaps ------------------------------
["<Tab>"] = ":bnext<cr>",
["<S-Tab>"] = ":bprev<cr>"
},
t = {
-- edit mode keymaps
}
},
g = {
cmp_enabled = true,
-- diagnostics_mode = 0,
},
-- opt ={
-- diagnostic = {
-- config = { virtual_lines = false }
-- }
-- },
polish = function()
-- vmirc commands
vim.cmd [[TransparentDisable]]
vim.cmd [[let g:vim_monokai_tasty_italic = 1]]
vim.cmd [[:colorscheme vim-monokai-tasty]]
end,
-- colorscheme = 'vim-monokai-tasty',
-- colorscheme = 'nightfox',
-- colorscheme = 'terafox',
-- colorscheme = 'carbonfox',
-- colorscheme = 'PaperColor',
-- colorscheme = 'onedark',
-- colorscheme = 'vscode',
-- colorscheme = 'material',
-- colorscheme = 'notelight',
lsp = {
config = {
intelephense = {
settings = {
intelephense = {
environment = {
includePaths = {
"core/includes"
}
},
files = {
associations = {
"*.inc",
"*.theme",
"*.install",
"*.module",
"*.profile",
"*.php",
"*.phtml"
}
},
-- diagnostics = {
-- enable = false,
-- run = false,
-- undefinedFunctions = false,
-- undefinedMethod = false,
-- undefinedClassConstants = false,
-- undefinedConstants = false,
-- undefinedProperties = false,
-- undefinedVariables = false
-- }
},
},
},
}
}
}