mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-12 04:40:37 +00:00
add binds for signature help and hover
This commit is contained in:
parent
56ab8fbb76
commit
26cf67e67c
2 changed files with 7 additions and 3 deletions
|
@ -11,6 +11,10 @@ local function set_keymap()
|
|||
map("n", keys.jump_up_window, "<C-W>k", option)
|
||||
map("n", keys.jump_right_window, "<C-W>l", option)
|
||||
|
||||
-- View documentation and signature details
|
||||
map("n", "K", vim.lsp.buf.hover, option)
|
||||
map({ "n", "i" }, "<C-k>", vim.lsp.buf.signature_help, option)
|
||||
|
||||
vim.cmd [[
|
||||
" press esc to cancel search highlight
|
||||
nnoremap <silent> <Esc> :nohlsearch<CR>:echo<CR>
|
||||
|
|
|
@ -10,10 +10,10 @@ local function strsplit(inputstr, sep)
|
|||
end
|
||||
|
||||
return {
|
||||
file_explorer_title = "🥷 File Explorer",
|
||||
tab_style = "thin", -- options: thin, thick, slope, slant
|
||||
file_explorer_title = "",
|
||||
tab_style = "thick", -- options: thin, thick, slope, slant
|
||||
terminal_size = 0.7, -- control the float terminal only
|
||||
window_transparency = 0,
|
||||
window_transparency = 1,
|
||||
auto_open_outline = false, -- options: true, false
|
||||
cmdline_view = "cmdline", -- options: cmdline, cmdline_popup
|
||||
close_message_notify = false,
|
||||
|
|
Loading…
Reference in a new issue