diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-07-03 15:24:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-03 15:24:12 +0800 |
commit | 12c9791e0fef7ee0d6cf6d3b828caa488d6347ea (patch) | |
tree | 8ef3c4199a525154f299a2a59b86b1e453554bd7 /runtime/indent/query.lua | |
parent | 599fc7cee4441cf3beacd47f388aa36194091422 (diff) | |
download | rneovim-12c9791e0fef7ee0d6cf6d3b828caa488d6347ea.tar.gz rneovim-12c9791e0fef7ee0d6cf6d3b828caa488d6347ea.tar.bz2 rneovim-12c9791e0fef7ee0d6cf6d3b828caa488d6347ea.zip |
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 '|'.
Diffstat (limited to 'runtime/indent/query.lua')
-rw-r--r-- | runtime/indent/query.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/indent/query.lua b/runtime/indent/query.lua index 3261376d87..c5b4f1f03d 100644 --- a/runtime/indent/query.lua +++ b/runtime/indent/query.lua @@ -1,6 +1,6 @@ -- Neovim indent file -- Language: Treesitter query --- Last Change: 2022 Mar 29 +-- Last Change: 2024 Jul 03 -- it's a lisp! -vim.cmd([[ runtime! indent/lisp.vim ]]) +vim.cmd([[runtime! indent/lisp.vim]]) |