From 65d582dd7367fd79bf263b283edc53b240b7b5d1 Mon Sep 17 00:00:00 2001 From: sevi-kun Date: Tue, 28 Apr 2026 09:14:53 +0200 Subject: [PATCH] Remove Treesitter --- after/plugin/lsp.lua | 22 ---------------------- after/plugin/treesitter.lua | 32 -------------------------------- lua/sevi-kun/plugins.lua | 25 +------------------------ 3 files changed, 1 insertion(+), 78 deletions(-) delete mode 100644 after/plugin/lsp.lua delete mode 100644 after/plugin/treesitter.lua diff --git a/after/plugin/lsp.lua b/after/plugin/lsp.lua deleted file mode 100644 index d144bf6..0000000 --- a/after/plugin/lsp.lua +++ /dev/null @@ -1,22 +0,0 @@ -local lsp_zero = require("lsp-zero") - -lsp_zero.on_attach(function(client, bufnr) - -- see :help lsp-zero-keybindings - -- to learn the available actions - lsp_zero.default_keymaps({buffer = bufnr}) -end) - -require("mason").setup({}) -require("mason-lspconfig").setup({ - ensure_installed = {}, - handlers = { - lsp_zero.default_setup, - }, -}) - - -local codeium = require("codeium") -codeium.setup({ - enable_chat = true, -}) - diff --git a/after/plugin/treesitter.lua b/after/plugin/treesitter.lua deleted file mode 100644 index d84675c..0000000 --- a/after/plugin/treesitter.lua +++ /dev/null @@ -1,32 +0,0 @@ --- parsing and highlighting -require"nvim-treesitter.configs".setup { - -- A list of parser names, or "all" (the five listed parsers should always be installed) - - ensure_installed = "all", - -- 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 = true, - - - incremental_selection = { - enable = true, - keymaps = { - init_selection = "gnn", - node_incremental = "grn", - scope_incremental = "grc", - node_decremental = "grm", - }, - }, - - highlight = { - enable = true, - }, - - -- Needed because treesitter highlight turns off autoindent for php files - indent = { - enable = true, - }, -} diff --git a/lua/sevi-kun/plugins.lua b/lua/sevi-kun/plugins.lua index 22af5ac..24af2c7 100644 --- a/lua/sevi-kun/plugins.lua +++ b/lua/sevi-kun/plugins.lua @@ -1,14 +1,6 @@ -- lazy.nvim plugins return { - -- treesitter - { "nvim-treesitter/nvim-treesitter", - build = ":TSUpdate" - }, - { "nvim-treesitter/playground" }, - { "nvim-treesitter/nvim-treesitter-context" }, - - -- useful --{ dir = "/mnt/nas_belar/code/vim-plugins/narrator.nvim" }, @@ -29,13 +21,9 @@ return { { "ThePrimeagen/refactoring.nvim", dependencies = { - "nvim-lua/plenary.nvim", - "nvim-treesitter/nvim-treesitter", + "lewis6991/async.nvim", }, lazy = false, - config = function() - require("refactoring").setup() - end, }, { "NeogitOrg/neogit", @@ -169,21 +157,10 @@ return { }, -- lsp - - { "Exafunction/codeium.nvim", - dependencies = { - "nvim-lua/plenary.nvim", - "hrsh7th/nvim-cmp", - }, - }, - - { "neoclide/coc.nvim", branch = "release" }, - - { "williamboman/mason.nvim", config = function() require("mason").setup({})