first commit
This commit is contained in:
commit
15e643aa8e
41 changed files with 1623 additions and 0 deletions
26
lua/plugins/nvim-treesitter.lua
Normal file
26
lua/plugins/nvim-treesitter.lua
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
-- Code Tree Support / Syntax Highlighting
|
||||
return {
|
||||
-- https://github.com/nvim-treesitter/nvim-treesitter
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
event = 'VeryLazy',
|
||||
dependencies = {
|
||||
-- https://github.com/nvim-treesitter/nvim-treesitter-textobjects
|
||||
'nvim-treesitter/nvim-treesitter-textobjects',
|
||||
},
|
||||
build = ':TSUpdate',
|
||||
opts = {
|
||||
highlight = {
|
||||
enable = true,
|
||||
},
|
||||
indent = { enable = true },
|
||||
auto_install = true, -- automatically install syntax support when entering new file type buffer
|
||||
ensure_installed = {
|
||||
'lua',
|
||||
},
|
||||
},
|
||||
config = function (_, opts)
|
||||
local configs = require("nvim-treesitter.configs")
|
||||
configs.setup(opts)
|
||||
end
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue