Add treesitter
This commit is contained in:
parent
b149a776b0
commit
a7e970d574
1 changed files with 19 additions and 1 deletions
|
@ -15,10 +15,28 @@ end
|
||||||
vim.opt.rtp:prepend(lazypath)
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
require("lazy").setup({
|
require("lazy").setup({
|
||||||
|
install = {
|
||||||
|
colorscheme = { "gruvbox" }
|
||||||
|
},
|
||||||
|
|
||||||
spec = {
|
spec = {
|
||||||
{ "ellisonleao/gruvbox.nvim", config = function() vim.cmd.colorscheme "gruvbox" end },
|
{ "ellisonleao/gruvbox.nvim", config = function() vim.cmd.colorscheme "gruvbox" end },
|
||||||
|
|
||||||
|
{
|
||||||
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
opts = {
|
||||||
|
ensure_installed = "all",
|
||||||
|
highlight = {
|
||||||
|
enable = true
|
||||||
|
},
|
||||||
|
indent = {
|
||||||
|
enable = true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
main = "nvim-treesitter.configs",
|
||||||
|
build = ":TSUpdate",
|
||||||
|
},
|
||||||
|
|
||||||
{ import = "config.plugins" }
|
{ import = "config.plugins" }
|
||||||
},
|
},
|
||||||
install = { colorscheme = { "gruvbox" } }
|
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue