Update 2.Vim.lua
This commit is contained in:
parent
3e7b883002
commit
f043d9087a
137
2.Vim.lua
137
2.Vim.lua
@ -14,7 +14,6 @@ return {
|
|||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
'dominikduda/vim_current_word', lazy = false},
|
'dominikduda/vim_current_word', lazy = false},
|
||||||
{
|
{
|
||||||
@ -23,34 +22,89 @@ return {
|
|||||||
"gennaro-tedesco/nvim-jqx", ft = { "json", "yaml" }
|
"gennaro-tedesco/nvim-jqx", ft = { "json", "yaml" }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'https://git.sr.ht/~whynothugo/lsp_lines.nvim',
|
'windwp/nvim-autopairs',
|
||||||
lazy = false,
|
event = "InsertEnter",
|
||||||
|
opts = {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ray-x/lsp_signature.nvim",
|
||||||
|
event = "BufRead",
|
||||||
config = function()
|
config = function()
|
||||||
require('lsp_lines').setup()
|
require("lsp_signature").setup()
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
-- {
|
||||||
|
-- 'https://git.sr.ht/~whynothugo/lsp_lines.nvim',
|
||||||
|
-- lazy = false,
|
||||||
|
-- config = function()
|
||||||
|
-- require('lsp_lines').setup()
|
||||||
|
-- end,
|
||||||
|
-- },
|
||||||
{
|
{
|
||||||
'zaldih/themery.nvim',
|
'zaldih/themery.nvim',
|
||||||
lazy = false,
|
lazy = false,
|
||||||
config = function()
|
config = function()
|
||||||
require("themery").setup({
|
require("themery").setup({
|
||||||
themes = {
|
themes = {
|
||||||
'vim-monokai-tasty',
|
'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',
|
'nightfox',
|
||||||
|
'nightfly',
|
||||||
|
'retrobox',
|
||||||
|
'ron',
|
||||||
|
'slate',
|
||||||
|
'sorbet',
|
||||||
'terafox',
|
'terafox',
|
||||||
|
'tokyonight-night',
|
||||||
|
'tokyonight-storm',
|
||||||
|
'tokyonight-moon',
|
||||||
|
'torte',
|
||||||
|
'vim-monokai-tasty',
|
||||||
|
'wildcharm',
|
||||||
|
'zaibatsu',
|
||||||
'carbonfox',
|
'carbonfox',
|
||||||
'PaperColor',
|
'PaperColor',
|
||||||
'onedark',
|
'onedark',
|
||||||
|
'onedarker',
|
||||||
|
'ofirkai',
|
||||||
'vscode',
|
'vscode',
|
||||||
'material',
|
'material',
|
||||||
'notelight',
|
'kanagawa-wave',
|
||||||
|
'kanagawa-dragon',
|
||||||
|
'tender',
|
||||||
|
'zephyr',
|
||||||
},
|
},
|
||||||
themeConfigFile = "~/.config/nvim/lua/settings/theme.lua", -- Described below
|
themeConfigFile = "~/.config/nvim/lua/user/polish.lua",
|
||||||
livePreview = true,
|
livePreview = true,
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
-- themes goes here -----------------------------------
|
-- themes goes here -----------------------------------
|
||||||
{"folke/tokyonight.nvim",opts = {}},
|
{"folke/tokyonight.nvim",opts = {}},
|
||||||
{'EdenEast/nightfox.nvim'},
|
{'EdenEast/nightfox.nvim'},
|
||||||
@ -59,30 +113,38 @@ return {
|
|||||||
{'Mofiqul/vscode.nvim'},
|
{'Mofiqul/vscode.nvim'},
|
||||||
{'kaicataldo/material.vim'},
|
{'kaicataldo/material.vim'},
|
||||||
{'yasukotelin/notelight'},
|
{'yasukotelin/notelight'},
|
||||||
{'bluz71/vim-moonfly-colors', name = 'moonfly', priority = 1000},
|
{'bluz71/vim-moonfly-colors', name = 'moonfly'},
|
||||||
{'bluz71/vim-nightfly-colors', name = "nightfly", priority = 1000 },
|
{'bluz71/vim-nightfly-colors', name = "nightfly"},
|
||||||
{'patstockwell/vim-monokai-tasty'},
|
{'patstockwell/vim-monokai-tasty'},
|
||||||
{'catppuccin/nvim', name = "catppuccin", priority = 1000 },
|
{'catppuccin/nvim', name = "catppuccin"},
|
||||||
{'rebelot/kanagawa.nvim'},
|
{'rebelot/kanagawa.nvim'},
|
||||||
{'jacoborus/tender.vim'},
|
{'jacoborus/tender.vim'},
|
||||||
{'lunarvim/Onedarker.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'},
|
||||||
|
|
||||||
-- code plugins overide settings ----------------------
|
-- code plugins overide settings ----------------------
|
||||||
{
|
-- {
|
||||||
'lukas-reineke/indent-blankline.nvim',
|
-- 'lukas-reineke/indent-blankline.nvim',
|
||||||
opts={
|
-- opts={
|
||||||
char = " ",
|
-- char = " ",
|
||||||
context_char = " ",
|
-- context_char = " ",
|
||||||
}
|
-- }
|
||||||
}
|
-- }
|
||||||
},
|
},
|
||||||
diagnostics = {
|
diagnostics = {
|
||||||
virtual_text = false,
|
virtual_text = true,
|
||||||
underline = false,
|
underline = true,
|
||||||
},
|
},
|
||||||
mappings = {
|
mappings = {
|
||||||
n = {
|
n = {
|
||||||
-- normal mode keymaps ------------------------------
|
-- normal mode keymaps
|
||||||
["<Tab>"] = ":bnext<cr>",
|
["<Tab>"] = ":bnext<cr>",
|
||||||
["<S-Tab>"] = ":bprev<cr>"
|
["<S-Tab>"] = ":bprev<cr>"
|
||||||
},
|
},
|
||||||
@ -90,25 +152,42 @@ return {
|
|||||||
-- edit mode keymaps
|
-- edit mode keymaps
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
g = {
|
-- g = {
|
||||||
cmp_enabled = true,
|
-- cmp_enabled = true,
|
||||||
-- diagnostics_mode = 0,
|
-- diagnostics_mode = 3,
|
||||||
|
-- wrap = true,
|
||||||
|
-- },
|
||||||
|
options = {
|
||||||
|
opt = {
|
||||||
|
relativenumber = true, -- sets vim.opt.relativenumber
|
||||||
|
wrap = true,
|
||||||
|
},
|
||||||
|
g = {
|
||||||
|
mapleader = " ", -- sets vim.g.mapleader
|
||||||
|
wrap = true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
-- opt ={
|
-- opt ={
|
||||||
-- diagnostic = {
|
-- diagnostic = {
|
||||||
-- config = { virtual_lines = false }
|
-- config = { virtual_lines = false }
|
||||||
-- }
|
-- }
|
||||||
-- },
|
-- },
|
||||||
|
|
||||||
polish = function()
|
polish = function()
|
||||||
-- vmirc commands
|
|
||||||
vim.cmd [[TransparentDisable]]
|
vim.cmd [[TransparentDisable]]
|
||||||
vim.cmd [[let g:vim_monokai_tasty_italic = 1]]
|
vim.cmd [[let g:vim_monokai_tasty_italic = 1]]
|
||||||
vim.cmd [[:colorscheme vim-monokai-tasty]]
|
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,
|
end,
|
||||||
|
dap = {
|
||||||
|
adapters = {
|
||||||
|
--
|
||||||
|
}
|
||||||
|
},
|
||||||
lsp = {
|
lsp = {
|
||||||
config = {
|
config = {
|
||||||
intelephense = {
|
intelephense = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user