vim: use :setf to set the filetype
This is nicer because it only sets the filetype if it hasn't already been set. :setf[iletype] has been available since vim version 6. See: https://vimhelp.org/options.txt.html#%3Asetfpull/8914/head
parent
230014a536
commit
79a5902ef2
|
|
@ -10,7 +10,7 @@ pub const ftdetect =
|
||||||
\\"
|
\\"
|
||||||
\\" THIS FILE IS AUTO-GENERATED
|
\\" THIS FILE IS AUTO-GENERATED
|
||||||
\\
|
\\
|
||||||
\\au BufRead,BufNewFile */ghostty/config,*/ghostty/themes/* set ft=ghostty
|
\\au BufRead,BufNewFile */ghostty/config,*/ghostty/themes/* setf ghostty
|
||||||
\\
|
\\
|
||||||
;
|
;
|
||||||
pub const ftplugin =
|
pub const ftplugin =
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue