diff options
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -59,6 +59,7 @@ Plug 'NLKNguyen/papercolor-theme' Plug 'prabirshrestha/vim-lsp' Plug 'prabirshrestha/asyncomplete.vim' Plug 'prabirshrestha/asyncomplete-lsp.vim' +Plug 'prabirshrestha/asyncomplete-buffer.vim' Plug 'mattn/vim-lsp-settings' Plug 'purescript-contrib/purescript-vim' Plug 'jiangmiao/auto-pairs' @@ -244,6 +245,17 @@ augroup lsp_install autocmd User lsp_buffer_enabled call s:on_lsp_buffer_enabled() augroup END +let g:lsp_diagnostics_virtual_text_enabled = 0 +let g:qs_highlight_on_keys = ['f', 'F', 't', 'T'] +call asyncomplete#register_source(asyncomplete#sources#buffer#get_source_options({ + \ 'name': 'buffer', + \ 'allowlist': ['*'], + \ 'blocklist': ['go'], + \ 'completor': function('asyncomplete#sources#buffer#completor'), + \ 'config': { + \ 'max_buffer_size': 5000000, + \ }, + \ })) "set foldmethod=expr " \ foldexpr=lsp#ui#vim#folding#foldexpr() " \ foldtext=lsp#ui#vim#folding#foldtext() |