initial dotfiles
This commit is contained in:
commit
a11473e308
20 changed files with 2831 additions and 0 deletions
20
nvim/lua/plugins/treesitter.lua
Normal file
20
nvim/lua/plugins/treesitter.lua
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
-- Treesitter: better syntax highlighting and code understanding
|
||||
return {
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = ":TSUpdate",
|
||||
config = function()
|
||||
require("nvim-treesitter.configs").setup({
|
||||
ensure_installed = {
|
||||
"lua", "vim", "vimdoc",
|
||||
"python", "bash",
|
||||
"c_sharp",
|
||||
"json", "yaml", "toml", "markdown",
|
||||
},
|
||||
auto_install = true,
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true },
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue