latest
This commit is contained in:
@@ -12,6 +12,9 @@ set clipboard+=unnamed
|
|||||||
|
|
||||||
let mapleader = ","
|
let mapleader = ","
|
||||||
|
|
||||||
|
let g:qs_highlight_on_keys = ['f', 'F', 't', 'T']
|
||||||
|
set quickscope
|
||||||
|
|
||||||
map <leader>ff <Action>(SearchEverywhere)
|
map <leader>ff <Action>(SearchEverywhere)
|
||||||
map <leader>fd <Action>(GotoDeclaration)
|
map <leader>fd <Action>(GotoDeclaration)
|
||||||
map <leader>ft <Action>(GotoTypeDeclaration)
|
map <leader>ft <Action>(GotoTypeDeclaration)
|
||||||
|
|||||||
@@ -91,7 +91,12 @@ end
|
|||||||
vim.opt.rtp:prepend(lazypath)
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
require'lazy'.setup{ --{{{1
|
require'lazy'.setup{ --{{{1
|
||||||
{ 'justinmk/vim-sneak', --{{{2
|
{ 'unblevable/quick-scope', --{{{2
|
||||||
|
init = function()
|
||||||
|
vim.cmd [[
|
||||||
|
let g:qs_highlight_on_keys = ['f', 'F', 't', 'T']
|
||||||
|
]]
|
||||||
|
end,
|
||||||
},
|
},
|
||||||
{ 'michaeljsmith/vim-indent-object', --{{{2
|
{ 'michaeljsmith/vim-indent-object', --{{{2
|
||||||
},
|
},
|
||||||
@@ -158,6 +163,7 @@ require'lazy'.setup{ --{{{1
|
|||||||
require'lspconfig'.pyright.setup{}
|
require'lspconfig'.pyright.setup{}
|
||||||
require'lspconfig'.ts_ls.setup{}
|
require'lspconfig'.ts_ls.setup{}
|
||||||
require'lspconfig'.jdtls.setup{}
|
require'lspconfig'.jdtls.setup{}
|
||||||
|
require'lspconfig'.csharp_ls.setup{}
|
||||||
|
|
||||||
require'lspconfig'.zls.setup{ enable_autofix = false }
|
require'lspconfig'.zls.setup{ enable_autofix = false }
|
||||||
vim.g.zig_fmt_autosave = false
|
vim.g.zig_fmt_autosave = false
|
||||||
@@ -177,6 +183,19 @@ require'lazy'.setup{ --{{{1
|
|||||||
]]
|
]]
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
|
{ 'nvim-treesitter/nvim-treesitter', --{{{2
|
||||||
|
config = function()
|
||||||
|
require'nvim-treesitter.configs'.setup{
|
||||||
|
ensure_installed = "all",
|
||||||
|
sync_install = false,
|
||||||
|
auto_install = true,
|
||||||
|
highlight = {
|
||||||
|
enable = true,
|
||||||
|
additional_vim_regex_highlighting = false,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
end,
|
||||||
|
},
|
||||||
{ 'mfussenegger/nvim-dap', --{{{2
|
{ 'mfussenegger/nvim-dap', --{{{2
|
||||||
dependencies = {
|
dependencies = {
|
||||||
'nvim-treesitter/nvim-treesitter',
|
'nvim-treesitter/nvim-treesitter',
|
||||||
@@ -213,8 +232,8 @@ require'lazy'.setup{ --{{{1
|
|||||||
imap <expr> <c-k> '<Plug>(snippy-previous)'
|
imap <expr> <c-k> '<Plug>(snippy-previous)'
|
||||||
smap <expr> <c-l> '<Plug>(snippy-next)'
|
smap <expr> <c-l> '<Plug>(snippy-next)'
|
||||||
smap <expr> <c-k> '<Plug>(snippy-previous)'
|
smap <expr> <c-k> '<Plug>(snippy-previous)'
|
||||||
nmap <Tab> <Plug>(snippy-cut-text)
|
nmap g; <Plug>(snippy-cut-text)
|
||||||
xmap <Tab> <Plug>(snippy-cut-text)
|
xmap g; <Plug>(snippy-cut-text)
|
||||||
]]
|
]]
|
||||||
|
|
||||||
vim.api.nvim_create_user_command(
|
vim.api.nvim_create_user_command(
|
||||||
|
|||||||
Reference in New Issue
Block a user