kill vim9 comments with an `after/` instead of an autogroup

it's more reliable.
This commit is contained in:
Connor Olding 2021-10-19 15:13:05 +02:00
parent 12b900a577
commit 360c2d4992
2 changed files with 1 additions and 7 deletions

View File

@ -231,13 +231,6 @@ if has('autocmd')
au GUIEnter * set vb t_vb=
augroup END
if has('syntax')
augroup fuckyou " why do you make me do this?
au!
au FileType vim syntax clear vim9Comment
augroup END
endif
fu! ResCur() " attempt to preserve cursor position
if line("'\"") > 1 && line("'\"") <= line("$")
normal! g`"

1
vim/after/syntax/vim.vim Normal file
View File

@ -0,0 +1 @@
syntax clear vim9Comment