Added cocRefresh
This commit is contained in:
parent
4bfcc5a85f
commit
4d62c751b7
@ -87,6 +87,8 @@ autocmd BufRead,BufNewFile *.yaml let g:indentLine_char = '⦙'
|
|||||||
" Instalation coc extentions
|
" 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']
|
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
|
function! s:check_back_space() abort
|
||||||
let col = col('.') - 1
|
let col = col('.') - 1
|
||||||
return !col || getline('.')[col - 1] =~# '\s'
|
return !col || getline('.')[col - 1] =~# '\s'
|
||||||
|
Loading…
Reference in New Issue
Block a user