[Nvim] Let Lazy handle plugins?
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user