diff options
author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2022-01-09 09:11:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-09 09:11:09 -0700 |
commit | 6ecaba510fa19866520ddfc77996a55aeffb7055 (patch) | |
tree | b6d563df134da2268ee4ba342e5972a437a40e1c /src | |
parent | a34652ee846b40247064d1cc4ccf9d0aa731638c (diff) | |
download | rneovim-6ecaba510fa19866520ddfc77996a55aeffb7055.tar.gz rneovim-6ecaba510fa19866520ddfc77996a55aeffb7055.tar.bz2 rneovim-6ecaba510fa19866520ddfc77996a55aeffb7055.zip |
test: use old style test for testing filetype.lua (#17003)
This is a much better solution than #16942 as it doesn't require copying
every new change from test_filetype.vim into filetype_spec.lua (which is
much more maintainable).
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/testdir/test_alot.vim | 1 | ||||
-rw-r--r-- | src/nvim/testdir/test_filetype_lua.vim | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_alot.vim b/src/nvim/testdir/test_alot.vim index cc767a9bcf..c0ac4393c4 100644 --- a/src/nvim/testdir/test_alot.vim +++ b/src/nvim/testdir/test_alot.vim @@ -27,6 +27,7 @@ source test_join.vim source test_jumps.vim source test_fileformat.vim source test_filetype.vim +source test_filetype_lua.vim source test_lambda.vim source test_menu.vim source test_messages.vim diff --git a/src/nvim/testdir/test_filetype_lua.vim b/src/nvim/testdir/test_filetype_lua.vim new file mode 100644 index 0000000000..f73e4ca33f --- /dev/null +++ b/src/nvim/testdir/test_filetype_lua.vim @@ -0,0 +1,2 @@ +let g:do_filetype_lua = 1 +source test_filetype.vim |