Neovim: add LSP signature and change cmp setting

This commit is contained in:
2023-07-08 15:20:41 +03:00
parent 3d107e59dc
commit bf2d128338
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"