aboutsummaryrefslogtreecommitdiff
path: root/config/nvim/lua/treesitter_config.lua
diff options
context:
space:
mode:
authorRuben Beltran del Rio <jj@r.bdr.sh>2026-04-19 23:35:38 +0200
committerRuben Beltran del Rio <jj@r.bdr.sh>2026-04-23 14:30:46 +0200
commite60d03ef78cfe7ba5bb0c495f2db38ed45220114 (patch)
tree3d3061828a7c0d4edecc1bed4f160d89bf7277cf /config/nvim/lua/treesitter_config.lua
parent7a08fbfbbe05351d3f6ebb282da31aa38e2ce99f (diff)
Add neorg, update treesiter to 0.12 branch
Diffstat (limited to 'config/nvim/lua/treesitter_config.lua')
-rw-r--r--config/nvim/lua/treesitter_config.lua30
1 files changed, 2 insertions, 28 deletions
diff --git a/config/nvim/lua/treesitter_config.lua b/config/nvim/lua/treesitter_config.lua
index 2502859..70f251f 100644
--- a/config/nvim/lua/treesitter_config.lua
+++ b/config/nvim/lua/treesitter_config.lua
@@ -1,7 +1,4 @@
-require'nvim-treesitter.configs'.setup {
- -- A list of parser names, or "all" (the five listed parsers should always be installed)
- ensure_installed = {
- 'api_notation',
+require('nvim-treesitter').install {
'bash',
'css',
'dart',
@@ -28,28 +25,5 @@ require'nvim-treesitter.configs'.setup {
'toml',
'tsx',
'typescript',
- 'wmap',
'yaml'
- },
-
- sync_install = false,
- auto_install = true,
-
- endwise = {
- enable = true
- },
-
- highlight = {
- enable = true,
-
- disable = function(lang, buf)
- local max_filesize = 100 * 1024 -- 100 KB
- local ok, stats = pcall(vim.loop.fs_stat, vim.api.nvim_buf_get_name(buf))
- if ok and stats and stats.size > max_filesize then
- return true
- end
- end,
-
- additional_vim_regex_highlighting = false,
- },
-}
+ }