update telescope and treesitter plugins to follow current development
authorLukas Hägele <lukas.haegele93@web.de>
Sun, 4 Oct 2026 13:26:00 +0000 (15:26 +0200)
committerLukas Hägele <lukas.haegele93@web.de>
Sun, 4 Oct 2026 13:26:00 +0000 (15:26 +0200)
lua/config/plugins/telescope.lua
lua/config/plugins/treesitter.lua

index 5f48177b681821d869392371ef6e224847882ed1..786c3c50e3a40a5de727379f23fe9c91c313226e 100644 (file)
@@ -6,7 +6,7 @@ end
 
 return {
   'nvim-telescope/telescope.nvim',
-  tag = '0.1.8',
+  version = '*',
   dependencies = {
     'nvim-lua/plenary.nvim',
     { 'nvim-telescope/telescope-fzf-native.nvim', build = build }
index 8f18b8df982816b74b3be19e7205cf12f1c76eaa..a508e689d66c48522ae8a6d7aedd23d53c96a964 100644 (file)
@@ -1,29 +1,8 @@
 return {
   {
-    "nvim-treesitter/nvim-treesitter", 
-    branch = 'master', 
-    lazy = false, 
+    "nvim-treesitter/nvim-treesitter",
+    lazy = false,
     build = ":TSUpdate",
-    config = function()
-      require'nvim-treesitter.configs'.setup {
-       -- A list of parser names, or "all" (the listed parsers MUST always be installed)
-       ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "markdown", "markdown_inline" },
-       auto_install = false,
-       ignore_install = { "javascript" },
-       highlight = {
-         enable = true,
-         -- disable slow treesitter highlight for large files
-         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,
-       },
-      }
-    end
   }
 }