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

This commit is contained in:
Christian Clason
2024-01-01 15:37:07 +01:00
committed by GitHub
parent bcd111bd12
commit f69658bc35
2 changed files with 3 additions and 0 deletions

View File

@ -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.

2
runtime/ftplugin/lua.lua Normal file
View File

@ -0,0 +1,2 @@
-- use treesitter over syntax
vim.treesitter.start()