mirror of
https://github.com/neovim/neovim
synced 2025-07-16 17:21:49 +00:00
feat(treesitter): highlight Lua files by default (#26824)
This commit is contained in:
@ -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
2
runtime/ftplugin/lua.lua
Normal file
@ -0,0 +1,2 @@
|
||||
-- use treesitter over syntax
|
||||
vim.treesitter.start()
|
Reference in New Issue
Block a user