This commit is contained in:
Yaser Alraddadi 2024-10-15 07:23:16 +03:00
parent f47d0854d8
commit 88369e7cd1
No known key found for this signature in database
GPG Key ID: 808212144E6DBE90
2 changed files with 12 additions and 1 deletions

View File

@ -251,7 +251,7 @@ vim.lsp.handlers['textDocument/signatureHelp'] = vim.lsp.with(vim.lsp.handlers['
vim.keymap.set('i', '<C-k>', vim.lsp.buf.signature_help) vim.keymap.set('i', '<C-k>', vim.lsp.buf.signature_help)
-- hide diagnostic -- hide diagnostic
vim.diagnostic.config { virtual_text = false } -- vim.diagnostic.config { virtual_text = false }
-- Enable number in netrw -- Enable number in netrw
vim.g.netrw_bufsettings = 'noma nomod nu rnu nobl nowrap ro' vim.g.netrw_bufsettings = 'noma nomod nu rnu nobl nowrap ro'

View File

@ -0,0 +1,11 @@
return {
{
'dgagn/diagflow.nvim',
-- event = 'LspAttach', This is what I use personnally and it works great
opts = {
placement = 'inline',
scope = 'cursor', -- 'cursor', 'line' this changes the scope, so instead of showing errors under the cursor, it shows errors on the entire line.
inline_padding_left = 3,
},
},
}