diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-05-10 18:30:15 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-05-11 09:13:57 +0200 |
commit | a9fd17e23289c4a74edbb6f02abde14ab4eac05c (patch) | |
tree | c7f481d20a9ffac95438397801a40c9a22311713 /test | |
parent | 8c7a8be27437d8f2d640daf1c2598d4c18933e04 (diff) | |
download | rneovim-a9fd17e23289c4a74edbb6f02abde14ab4eac05c.tar.gz rneovim-a9fd17e23289c4a74edbb6f02abde14ab4eac05c.tar.bz2 rneovim-a9fd17e23289c4a74edbb6f02abde14ab4eac05c.zip |
vim-patch:9.1.0401: filetype: zsh module files are not recognized
Problem: filetype: zsh module files are not recognized
Solution: Detect '*.mdh' and '*.epro' as C filetype, '*.mdd' as zsh
filetype, determine zsh-modules '*.pro' from from it's content
(Wu, Zhenyu)
closes: vim/vim#14737
https://github.com/vim/vim/commit/887a38cee78c472fe406da60751fbba4a6ec19dd
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Diffstat (limited to 'test')
-rw-r--r-- | test/old/testdir/test_filetype.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/old/testdir/test_filetype.vim b/test/old/testdir/test_filetype.vim index 3dd3db512a..1da97bb724 100644 --- a/test/old/testdir/test_filetype.vim +++ b/test/old/testdir/test_filetype.vim @@ -132,7 +132,7 @@ func s:GetFilenameChecks() abort \ 'bst': ['file.bst'], \ 'bzl': ['file.bazel', 'file.bzl', 'WORKSPACE', 'WORKSPACE.bzlmod'], \ 'bzr': ['bzr_log.any', 'bzr_log.file'], - \ 'c': ['enlightenment/file.cfg', 'file.qc', 'file.c', 'some-enlightenment/file.cfg'], + \ 'c': ['enlightenment/file.cfg', 'file.qc', 'file.c', 'some-enlightenment/file.cfg', 'file.mdh', 'file.epro'], \ 'cabal': ['file.cabal'], \ 'cabalconfig': ['cabal.config', expand("$HOME/.config/cabal/config")] + s:WhenConfigHome('$XDG_CONFIG_HOME/cabal/config'), \ 'cabalproject': ['cabal.project', 'cabal.project.local'], @@ -856,7 +856,7 @@ func s:GetFilenameChecks() abort \ 'zsh': ['.zprofile', '/etc/zprofile', '.zfbfmarks', 'file.zsh', 'file.zsh-theme', 'file.zunit', \ '.zcompdump', '.zlogin', '.zlogout', '.zshenv', '.zshrc', '.zsh_history', \ '.zcompdump-file', '.zlog', '.zlog-file', '.zsh', '.zsh-file', - \ 'any/etc/zprofile', 'zlog', 'zlog-file', 'zsh', 'zsh-file'], + \ 'any/etc/zprofile', 'zlog', 'zlog-file', 'zsh', 'zsh-file', 'file.mdd'], \ \ 'help': [$VIMRUNTIME .. '/doc/help.txt'], \ } |