mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
fix this nonsense
This commit is contained in:
parent
b20fc66139
commit
e2521466aa
1 changed files with 7 additions and 0 deletions
|
@ -229,6 +229,13 @@ if has('autocmd')
|
||||||
au GUIEnter * set vb t_vb=
|
au GUIEnter * set vb t_vb=
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
|
if has('syntax')
|
||||||
|
augroup fuckyou
|
||||||
|
au!
|
||||||
|
au FileType vim syntax clear vim9Comment
|
||||||
|
augroup END
|
||||||
|
endif
|
||||||
|
|
||||||
fu! ResCur() " attempt to preserve cursor position
|
fu! ResCur() " attempt to preserve cursor position
|
||||||
if line("'\"") > 1 && line("'\"") <= line("$")
|
if line("'\"") > 1 && line("'\"") <= line("$")
|
||||||
normal! g`"
|
normal! g`"
|
||||||
|
|
Loading…
Add table
Reference in a new issue