mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
enc: update config spesifik language java
This commit is contained in:
parent
0c56a139ec
commit
835b1706b2
10 changed files with 144 additions and 74 deletions
23
lua/pcode/plugins/extras/lspsignatur.lua
Normal file
23
lua/pcode/plugins/extras/lspsignatur.lua
Normal file
|
@ -0,0 +1,23 @@
|
|||
return {
|
||||
"ray-x/lsp_signature.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = function()
|
||||
local is_enabled = true
|
||||
return {
|
||||
-- Window mode
|
||||
floating_window = is_enabled, -- Display it as floating window.
|
||||
hi_parameter = "IncSearch", -- Color to highlight floating window.
|
||||
handler_opts = { border = "rounded" }, -- Window style
|
||||
|
||||
-- Hint mode
|
||||
hint_enable = false, -- Display it as hint.
|
||||
hint_prefix = "👈 ",
|
||||
|
||||
-- Additionally, you can use <space>uH to toggle inlay hints.
|
||||
toggle_key_flip_floatwin_setting = is_enabled,
|
||||
}
|
||||
end,
|
||||
config = function(_, opts)
|
||||
require("lsp_signature").setup(opts)
|
||||
end,
|
||||
}
|
13
lua/pcode/plugins/extras/telescopetreesiterinfo.lua
Normal file
13
lua/pcode/plugins/extras/telescopetreesiterinfo.lua
Normal file
|
@ -0,0 +1,13 @@
|
|||
return {
|
||||
"nvim-telescope/telescope.nvim",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"roycrippen4/telescope-treesitter-info.nvim",
|
||||
},
|
||||
config = function()
|
||||
require("telescope").load_extension("treesitter_info")
|
||||
end,
|
||||
keys = {
|
||||
{ "<leader>p", "<cmd>Telescope treesitter_info<cr>", desc = "Treesitter Info" },
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue