Compare commits

...

2 Commits

2 changed files with 35 additions and 2 deletions

View File

@ -106,8 +106,8 @@ return {
-- Diagnostic mappings
-- TODO: trouble.nvim mappings instead? https://youtu.be/MuUrCcvE-Yw?t=631
vim.keymap.set('n', '<C-n>', vim.diagnostic.goto_next, { remap = false })
vim.keymap.set('n', '<C-p>', vim.diagnostic.goto_prev, { remap = false })
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 })
-- LSP mappings created when attached to a buffer

View File

@ -1,4 +1,37 @@
local noice = {
'folke/noice.nvim',
dependencies = {
'MunifTanjim/nui.nvim',
},
config = function()
require('noice').setup({
cmdline = {
enable = true,
format = {
cmdline = { icon = ':', title = '' },
search_down = { icon = '/', title = '' },
search_up = { icon = '?', title = '' },
}
},
messages = { enable = false },
popmenu = { enable = false },
notify = { enable = false },
lsp = {
progress = { enable = false },
hover = { enable = false },
signature = { enable = false },
message = { enable = false },
},
})
-- Override highlight groups
vim.cmd [[ highlight NoiceCmdlinePopupBorder guibg=#080808 ]]
vim.cmd [[ highlight link NoiceCmdlinePopupBorder NoiceCmdlinePopupBorderSearch ]]
end
}
return {
-- noice,
{
'tummetott/unimpaired.nvim',
config = function()