mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 04:21:03 +00:00
Merge branch 'main' of github.com:ralphie02/LazyVimRah
This commit is contained in:
commit
3aabf69155
3 changed files with 31 additions and 12 deletions
|
|
@ -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,
|
||||
-- },
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ return {
|
|||
opts = {
|
||||
ensure_installed = {
|
||||
"ruby",
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
|||
19
lua/plugins/treesitter.lua
Normal file
19
lua/plugins/treesitter.lua
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
return {
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = {
|
||||
textobjects = {
|
||||
lsp_interop = {
|
||||
enable = true,
|
||||
floating_preview_opts = {
|
||||
border = 'rounded',
|
||||
},
|
||||
peek_definition_code = {
|
||||
["<leader>fd"] = "@function.outer",
|
||||
["<leader>fD"] = "@class.outer",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue