neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit f69658bc355e130fc2845a8e0edc8baa4f256329
parent bcd111bd12b9d6db58a88fac728fc51af4d96c12
Author: Christian Clason <c.clason@uni-graz.at>
Date:   Mon,  1 Jan 2024 15:37:07 +0100

feat(treesitter): highlight Lua files by default (#26824)


Diffstat:
Mruntime/doc/news.txt | 1+
Aruntime/ftplugin/lua.lua | 2++
2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt @@ -300,6 +300,7 @@ The following changes to existing APIs or features add new behavior. < • Enabled treesitter highlighting for treesitter query files. • Enabled treesitter highlighting for help files. + • Enabled treesitter highlighting for Lua files. • The `workspace/didChangeWatchedFiles` LSP client capability is now enabled by default. diff --git a/runtime/ftplugin/lua.lua b/runtime/ftplugin/lua.lua @@ -0,0 +1,2 @@ +-- use treesitter over syntax +vim.treesitter.start()