Neovim: add LSP signature and change cmp setting

This commit is contained in:
mequidis
2022-03-20 19:31:44 +02:00
parent d4c5be53b4
commit fc45d71fcd
5 changed files with 20 additions and 4 deletions

View File

@ -21,8 +21,8 @@ opt.timeoutlen = 500
opt.ts = 4
-- opt.wrap = false
-- :FormatJson command using jq
cmd 'autocmd FileType json :command! FormatJson %!jq .'
-- :JsonFormat command using jq
cmd 'autocmd FileType json :command! JsonFormat %!jq .'
-- trigger autoread on file change
cmd "autocmd FocusGained,BufEnter,CursorHold,CursorHoldI * if mode() != 'c' | checktime | endif"