del double

This commit is contained in:
Rikuoh Tsujitani 2023-11-07 07:02:53 +09:00
parent a2cdb1be20
commit 9d06ee575c
Signed by: riq0h
GPG key ID: 010F09DEA298C717

View file

@ -334,7 +334,6 @@ local on_attach = function(client, bufnr)
set('n', '<leader>3', '<cmd>lua vim.lsp.buf.code_action()<CR>')
set('n', '<leader>[', '<cmd>lua vim.lsp.diagnostic.goto_prev()<CR>')
set('n', '<leaaer>]', '<cmd>lua vim.lsp.diagnostic.goto_next()<CR>')
set('n', '<leader>4', '<cmd>lua vim.lsp.buf.format {async = true}<CR>')
end
vim.lsp.handlers['textDocument/publishDiagnostics'] = vim.lsp.with(
vim.lsp.diagnostic.on_publish_diagnostics, { virtual_text = false })