Compare commits
3 commits
5631b8e003
...
74c1739c23
Author | SHA1 | Date | |
---|---|---|---|
74c1739c23 | |||
2642c9dc40 | |||
6d36583084 |
3 changed files with 6 additions and 1 deletions
|
@ -61,7 +61,7 @@ local on_attach = function(client, bufnr)
|
||||||
buf_set_keymap('n', '<space>q', '<cmd>lua vim.lsp.diagnostic.set_loclist()<CR>', opts)
|
buf_set_keymap('n', '<space>q', '<cmd>lua vim.lsp.diagnostic.set_loclist()<CR>', opts)
|
||||||
end
|
end
|
||||||
|
|
||||||
local servers = { 'zls', 'gopls' }
|
local servers = { 'zls', 'gopls', 'tsserver' }
|
||||||
for _, lsp in ipairs(servers) do
|
for _, lsp in ipairs(servers) do
|
||||||
nvim_lsp[lsp].setup {
|
nvim_lsp[lsp].setup {
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
|
@ -73,3 +73,4 @@ EOF
|
||||||
let g:fzf_layout = { 'down': '40%' }
|
let g:fzf_layout = { 'down': '40%' }
|
||||||
|
|
||||||
noremap <space>f :Files<return>
|
noremap <space>f :Files<return>
|
||||||
|
noremap <space>b :Buffers<return>
|
||||||
|
|
1
.config/nvim/pack/plugins/start/fzf
Submodule
1
.config/nvim/pack/plugins/start/fzf
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit e4c3ecc57e99f4037199f11b384a7f8758d1a0ff
|
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -28,3 +28,6 @@
|
||||||
[submodule ".config/nvim/pack/plugins/start/vim-go"]
|
[submodule ".config/nvim/pack/plugins/start/vim-go"]
|
||||||
path = .config/nvim/pack/plugins/start/vim-go
|
path = .config/nvim/pack/plugins/start/vim-go
|
||||||
url = https://github.com/fatih/vim-go
|
url = https://github.com/fatih/vim-go
|
||||||
|
[submodule ".config/nvim/pack/plugins/start/fzf"]
|
||||||
|
path = .config/nvim/pack/plugins/start/fzf
|
||||||
|
url = https://github.com/junegunn/fzf
|
||||||
|
|
Loading…
Reference in a new issue