Open jonnyjones99 opened 4 months ago
Mostly fixed, but it wont autotoggle for go or ts files. Have to manually type:
TSEnable highlight
or TSToggle highlight
I setup a autocmd to automatically use the command but it causes weird behavior in NVIM. When I go to write to a file I have to use to :w!
. This apparently happens when a autocmd is failing.
I've tried the autocmd using different vim events such as bufenter
, bufnewfile
, bufread
and no matter what event I choose I still get the weird behavior when writing to a file.
fix it
especially in go files