Pair disabled character when there isn't a space before it
opened this issue · comments
Deleted user commented
Description
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.
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.
Issue's video
Deleted user commented
Solution
The error was in the configuration I think, I removed the spaces between filetypes in my config and now everything works fine