diff --git a/lua/plugins/editor_mine.lua b/lua/plugins/editor_mine.lua index e20327d..0e0442c 100644 --- a/lua/plugins/editor_mine.lua +++ b/lua/plugins/editor_mine.lua @@ -58,15 +58,15 @@ return { require("nvim-tree").setup(opts) end, }, - { - "rmagatti/goto-preview", - event = "VeryLazy", - opts = { - default_mappings = true, - resizing_mappings = true, - }, - config = function(_, opts) - require("goto-preview").setup(opts) - end, - }, + -- { + -- "rmagatti/goto-preview", + -- event = "VeryLazy", + -- opts = { + -- default_mappings = true, + -- resizing_mappings = true, + -- }, + -- config = function(_, opts) + -- require("goto-preview").setup(opts) + -- end, + -- }, } diff --git a/lua/plugins/extras_ruby_mine.lua b/lua/plugins/extras_ruby_mine.lua index 8b55f35..9143642 100644 --- a/lua/plugins/extras_ruby_mine.lua +++ b/lua/plugins/extras_ruby_mine.lua @@ -4,7 +4,7 @@ return { opts = { ensure_installed = { "ruby", - } + }, }, }, { diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua new file mode 100644 index 0000000..a1f5553 --- /dev/null +++ b/lua/plugins/treesitter.lua @@ -0,0 +1,19 @@ +return { + { + "nvim-treesitter/nvim-treesitter", + opts = { + textobjects = { + lsp_interop = { + enable = true, + floating_preview_opts = { + border = 'rounded', + }, + peek_definition_code = { + ["fd"] = "@function.outer", + ["fD"] = "@class.outer", + }, + }, + }, + }, + }, +}