vimrc

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules

commit 4fa1f50f7f2d78e7270a2fcf677014d9d9ee2c00
parent 8dc62532f310bd42540f2c5cd224f2af82d6d991
Author: Pablo Cárdenas <pablo.cardenas@imca.edu.pe>
Date:   Wed, 28 Dec 2022 11:03:29 -0500

Added vim-lsp-settings

Diffstat:
M.gitmodules | 3+++
Apack/pablo/start/vim-lsp-settings | 1+
Mplugin/pablo/vim-lsp.vim | 6------
3 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/.gitmodules b/.gitmodules @@ -19,3 +19,6 @@ [submodule "pack/pablo/start/vim-lsp"] path = pack/pablo/start/vim-lsp url = https://github.com/prabirshrestha/vim-lsp +[submodule "pack/pablo/start/vim-lsp-settings"] + path = pack/pablo/start/vim-lsp-settings + url = https://github.com/mattn/vim-lsp-settings diff --git a/pack/pablo/start/vim-lsp-settings b/pack/pablo/start/vim-lsp-settings @@ -0,0 +1 @@ +Subproject commit 7166674dc49306a6fcaff19d4dde8bca95271460 diff --git a/plugin/pablo/vim-lsp.vim b/plugin/pablo/vim-lsp.vim @@ -10,7 +10,6 @@ endif function! s:on_lsp_buffer_enabled() abort setlocal omnifunc=lsp#complete - setlocal signcolumn=yes if exists('+tagfunc') | setlocal tagfunc=lsp#tagfunc | endif nmap <buffer> gd <plug>(lsp-definition) nmap <buffer> gs <plug>(lsp-document-symbol-search) @@ -24,11 +23,6 @@ function! s:on_lsp_buffer_enabled() abort nmap <buffer> K <plug>(lsp-hover) nnoremap <buffer> <expr><c-f> lsp#scroll(+4) nnoremap <buffer> <expr><c-d> lsp#scroll(-4) - - let g:lsp_format_sync_timeout = 1000 - autocmd! BufWritePre *.rs,*.go call execute('LspDocumentFormatSync') - - " refer to doc to add more commands endfunction augroup lsp_install