Compare commits
2 Commits
3daca6d6d8
...
c0ab67d3a4
Author | SHA1 | Date | |
---|---|---|---|
c0ab67d3a4 | |||
a283ab973a |
@ -106,8 +106,8 @@ return {
|
|||||||
|
|
||||||
-- Diagnostic mappings
|
-- Diagnostic mappings
|
||||||
-- TODO: trouble.nvim mappings instead? https://youtu.be/MuUrCcvE-Yw?t=631
|
-- 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', ']d', 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_prev, { remap = false })
|
||||||
vim.keymap.set('n', '<leader>sd', vim.diagnostic.open_float, { remap = false })
|
vim.keymap.set('n', '<leader>sd', vim.diagnostic.open_float, { remap = false })
|
||||||
|
|
||||||
-- LSP mappings created when attached to a buffer
|
-- LSP mappings created when attached to a buffer
|
||||||
|
@ -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 {
|
return {
|
||||||
|
-- noice,
|
||||||
{
|
{
|
||||||
'tummetott/unimpaired.nvim',
|
'tummetott/unimpaired.nvim',
|
||||||
config = function()
|
config = function()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user