308 lines
7.9 KiB
Lua
308 lines
7.9 KiB
Lua
return {
|
|
plugins = {
|
|
{
|
|
'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,
|
|
},
|
|
{
|
|
'samodostal/image.nvim',
|
|
config = function()
|
|
require('nvim-lua/plenary.nvim').setup()
|
|
end,
|
|
},
|
|
{
|
|
'nvim-lua/plenary.nvim'
|
|
},
|
|
-- {
|
|
-- "jemag/telescope-diff.nvim",
|
|
-- dependencies = {
|
|
-- { "nvim-telescope/telescope.nvim" },
|
|
-- }
|
|
-- },
|
|
-- {
|
|
-- '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',
|
|
'bluloco',
|
|
'catppuccin',
|
|
'catppuccin-frappe',
|
|
'catppuccin-macchiato',
|
|
'catppuccin-mocha',
|
|
'darkblue',
|
|
'desert',
|
|
'duskfox',
|
|
'dracula',
|
|
'edge',
|
|
'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',
|
|
'night-owl',
|
|
'retrobox',
|
|
'ron',
|
|
'slate',
|
|
'sorbet',
|
|
'terafox',
|
|
'tokyonight-night',
|
|
'tokyonight-storm',
|
|
'tokyonight-moon',
|
|
'torte',
|
|
'vim-monokai-tasty',
|
|
'wildcharm',
|
|
'zaibatsu',
|
|
'carbonfox',
|
|
'PaperColor',
|
|
'onedark',
|
|
'onedark_vivid',
|
|
'onedark_dark',
|
|
'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'},
|
|
{'Mofiqul/vscode.nvim'},
|
|
{'sainnhe/edge'},
|
|
{'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'},
|
|
{'olimorris/onedarkpro.nvim'},
|
|
{'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'},
|
|
{'oxfist/night-owl.nvim',
|
|
config = function()
|
|
vim.cmd.colorscheme("night-owl")
|
|
end,
|
|
},
|
|
{
|
|
'uloco/bluloco.nvim',
|
|
lazy = false,
|
|
priority = 1000,
|
|
dependencies = { 'rktjmp/lush.nvim' },
|
|
options ={
|
|
transparent = true,
|
|
italics = true,
|
|
terminal = vim.fn.has("gui_running") == 1,
|
|
},
|
|
config = function()
|
|
require("bluloco").setup({
|
|
style = "auto",
|
|
transparent = true,
|
|
italics = true,
|
|
terminal = vim.fn.has("gui_running") == 1,
|
|
guicursor = true,
|
|
})
|
|
end,
|
|
},
|
|
-- {
|
|
-- "jackMort/ChatGPT.nvim",
|
|
-- event = "VeryLazy",
|
|
-- config = function()
|
|
-- require("chatgpt").setup({
|
|
-- api_key_cmd = "echo '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'",
|
|
-- on_api_key = function(api_key)
|
|
-- print("API Key:", api_key)
|
|
-- end
|
|
-- })
|
|
-- end,
|
|
-- dependencies = {
|
|
-- "MunifTanjim/nui.nvim",
|
|
-- "nvim-lua/plenary.nvim",
|
|
-- "nvim-telescope/telescope.nvim"
|
|
-- }
|
|
-- },
|
|
-- code plugins overide settings ----------------------
|
|
-- {
|
|
-- 'lukas-reineke/indent-blankline.nvim',
|
|
-- opts={
|
|
-- char = " ",
|
|
-- context_char = " ",
|
|
-- }
|
|
-- }
|
|
},
|
|
diagnostics = {
|
|
virtual_text = false,
|
|
underline = false,
|
|
},
|
|
mappings = {
|
|
n = {
|
|
["<Tab>"] = ":bnext<cr>",
|
|
["<S-Tab>"] = ":bprev<cr>",
|
|
["<S-Left>"] = "v<Left>", -- select with SHIFT
|
|
["<S-Right>"] = "v<Right>", -- select with SHIFT
|
|
-- ["<C-v>"] = "pi" -- paste with Ctrl + v
|
|
},
|
|
t = {
|
|
["<S-Left>"] = "<Esc>v<Left>", -- select with SHIFT
|
|
["<S-Right>"] = "<Esc>v<Right>",-- select with SHIFT
|
|
-- ["<C-v>"] = "<Esc>pi", -- paste with Ctrl + v
|
|
-- ["<C-z>"] = "<Esc>zi", -- undo with Ctrl + z
|
|
},
|
|
v = {
|
|
["<S-Left>"] = "<Left>", -- select with SHIFT
|
|
["<S-Right>"] = "<Right>", -- select with SHIFT
|
|
-- ["<C-c>"] = "y<Esc>i", -- copy with Ctrl + x
|
|
-- ["<C-x>"] = "d<Esc>i", -- cut with Ctrl + x
|
|
}
|
|
},
|
|
-- g = {
|
|
-- cmp_enabled = true,
|
|
-- diagnostics_mode = 3,
|
|
-- wrap = true,
|
|
-- },
|
|
options = {
|
|
opt = {
|
|
relativenumber = false, -- sets vim.opt.relativenumber
|
|
wrap = true,
|
|
},
|
|
g = {
|
|
mapleader = " ", -- sets vim.g.mapleader
|
|
wrap = true,
|
|
},
|
|
},
|
|
opt ={
|
|
diagnostic = {
|
|
config = { virtual_lines = false }
|
|
}
|
|
},
|
|
polish = function()
|
|
vim.cmd[[diagnostic.disable()]]
|
|
-- 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 = {
|
|
php = {
|
|
type = 'executable',
|
|
command = 'node',
|
|
args = {os.getenv('HOME') .. '/.config/nvim/vscode-php-debug/out/phpDebug.js'},
|
|
}
|
|
},
|
|
},
|
|
lsp = {
|
|
formatting = {
|
|
format_on_save = false,
|
|
},
|
|
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
|
|
}
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
}
|