Closed ghost closed 3 years ago
I have disabled in my init.vim the < char when the filetype is html, typescript or typescriptreact. For doing that I have followed the documentation.
init.vim
<
html
typescript
typescriptreact
There it is the line where I disable the char:
autocmd FileType html, typescript, typescriptreact let b:coc_pairs_disabled = ['<']
The issue is that whenever the char < isn't preceded by a space, coc-pairs just pairs it.
coc-pairs
The error was in the configuration I think, I removed the spaces between filetypes in my config and now everything works fine
Description
I have disabled in my
init.vim
the<
char when the filetype ishtml
,typescript
ortypescriptreact
. For doing that I have followed the documentation.There it is the line where I disable the char:
The issue is that whenever the char
<
isn't preceded by a space,coc-pairs
just pairs it.Issue's video