Fix coc tab bug
This commit is contained in:
parent
d4cea114fa
commit
ae1344805a
5
.vimrc
5
.vimrc
@ -114,6 +114,11 @@ inoremap <silent><expr> <TAB>
|
|||||||
\ coc#refresh()
|
\ coc#refresh()
|
||||||
inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>"
|
inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>"
|
||||||
|
|
||||||
|
function! s:check_back_space() abort
|
||||||
|
let col = col('.') - 1
|
||||||
|
return !col || getline('.')[col - 1] =~# '\s'
|
||||||
|
endfunction
|
||||||
|
|
||||||
"Coc vimlsp Highlighting
|
"Coc vimlsp Highlighting
|
||||||
let g:markdown_fenced_languages = [
|
let g:markdown_fenced_languages = [
|
||||||
\ 'vim',
|
\ 'vim',
|
||||||
|
Loading…
Reference in New Issue
Block a user