mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-01-23 08:55:16 -06:00
add eyeliner, trouble
This commit is contained in:
parent
b25deb86c1
commit
3f57948360
12 changed files with 45 additions and 72 deletions
|
|
@ -73,12 +73,3 @@ vim.diagnostic.config {
|
|||
prefix = '',
|
||||
},
|
||||
}
|
||||
|
||||
vim.keymap.set('n', '<space>ee', function()
|
||||
local _, winid = vim.diagnostic.open_float(nil, { scope = 'line' })
|
||||
if not winid then
|
||||
vim.notify('no diagnostics found', vim.log.levels.INFO)
|
||||
return
|
||||
end
|
||||
vim.api.nvim_win_set_config(winid or 0, { focusable = true })
|
||||
end, { noremap = true, silent = true, desc = 'diagnostics floating window' })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue