chg: Defined the LspHover in lua as well
This commit is contained in:
parent
45c537c675
commit
ca8f9cb4db
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ vim.g.mapleader = ','
|
|||
vim.g.maplocalleader = ';'
|
||||
|
||||
-- Set K to hover
|
||||
vim.cmd[[command -nargs=+ LspHover lua vim.lsp.buf.hover()]]
|
||||
vim.api.nvim_buf_create_user_command(0, "LspHover", "lua vim.lsp.buf.hover()", {nargs = '+' })
|
||||
vim.opt.keywordprg = ":LspHover"
|
||||
|
||||
-- Use ctrl-[hjkl] to select the active split!
|
||||
|
|
Loading…
Reference in a new issue