mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 23:18:33 +00:00
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).
This commit is contained in:
@@ -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
|
||||
|
2
src/nvim/testdir/test_filetype_lua.vim
Normal file
2
src/nvim/testdir/test_filetype_lua.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
let g:do_filetype_lua = 1
|
||||
source test_filetype.vim
|
Reference in New Issue
Block a user