diff options
| author | Denis Chevalier <perso@denischevalier.fr> | 2026-08-03 21:09:25 +0200 |
|---|---|---|
| committer | Denis Chevalier <perso@denischevalier.fr> | 2026-08-03 21:09:25 +0200 |
| commit | fef7a7ef4fa31170ee78dfb774934feb84a88423 (patch) | |
| tree | e88b5afd2feae6f9755e2ab345e6bca15a567d6a /dotfiles/.config/nvim/lua/plugins/treesitter.lua | |
| download | postinstall-fef7a7ef4fa31170ee78dfb774934feb84a88423.tar.gz postinstall-fef7a7ef4fa31170ee78dfb774934feb84a88423.tar.bz2 postinstall-fef7a7ef4fa31170ee78dfb774934feb84a88423.zip | |
arch postinstall scripts
Diffstat (limited to 'dotfiles/.config/nvim/lua/plugins/treesitter.lua')
| -rw-r--r-- | dotfiles/.config/nvim/lua/plugins/treesitter.lua | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dotfiles/.config/nvim/lua/plugins/treesitter.lua b/dotfiles/.config/nvim/lua/plugins/treesitter.lua new file mode 100644 index 0000000..3a9afe9 --- /dev/null +++ b/dotfiles/.config/nvim/lua/plugins/treesitter.lua @@ -0,0 +1,24 @@ +if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE + +-- Customize Treesitter +-- -------------------- +-- Treesitter customizations are handled with AstroCore +-- as nvim-treesitter simply provides a download utility for parsers + +---@type LazySpec +return { + "AstroNvim/astrocore", + ---@type AstroCoreOpts + opts = { + treesitter = { + highlight = true, -- enable/disable treesitter based highlighting + indent = true, -- enable/disable treesitter based indentation + auto_install = true, -- enable/disable automatic installation of detected languages + ensure_installed = { + "lua", + "vim", + -- add more arguments for adding more treesitter parsers + }, + }, + }, +} |
