Move lsp/diagnostic UI config to separate file
This commit is contained in:
@@ -11,13 +11,6 @@ return {
|
||||
require('trouble').toggle()
|
||||
end, { remap = false })
|
||||
|
||||
vim.diagnostic.config({
|
||||
float = {
|
||||
border = 'rounded', -- Enable rounded border on floats
|
||||
},
|
||||
virtual_text = false, -- Disable trailing virtual text
|
||||
})
|
||||
|
||||
vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { remap = false })
|
||||
vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, { remap = false })
|
||||
vim.keymap.set('n', '<leader>sd', vim.diagnostic.open_float, { remap = false })
|
||||
|
||||
Reference in New Issue
Block a user