dev/init.ua
2023-08-16 11:11:05 +03:00

229 lines
5.6 KiB
Plaintext

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" }
},
{
'windwp/nvim-autopairs',
event = "InsertEnter",
opts = {}
},
{
"ray-x/lsp_signature.nvim",
event = "BufRead",
config = function()
require("lsp_signature").setup()
end,
},
-- {
-- 'https://git.sr.ht/~whynothugo/lsp_lines.nvim',
-- lazy = false,
-- config = function()
-- require('lsp_lines').setup()
-- end,
-- },
{
'zaldih/themery.nvim',
lazy = false,
config = function()
require("themery").setup({
themes = {
'abscs',
'aurora',
'astrodark',
'astromars',
'astrotheme',
'blue',
'catppuccin',
'catppuccin-frappe',
'catppuccin-macchiato',
'catppuccin-mocha',
'darkblue',
'desert',
'duskfox',
'dracula',
'elflord',
'evening',
'github_dark',
'github_dark_dimmed',
'github_dark_high_contrast',
'github_dark_colorblind',
'github_dark_tritanopia',
'habamax',
'industry',
'koehler',
'lunaperche',
'moonfly',
'murphy',
'neon',
'nightfox',
'nightfly',
'retrobox',
'ron',
'slate',
'sorbet',
'terafox',
'tokyonight-night',
'tokyonight-storm',
'tokyonight-moon',
'torte',
'vim-monokai-tasty',
'wildcharm',
'zaibatsu',
'carbonfox',
'PaperColor',
'onedark',
'onedarker',
'ofirkai',
'vscode',
'material',
'kanagawa-wave',
'kanagawa-dragon',
'tender',
'zephyr',
},
themeConfigFile = "~/.config/nvim/lua/user/polish.lua",
livePreview = true,
})
end,
},
-- themes goes here -----------------------------------
{"folke/tokyonight.nvim",opts = {}},
{'EdenEast/nightfox.nvim'},
{'NLKNguyen/papercolor-theme'},
{'olimorris/onedarkpro.nvim'},
{'Mofiqul/vscode.nvim'},
{'kaicataldo/material.vim'},
{'yasukotelin/notelight'},
{'bluz71/vim-moonfly-colors', name = 'moonfly'},
{'bluz71/vim-nightfly-colors', name = "nightfly"},
{'patstockwell/vim-monokai-tasty'},
{'catppuccin/nvim', name = "catppuccin"},
{'rebelot/kanagawa.nvim'},
{'jacoborus/tender.vim'},
{'lunarvim/Onedarker.nvim'},
{'Abstract-IDE/Abstract-cs'},
{'rafamadriz/neon'},
{'sainnhe/sonokai'},
{'glepnir/zephyr-nvim'},
{'ray-x/aurora'},
{'ofirgall/ofirkai.nvim'},
{'dracula/vim', name = 'dracula'},
{'projekt0n/github-nvim-theme'},
-- code plugins overide settings ----------------------
-- {
-- 'lukas-reineke/indent-blankline.nvim',
-- opts={
-- char = " ",
-- context_char = " ",
-- }
-- }
},
diagnostics = {
virtual_text = true,
underline = true,
},
mappings = {
n = {
-- normal mode keymaps
["<Tab>"] = ":bnext<cr>",
["<S-Tab>"] = ":bprev<cr>"
},
t = {
-- edit mode keymaps
}
},
-- g = {
-- cmp_enabled = true,
-- diagnostics_mode = 3,
-- wrap = true,
-- },
options = {
opt = {
relativenumber = true, -- sets vim.opt.relativenumber
wrap = true,
},
g = {
mapleader = " ", -- sets vim.g.mapleader
wrap = true,
},
},
-- opt ={
-- diagnostic = {
-- config = { virtual_lines = false }
-- }
-- },
polish = function()
vim.cmd [[TransparentDisable]]
vim.cmd [[let g:vim_monokai_tasty_italic = 1]]
vim.cmd [[:colorscheme vim-monokai-tasty]]
-- Sonokai theme
-- vim.cmd[[let g:sonokai_better_performance = 1]]
-- vim.cmd[[let g:sonokai_style = 'atlantis']]
-- vim.cmd[[let g:sonokai_style = 'andromeda']]
-- vim.cmd[[let g:sonokai_style = 'default']]
-- vim.cmd[[colorscheme sonokai]]
end,
dap = {
adapters = {
--
}
},
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
-- }
},
},
},
}
}
}