Merge pull request #1874 from PeterCardenas/lenient-vim-filepattern

Make vim ftdetect file pattern more flexible
This commit is contained in:
Mitchell Hashimoto
2024-06-24 10:27:27 -07:00
committed by GitHub

View File

@ -3,7 +3,7 @@ const Config = @import("Config.zig");
/// This is the associated Vim file as named by the variable. /// This is the associated Vim file as named by the variable.
pub const syntax = comptimeGenSyntax(); pub const syntax = comptimeGenSyntax();
pub const ftdetect = "au BufRead,BufNewFile */.config/ghostty/config set ft=ghostty\n"; pub const ftdetect = "au BufRead,BufNewFile */ghostty/config set ft=ghostty\n";
pub const ftplugin = pub const ftplugin =
\\" Vim filetype plugin file \\" Vim filetype plugin file
\\" Language: Ghostty config file \\" Language: Ghostty config file