[Nvim] Let Lazy handle plugins?

This commit is contained in:
2025-02-07 18:30:55 -08:00
parent cee054498a
commit bbaa20a515
7 changed files with 89 additions and 12 deletions

View File

@@ -0,0 +1,37 @@
return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function ()
local configs = require("nvim-treesitter.configs")
configs.setup({
-- Make sure these are installed
ensure_installed = {
-- Programming languages
"javascript",
"typescript",
"haskell",
"rust",
"lua",
"bash",
-- Config files
"vim",
"hyprlang",
"toml",
"yaml",
"dockerfile",
-- Other
"markdown",
},
-- Use async install
sync_install = false,
-- Install missing parsers when entering a buffer.
auto_install = true,
highlight = { enable = true },
indent = { enable = true },
})
end
}