config.nvim

NeoVim config
git clone git://popovic.xyz/nvim.config.git/
Log | Files | Refs

commit 08e0b1d01183f6cade6e29420d46a6e6aecdf115
parent def6bbb739299765e29ddec2b976edf8223ceba6
Author: Milutin Popovic <milutin@popovic.xyz>
Date:   Sun, 12 Apr 2026 14:28:00 +0100

lazy lock

Diffstat:
Dlazy-lock.json | 26--------------------------
Mlua/config/diagnostics.lua | 14+++++---------
2 files changed, 5 insertions(+), 35 deletions(-)

diff --git a/lazy-lock.json b/lazy-lock.json @@ -1,26 +0,0 @@ -{ - "CopilotChat.nvim": { "branch": "main", "commit": "0b3133ffbb470b1616c47170b544d0b9a3bbcf5b" }, - "LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" }, - "blink-copilot": { "branch": "main", "commit": "7ad8209b2f880a2840c94cdcd80ab4dc511d4f39" }, - "blink.cmp": { "branch": "main", "commit": "78336bc89ee5365633bcf754d93df01678b5c08f" }, - "conform.nvim": { "branch": "master", "commit": "086a40dc7ed8242c03be9f47fbcee68699cc2395" }, - "copilot.lua": { "branch": "master", "commit": "ad7e729e9a6348f7da482be0271d452dbc4c8e2c" }, - "fidget.nvim": { "branch": "main", "commit": "889e2e96edef4e144965571d46f7a77bcc4d0ddf" }, - "indent-blankline.nvim": { "branch": "master", "commit": "d28a3f70721c79e3c5f6693057ae929f3d9c0a03" }, - "lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" }, - "mason-lspconfig.nvim": { "branch": "main", "commit": "0a3b42c3e503df87aef6d6513e13148381495c3a" }, - "mason.nvim": { "branch": "main", "commit": "b03fb0f20bc1d43daf558cda981a2be22e73ac42" }, - "nvim-autopairs": { "branch": "master", "commit": "59bce2eef357189c3305e25bc6dd2d138c1683f5" }, - "nvim-highlight-colors": { "branch": "main", "commit": "e2cb22089cc2358b2b995c09578224f142de6039" }, - "nvim-lsp-endhints": { "branch": "main", "commit": "a86e7ca7a92ef003008d7eb5d153c63bcc89f79c" }, - "nvim-lspconfig": { "branch": "master", "commit": "d27cf1d2ad1af19633ecff8b38eac6d5a899f2ff" }, - "nvim-treesitter": { "branch": "main", "commit": "4916d6592ede8c07973490d9322f187e07dfefac" }, - "plenary.nvim": { "branch": "master", "commit": "74b06c6c75e4eeb3108ec01852001636d85a932b" }, - "popup.nvim": { "branch": "master", "commit": "b7404d35d5d3548a82149238289fa71f7f6de4ac" }, - "rose-pine": { "branch": "main", "commit": "9504524e5ed0e326534698f637f9d038ba4cd0ee" }, - "rustaceanvim": { "branch": "master", "commit": "7b8dd7abb9a7f442b356aa03714aefce09610339" }, - "telescope-fzy-native.nvim": { "branch": "master", "commit": "282f069504515eec762ab6d6c89903377252bf5b" }, - "telescope.nvim": { "branch": "master", "commit": "f7c673b8e46e8f233ff581d3624a517d33a7e264" }, - "vim-floaterm": { "branch": "master", "commit": "0ab5eb8135dc884bc543a819ac7033c15e72a76b" }, - "vimtex": { "branch": "master", "commit": "9306903316c3ddd250676b7cf97c84a84c9c8f99" } -} diff --git a/lua/config/diagnostics.lua b/lua/config/diagnostics.lua @@ -13,24 +13,22 @@ vim.api.nvim_set_hl(0, "DiagnosticHintLine", { bg = palette.hint, blend = 10 }) vim.api.nvim_set_hl(0, "DapBreakpointSign", { fg = "#FF0000", bg = nil, bold = true }) vim.fn.sign_define("DapBreakpoint", { - text = "●", -- a large dot; change as desired - texthl = "DapBreakpointSign", -- the highlight group you just defined - linehl = "", -- no full-line highlight - numhl = "", -- no number-column highlight + text = "●", + texthl = "DapBreakpointSign", + linehl = "", + numhl = "", }) local sev = vim.diagnostic.severity vim.diagnostic.config({ - -- keep underline & severity_sort on for quick scanning underline = true, severity_sort = true, - update_in_insert = false, -- less flicker + update_in_insert = false, float = { border = "rounded", source = true, }, - -- keep signs & virtual text, but tune them as you like signs = { text = { [sev.ERROR] = " ", @@ -44,7 +42,6 @@ vim.diagnostic.config({ source = "if_many", prefix = "●", }, - -- NEW in 0.11 — dim whole line linehl = { [sev.ERROR] = "DiagnosticErrorLine", [sev.WARN] = "DiagnosticWarnLine", @@ -53,7 +50,6 @@ vim.diagnostic.config({ }, }) --- diagnostic keymaps local diagnostic_goto = function(next, severity) severity = severity and vim.diagnostic.severity[severity] or nil return function()