Added cocRefresh

This commit is contained in:
Marcin Woźniak 2021-10-30 23:18:43 +02:00
parent 4bfcc5a85f
commit 4d62c751b7
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -87,6 +87,8 @@ autocmd BufRead,BufNewFile *.yaml let g:indentLine_char = '⦙'
" Instalation coc extentions
let g:coc_global_extensions = ['coc-solargraph', 'coc-go', 'coc-yaml', 'coc-pyright', 'coc-json' , 'coc-markdownlint' , 'coc-sh', 'coc-prettier', 'coc-diagnostic', 'coc-perl']
inoremap <silent><expr> <Nul> coc#refresh()
function! s:check_back_space() abort
let col = col('.') - 1
return !col || getline('.')[col - 1] =~# '\s'