From 461b45dd0d54f83382f73506520adeeaef703a98 Mon Sep 17 00:00:00 2001 From: dxrkness Date: Mon, 4 May 2026 18:42:23 +0300 Subject: [PATCH] nvim updates + git config update --- git/config | 4 +++- nvim/nvim-pack-lock.json | 4 ++++ nvim/plugin/10_options.lua | 8 ++++---- nvim/plugin/20_keymaps.lua | 1 + nvim/plugin/40_plugins.lua | 8 +++++++- 5 files changed, 19 insertions(+), 6 deletions(-) diff --git a/git/config b/git/config index 1f6e467..3ff0db3 100644 --- a/git/config +++ b/git/config @@ -1,7 +1,7 @@ [user] name = dxrknesss email = imp0rt4ntduck@gmail.com - signingkey = imp0rt4ntduck@gmail.com + signingkey = ~/.ssh/id_ed25519.pub [core] editor = nvim [commit] @@ -12,6 +12,8 @@ version = HTTP/2 [fetch] prune = true +[gpg] + format = ssh [diff] tool = nvimdiff diff --git a/nvim/nvim-pack-lock.json b/nvim/nvim-pack-lock.json index b353d92..ef4c685 100644 --- a/nvim/nvim-pack-lock.json +++ b/nvim/nvim-pack-lock.json @@ -12,6 +12,10 @@ "rev": "be81509b7160aa02264a59789164a2e1c4a6750a", "src": "https://github.com/nvim-mini/mini.nvim" }, + "modus-themes.nvim": { + "rev": "17a64464c27c1be605adca13dbe48f2f402fe107", + "src": "https://github.com/miikanissi/modus-themes.nvim" + }, "nvim-lspconfig": { "rev": "8fde495949782bb61c2605174e231d145a048d8c", "src": "https://github.com/neovim/nvim-lspconfig" diff --git a/nvim/plugin/10_options.lua b/nvim/plugin/10_options.lua index 7bc9cc3..0acde83 100644 --- a/nvim/plugin/10_options.lua +++ b/nvim/plugin/10_options.lua @@ -118,10 +118,10 @@ local diagnostic_opts = { -- Show more details immediately for errors on the current line virtual_lines = true, - virtual_text = { - current_line = true, - severity = { min = 'ERROR', max = 'ERROR' }, - }, + -- virtual_text = { + -- current_line = true, + -- severity = { min = 'ERROR', max = 'ERROR' }, + -- }, -- Don't update diagnostics when typing update_in_insert = false, diff --git a/nvim/plugin/20_keymaps.lua b/nvim/plugin/20_keymaps.lua index 31fdb47..710d2ef 100644 --- a/nvim/plugin/20_keymaps.lua +++ b/nvim/plugin/20_keymaps.lua @@ -152,6 +152,7 @@ nmap_leader('fr', 'Pick resume', 'Resume') nmap_leader('fR', 'Pick lsp scope="references"', 'References (LSP)') nmap_leader('fs', pick_workspace_symbols_live, 'Symbols workspace (live)') nmap_leader('fS', 'Pick lsp scope="document_symbol"', 'Symbols document') +nmap_leader('ft', 'Pick grep pattern="TODO|NOTE|PERF|FIXME"', 'Find TODO comments') nmap_leader('fv', 'Pick visit_paths cwd=""', 'Visit paths (all)') nmap_leader('fV', 'Pick visit_paths', 'Visit paths (cwd)') diff --git a/nvim/plugin/40_plugins.lua b/nvim/plugin/40_plugins.lua index 52b4dbb..46cad83 100644 --- a/nvim/plugin/40_plugins.lua +++ b/nvim/plugin/40_plugins.lua @@ -105,7 +105,8 @@ now_if_args(function() -- Uncomment and tweak the following `vim.lsp.enable()` call to enable servers. vim.lsp.enable({ 'lua_ls', - 'clangd' + 'clangd', + 'ts_ls', -- For example, if `lua-language-server` is installed, use `'lua_ls'` entry }) end) @@ -176,3 +177,8 @@ later(function() add({ 'https://github.com/rafamadriz/friendly-snippets' }) end) -- -- Enable only one -- vim.cmd('color everforest') -- end) +Config.now(function () + add({'https://github.com/miikanissi/modus-themes.nvim'}) +end) +vim.cmd.colorscheme('modus_vivendi') +