mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-25 14:01:03 +00:00
Add Java to Treesitter
This commit is contained in:
parent
3c6a0f3217
commit
491a9c630b
1 changed files with 9 additions and 0 deletions
9
lua/plugins/extend-treesitter.lua
Normal file
9
lua/plugins/extend-treesitter.lua
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
return {
|
||||||
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
opts = function(_, opts)
|
||||||
|
-- add parsers, without replacing the default ones
|
||||||
|
vim.list_extend(opts.ensure_installed, {
|
||||||
|
"java",
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue