From 12c9791e0fef7ee0d6cf6d3b828caa488d6347ea Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Wed, 3 Jul 2024 15:24:12 +0800 Subject: 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 '|'. --- runtime/syntax/query.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/syntax/query.lua') diff --git a/runtime/syntax/query.lua b/runtime/syntax/query.lua index 1e129dbeff..2dfe29f69b 100644 --- a/runtime/syntax/query.lua +++ b/runtime/syntax/query.lua @@ -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]]) -- cgit