mirror of
https://github.com/neovim/neovim.git
synced 2026-04-19 22:10:45 +00:00
fix(runtime): stop treesitter highlight in b:undo_ftplugin (#29533)
It seems that nvim-treesitter stops treesitter highlight when changing filetype, so it makes sense for builtin ftplugins to do this as well. Use :call and v:lua here to allow separation with '|'.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
-- Neovim syntax file
|
||||
-- Language: Treesitter query
|
||||
-- Last Change: 2022 Apr 13
|
||||
-- Last Change: 2024 Jul 03
|
||||
|
||||
-- it's a lisp!
|
||||
vim.cmd([[ runtime! syntax/lisp.vim ]])
|
||||
vim.cmd([[runtime! syntax/lisp.vim]])
|
||||
|
||||
Reference in New Issue
Block a user