nvim: replace lspsaga with lsp_signature
This commit is contained in:
@@ -36,6 +36,14 @@ local on_attach = function(client, bufnr)
|
||||
buf_set_keymap('n', ']d', '<cmd>lua vim.lsp.diagnostic.goto_next()<CR>', opts)
|
||||
buf_set_keymap('n', '<space>q', '<cmd>lua vim.lsp.diagnostic.set_loclist()<CR>', opts)
|
||||
buf_set_keymap("n", "<space>f", "<cmd>lua vim.lsp.buf.formatting()<CR>", opts)
|
||||
|
||||
require('lsp_signature').on_attach({
|
||||
bind = true,
|
||||
handler_opts = {
|
||||
border = "single",
|
||||
}
|
||||
}, bufnr)
|
||||
|
||||
end
|
||||
|
||||
vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(
|
||||
|
||||
Reference in New Issue
Block a user