From 97af93b2a8ebc89364852e3f63e9fd8cfedaeedf Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Mon, 9 Jun 2025 13:43:45 +0300 Subject: =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=B2=D1=91=D0=BB=20dotfiles?= =?UTF-8?q?=20=D0=BD=D0=B0=20stow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nvim/lua/plugins/treesitter.lua | 53 ----------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 nvim/lua/plugins/treesitter.lua (limited to 'nvim/lua/plugins/treesitter.lua') diff --git a/nvim/lua/plugins/treesitter.lua b/nvim/lua/plugins/treesitter.lua deleted file mode 100644 index 59e9294..0000000 --- a/nvim/lua/plugins/treesitter.lua +++ /dev/null @@ -1,53 +0,0 @@ -return { - "nvim-treesitter/nvim-treesitter", - build = ":TSUpdate", - opts = { - highlight = { - enable = true, - additional_vim_regex_highlighting = false, - }, - ensure_installed = "all", - ignore_install = { "gdhsader", "phpdoc", "org" }, - indent = { enable = true }, - auto_install = true, - sync_install = true, - incremental_selection = { - enable = true, - keymaps = { - init_selection = "", - node_incremental = "", - scope_incremental = false, - node_decremental = "", - }, - }, - textobjects = { - select = { enable = true, lookahead = true }, - move = { - enable = true, - goto_next_start = { ["]f"] = "@function.outer", ["]c"] = "@class.outer", ["]a"] = "@parameter.inner" }, - goto_next_end = { ["]F"] = "@function.outer", ["]C"] = "@class.outer", ["]A"] = "@parameter.inner" }, - goto_previous_start = { - ["[f"] = "@function.outer", - ["[c"] = "@class.outer", - ["[a"] = "@parameter.inner", - }, - goto_previous_end = { ["[F"] = "@function.outer", ["[C"] = "@class.outer", ["[A"] = "@parameter.inner" }, - }, - }, - }, - build = function() - require("nvim-treesitter.install").update({ with_sync = true })() - end, - dependencies = { - { "nvim-treesitter/nvim-treesitter-textobjects" }, - { - "nvim-treesitter/nvim-treesitter-context", - opts = { - enable = true, - mode = "topline", - line_numbers = true, - }, - }, - { "windwp/nvim-ts-autotag" }, - }, -} -- cgit v1.2.3