mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
feat(treesitter): highlight Lua files by default (#26824)
This commit is contained in:
parent
bcd111bd12
commit
f69658bc35
@ -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 treesitter query files.
|
||||||
• Enabled treesitter highlighting for help files.
|
• Enabled treesitter highlighting for help files.
|
||||||
|
• Enabled treesitter highlighting for Lua files.
|
||||||
|
|
||||||
• The `workspace/didChangeWatchedFiles` LSP client capability is now enabled
|
• The `workspace/didChangeWatchedFiles` LSP client capability is now enabled
|
||||||
by default.
|
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()
|
Loading…
Reference in New Issue
Block a user