diff options
| author | pml68 <contact@pml68.me> | 2024-11-29 23:28:27 +0100 |
|---|---|---|
| committer | pml68 <contact@pml68.me> | 2024-11-29 23:28:27 +0100 |
| commit | 82a1c1e251210f4805dec8f6d59a6ab2c6791334 (patch) | |
| tree | c2db695fe2767ff314319a490c833bebd30f99a8 /lua/pml68/plugins/treesitter.lua | |
| parent | feat: remove deprecated API call (diff) | |
| download | nvim-82a1c1e251210f4805dec8f6d59a6ab2c6791334.tar.gz | |
feat: split plugins.lua into manageable "chunks"
Diffstat (limited to 'lua/pml68/plugins/treesitter.lua')
| -rw-r--r-- | lua/pml68/plugins/treesitter.lua | 39 |
1 files changed, 39 insertions, 0 deletions
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 +} |
