old configuration
This commit is contained in:
16
lua/plugins/treesitter.lua
Normal file
16
lua/plugins/treesitter.lua
Normal file
@@ -0,0 +1,16 @@
|
||||
-- Treesitter plugin.
|
||||
return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = ":TSUpdate",
|
||||
config = function()
|
||||
-- Initialise treesitter and set it up and stuff.
|
||||
-- Go to `https://github.com/nvim-treesitter/nvim-treesitter` to find languages.
|
||||
local config = require("nvim-treesitter.configs")
|
||||
config.setup({
|
||||
auto_install = true,
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true },
|
||||
})
|
||||
end
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user