|
|
|
@ -82,9 +82,6 @@ local function lsp_keymaps(bufnr)
|
|
|
|
|
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()' ]]
|
|
|
|
|
vim.cmd [[ hi LspReferenceText cterm=bold gui=bold ]]
|
|
|
|
|
vim.cmd [[ hi LspReferenceRead cterm=bold gui=bold ]]
|
|
|
|
|
vim.cmd [[ hi LspReferenceWrite cterm=bold gui=bold ]]
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
M.on_attach = function(client, bufnr)
|
|
|
|
|