summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/user/plugins/treesitter.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/user/plugins/treesitter.lua')
-rw-r--r--.config/nvim/lua/user/plugins/treesitter.lua24
1 files changed, 0 insertions, 24 deletions
diff --git a/.config/nvim/lua/user/plugins/treesitter.lua b/.config/nvim/lua/user/plugins/treesitter.lua
deleted file mode 100644
index 268e13d..0000000
--- a/.config/nvim/lua/user/plugins/treesitter.lua
+++ /dev/null
@@ -1,24 +0,0 @@
-return {
- 'nvim-treesitter/nvim-treesitter',
- ft = { 'c', 'cpp', 'zig', 'lua', 'rust' },
- build = ':TSUpdate',
- config = function()
- require('nvim-treesitter.configs').setup {
- -- Add languages to be installed here that you want installed for treesitter
- ensure_installed = { 'c', 'cpp', 'lua', 'rust', 'vimdoc', 'vim', 'zig' },
-
- -- Install parsers synchronously (only applied to `ensure_installed`)
- sync_install = false,
-
- -- Automatically install missing parsers when entering buffer
- -- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally
- auto_install = false,
-
- highlight = {
- enable = true,
- disable = function(_, bufnr) return vim.api.nvim_buf_line_count(bufnr) > 10000 end,
- additional_vim_regex_highlighting = false,
- },
- }
- end,
-}