diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-07-03 11:55:11 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-07-03 11:55:11 +0200 |
| commit | c53728ce447471fdebd41ce7bd72a2e02c37bc18 (patch) | |
| tree | e49fff920fcc5fff0063785d46302797c7263d21 /lua | |
| parent | 655ea643e768ff19a39985d5a627074e6e7abea1 (diff) | |
| download | nvim-conf-c53728ce447471fdebd41ce7bd72a2e02c37bc18.tar.gz nvim-conf-c53728ce447471fdebd41ce7bd72a2e02c37bc18.zip | |
small updates
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/alpha/lsp/attach.lua | 2 | ||||
| -rw-r--r-- | lua/plugins/treesitter.lua | 20 | ||||
| -rw-r--r-- | lua/plugins/vimwiki.lua | 1 |
3 files changed, 12 insertions, 11 deletions
diff --git a/lua/alpha/lsp/attach.lua b/lua/alpha/lsp/attach.lua index 6b4b0cb..bf5b645 100644 --- a/lua/alpha/lsp/attach.lua +++ b/lua/alpha/lsp/attach.lua @@ -30,7 +30,7 @@ return function(client, bufnr) vim.bo.omnifunc = "v:lua.vim.lsp.omnifunc" if client.server_capabilities.inlayHintProvider then - vim.lsp.buf.inlay_hint(bufnr, true) + vim.lsp.inlay_hint(bufnr, true) end -- Attach any filetype specific options to the client 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", |