From fef7a7ef4fa31170ee78dfb774934feb84a88423 Mon Sep 17 00:00:00 2001 From: Denis Chevalier Date: Mon, 3 Aug 2026 21:09:25 +0200 Subject: arch postinstall scripts --- dotfiles/.config/nvim/lua/plugins/treesitter.lua | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 dotfiles/.config/nvim/lua/plugins/treesitter.lua (limited to 'dotfiles/.config/nvim/lua/plugins/treesitter.lua') 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 + }, + }, + }, +} -- cgit