diff options
| author | christianchiarulli <chrisatmachine@gmail.com> | 2022-01-02 15:13:39 -0500 |
|---|---|---|
| committer | christianchiarulli <chrisatmachine@gmail.com> | 2022-01-02 15:13:39 -0500 |
| commit | 8309138032f1bcd6eeb9586994994696f4786204 (patch) | |
| tree | 810f91cc9d0e0006bee45039c55295e660f69b36 /lua/user/lsp/handlers.lua | |
| parent | 65466d0b009251f5dfc745abfac9540f2b597eb8 (diff) | |
updates for video
Diffstat (limited to 'lua/user/lsp/handlers.lua')
| -rw-r--r-- | lua/user/lsp/handlers.lua | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lua/user/lsp/handlers.lua b/lua/user/lsp/handlers.lua index 5dfde9b..4868b79 100644 --- a/lua/user/lsp/handlers.lua +++ b/lua/user/lsp/handlers.lua @@ -72,13 +72,7 @@ local function lsp_keymaps(bufnr) -- vim.api.nvim_buf_set_keymap(bufnr, "n", "<leader>ca", "<cmd>lua vim.lsp.buf.code_action()<CR>", opts) -- vim.api.nvim_buf_set_keymap(bufnr, "n", "<leader>f", "<cmd>lua vim.diagnostic.open_float()<CR>", opts) vim.api.nvim_buf_set_keymap(bufnr, "n", "[d", '<cmd>lua vim.diagnostic.goto_prev({ border = "rounded" })<CR>', opts) - vim.api.nvim_buf_set_keymap( - bufnr, - "n", - "gl", - '<cmd>lua vim.diagnostic.open_float()<CR>', - opts - ) + vim.api.nvim_buf_set_keymap(bufnr, "n", "gl", "<cmd>lua vim.diagnostic.open_float()<CR>", opts) vim.api.nvim_buf_set_keymap(bufnr, "n", "]d", '<cmd>lua vim.diagnostic.goto_next({ border = "rounded" })<CR>', opts) vim.api.nvim_buf_set_keymap(bufnr, "n", "<leader>q", "<cmd>lua vim.diagnostic.setloclist()<CR>", opts) vim.cmd [[ command! Format execute 'lua vim.lsp.buf.formatting()' ]] |
