diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-04-21 10:24:07 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-21 02:24:07 +0000 |
| commit | 32e249dfa6fcf2d079df962473bd257bf04c2a16 (patch) | |
| tree | 1ee3c368c4f6a03ee060b38274d0c0241d66b559 /test | |
| parent | 7d3e275b070c74934b73c5e7149d96a87de5a8d1 (diff) | |
vim-patch:9.2.0371: filetype: ghostty config files are not recognized (#39267)
Problem: filetype: ghostty config files are not recognized
Solution: Detect ghostty configuration files as ghostty filetype,
include a simple ghostty filetype plugin (Bez Hermoso)
closes: vim/vim#20002
https://github.com/vim/vim/commit/b30803b231beea13e2efa42fefc04be71a4e9bb5
Co-authored-by: Bez Hermoso <bezalelhermoso@gmail.com>
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'test')
| -rw-r--r-- | test/old/testdir/test_filetype.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/old/testdir/test_filetype.vim b/test/old/testdir/test_filetype.vim index 62b32b5e9e..d11ec3fbb0 100644 --- a/test/old/testdir/test_filetype.vim +++ b/test/old/testdir/test_filetype.vim @@ -327,6 +327,9 @@ func s:GetFilenameChecks() abort \ 'gedcom': ['file.ged', 'lltxxxxx.txt', '/tmp/lltmp', '/tmp/lltmp-file', 'any/tmp/lltmp', 'any/tmp/lltmp-file'], \ 'gel': ['file.gel'], \ 'gemtext': ['file.gmi', 'file.gemini'], + \ 'ghostty': ['ghostty/config', 'ghostty/keymaps.ghostty', '/.config/ghostty/config', '/.config/ghostty/keymaps.ghostty', + \ '~/Library/Application Support/com.mitchellh.ghostty/config.ghostty', '~/Library/Application Support/com.mitchellh.ghostty/config', + \ '~/.config/ghostty/themes/Custom Theme', '/usr/share/ghostty/themes/Builtin Theme'], \ 'gift': ['file.gift'], \ 'gitattributes': ['file.git/info/attributes', '.gitattributes', '/.config/git/attributes', '/etc/gitattributes', '/usr/local/etc/gitattributes', 'some.git/info/attributes'] + s:WhenConfigHome('$XDG_CONFIG_HOME/git/attributes'), \ 'gitcommit': ['COMMIT_EDITMSG', 'MERGE_MSG', 'TAG_EDITMSG', 'NOTES_EDITMSG', 'EDIT_DESCRIPTION'], |
