mirror of
https://github.com/notwa/rc
synced 2024-12-21 21:49:40 -08:00
kill vim9 comments with an after/
instead of an autogroup
it's more reliable.
This commit is contained in:
parent
12b900a577
commit
360c2d4992
2 changed files with 1 additions and 7 deletions
|
@ -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
1
vim/after/syntax/vim.vim
Normal file
|
@ -0,0 +1 @@
|
|||
syntax clear vim9Comment
|
Loading…
Reference in a new issue