diff --git a/lua/init-lsp.lua b/lua/init-lsp.lua index 63c250a..ec2ff6f 100644 --- a/lua/init-lsp.lua +++ b/lua/init-lsp.lua @@ -58,8 +58,8 @@ local on_attach = function(client, bufnr) -- Mappings. local opts = { noremap=true, silent=true } -- See `:help vim.lsp.*` for documentation on any of the below functions - buf_set_keymap('n', '[d', 'lua vim.diagnostic.goto_prev({float = false})', opts) - buf_set_keymap('n', ']d', 'lua vim.diagnostic.goto_next({float = false})', opts) + buf_set_keymap('n', '[d', 'lua vim.diagnostic.goto_prev({float = {...}})', opts) + buf_set_keymap('n', ']d', 'lua vim.diagnostic.goto_next({float = {...}})', opts) buf_set_keymap('n', 'gd', 'lua vim.lsp.buf.definition()', opts) buf_set_keymap('n', 'gD', 'lua vim.lsp.buf.declaration()', opts) buf_set_keymap('n', 'gi', 'lua vim.lsp.buf.implementation()', opts)