From c53728ce447471fdebd41ce7bd72a2e02c37bc18 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Mon, 3 Jul 2023 11:55:11 +0200 Subject: small updates --- lua/plugins/treesitter.lua | 20 ++++++++++---------- lua/plugins/vimwiki.lua | 1 + 2 files changed, 11 insertions(+), 10 deletions(-) (limited to 'lua/plugins') diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 3ed20e3..2bead91 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -3,7 +3,7 @@ return { build = ":TSUpdate", dependencies = { "nvim-treesitter/playground", - "nvim-treesitter/nvim-treesitter-refactor", + { "nvim-treesitter/nvim-treesitter-refactor", enabled = false }, "nvim-treesitter/nvim-treesitter-textobjects", }, config = function() @@ -48,15 +48,15 @@ return { node_decremental = "grm", }, }, - refactor = { - highlight_definitions = { enable = true }, - smart_rename = { - enable = false, - keymaps = { - smart_rename = "trr", - }, - }, - }, + -- refactor = { + -- highlight_definitions = { enable = true }, + -- smart_rename = { + -- enable = false, + -- keymaps = { + -- smart_rename = "trr", + -- }, + -- }, + -- }, textobjects = { select = { enable = true, diff --git a/lua/plugins/vimwiki.lua b/lua/plugins/vimwiki.lua index 581cd33..b07e090 100644 --- a/lua/plugins/vimwiki.lua +++ b/lua/plugins/vimwiki.lua @@ -1,6 +1,7 @@ return { "vimwiki/vimwiki", cmd = { "VimwikiIndex" }, + enabled = false, init = function() vim.g.vimwiki_list = {{ path = "/mnt/nas/alpha/wiki", -- cgit v1.2.3