From 82a1c1e251210f4805dec8f6d59a6ab2c6791334 Mon Sep 17 00:00:00 2001 From: pml68 Date: Fri, 29 Nov 2024 23:28:27 +0100 Subject: feat: split plugins.lua into manageable "chunks" --- lua/pml68/plugins/treesitter.lua | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 lua/pml68/plugins/treesitter.lua (limited to 'lua/pml68/plugins/treesitter.lua') diff --git a/lua/pml68/plugins/treesitter.lua b/lua/pml68/plugins/treesitter.lua new file mode 100644 index 0000000..3d395ea --- /dev/null +++ b/lua/pml68/plugins/treesitter.lua @@ -0,0 +1,39 @@ +return { + "nvim-treesitter/nvim-treesitter", + event = { "BufReadPost", "BufNewFile" }, + build = ":TSUpdate", + config = function() + require("nvim-treesitter.configs").setup({ + ensure_installed = { + "asm", + "c", + "cpp", + "c_sharp", + "lua", + "kotlin", + "java", + "bash", + "html", + "scss", + "css", + "typescript", + "javascript", + "svelte", + "python", + "rust", + "markdown", + "markdown_inline", + "yaml", + "json", + "glsl", + "make", + "gitignore", + "gitattributes", + "gitcommit", + }, + highlight = { + enable = true + } + }) + end +} -- cgit v1.2.3