diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-02-22 10:58:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-22 10:58:15 +0100 |
commit | d1b34b74580fc09d86144c35e24a1a8a0d531b36 (patch) | |
tree | 6d53730e1a424520e0f959c1c73a0284977516b0 | |
parent | 649742821a640c47c3934e7366676efc03153a28 (diff) | |
download | rneovim-d1b34b74580fc09d86144c35e24a1a8a0d531b36.tar.gz rneovim-d1b34b74580fc09d86144c35e24a1a8a0d531b36.tar.bz2 rneovim-d1b34b74580fc09d86144c35e24a1a8a0d531b36.zip |
vim-patch:9.0.1337: yuck files are not recognized (#22358)
Problem: Yuck files are not recognized.
Solution: Add a filetype pattern for yuck files. (Amaan Qureshi,
closes vim/vim#12033)
https://github.com/vim/vim/commit/cfce5cf542db20c7beba5b4211c0ae3305a64a43
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
-rw-r--r-- | runtime/lua/vim/filetype.lua | 1 | ||||
-rw-r--r-- | src/nvim/testdir/test_filetype.vim | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 4ee7d46b20..0dd2dcfcbe 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -1131,6 +1131,7 @@ local extension = { yml = 'yaml', yaml = 'yaml', yang = 'yang', + yuck = 'yuck', ['z8a'] = 'z8a', zig = 'zig', zir = 'zir', diff --git a/src/nvim/testdir/test_filetype.vim b/src/nvim/testdir/test_filetype.vim index 576f2c9f2b..af33b5b051 100644 --- a/src/nvim/testdir/test_filetype.vim +++ b/src/nvim/testdir/test_filetype.vim @@ -665,6 +665,7 @@ let s:filename_checks = { \ 'yacc': ['file.yy', 'file.yxx', 'file.y++'], \ 'yaml': ['file.yaml', 'file.yml', '.clangd', '.clang-format', '.clang-tidy'], \ 'yang': ['file.yang'], + \ 'yuck': ['file.yuck'], \ 'z8a': ['file.z8a'], \ 'zig': ['file.zig'], \ 'zimbu': ['file.zu'], |