From dd53ed5338fc8dd549c3594b226a16e92c18ae38 Mon Sep 17 00:00:00 2001 From: talksik Date: Wed, 19 Mar 2025 16:00:44 -0700 Subject: [PATCH] adding in neogen doxygen comments & fixing which-key config warnings --- .DS_Store | Bin 0 -> 6148 bytes init.lua | 20 +++++++++++++------- lua/custom/plugins/init.lua | 8 +++++++- 3 files changed, 20 insertions(+), 8 deletions(-) create mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..c16020005b0c55bf48f666db3905c56dbe09e3e1 GIT binary patch literal 6148 zcmeHK!AiqG5S>jUr0AhXFG7yuLFgaE67NF&0BuuhAt623d;9}GMG${MJo+8}gW#K; zq1`3wQHspK?Ay%j}x zW7hOwmkBu+*Y6L{!l`vlyJPHUBR;>s!B^9UZezYv-u0RZ`G%{2&)0=~{cOy4#m{GE z3YY?>z`iPgGn*|t6tvM4Fa=D3tpfag$l;8IVkhW79T`JppB-0DG)0#kjoLD|Cc}a z|8bFBnF6N3zf!=Z<+PmOk@RfsJsh94Is69B#_Kx4Z3!m+D8^boijU#m5YKr6EEGFI RL}2zK;AODE6!=pGz5uS~UFiS- literal 0 HcmV?d00001 diff --git a/init.lua b/init.lua index 2decdc3..91b8532 100644 --- a/init.lua +++ b/init.lua @@ -190,6 +190,12 @@ vim.keymap.set('x', 'p', [["_dP]]) -- This is going to get me cancelled vim.keymap.set('i', '', '') +vim.api.nvim_create_user_command('StopLSP', function() + vim.lsp.stop_client(vim.lsp.get_clients(), true) + + print("Stopped all LSP clients") +end, {}) + -- Exit terminal mode in the builtin terminal with a shortcut that is a bit easier -- for people to discover. Otherwise, you normally need to press , which -- is not what someone will guess without a bit more experience. @@ -309,13 +315,13 @@ require('lazy').setup({ require('which-key').setup() -- Document existing key chains - require('which-key').register { - ['c'] = { name = '[C]ode', _ = 'which_key_ignore' }, - ['d'] = { name = '[D]ocument', _ = 'which_key_ignore' }, - ['r'] = { name = '[R]ename', _ = 'which_key_ignore' }, - ['s'] = { name = '[S]earch', _ = 'which_key_ignore' }, - ['w'] = { name = '[W]orkspace', _ = 'which_key_ignore' }, - } + require('which-key').add({ + { 'c', group = '[C]ode', _ = 'which_key_ignore' }, + { 'd', group = '[D]ocument', _ = 'which_key_ignore' }, + { 'r', group = '[R]ename', _ = 'which_key_ignore' }, + { 's', group = '[S]earch', _ = 'which_key_ignore' }, + { 'w', group = '[W]orkspace', _ = 'which_key_ignore' }, + }) end, }, diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index 5ba721d..46b3497 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -108,7 +108,13 @@ return { 'akinsho/flutter-tools.nvim', requires = { 'nvim-lua/plenary.nvim', - 'stevearc/dressing.nvim', -- optional for vim.ui.select + 'stevearc/dressing.nvim', -- optional for vim.ui.select }, + }, + { + "danymat/neogen", + config = true, + -- Uncomment next line if you want to follow only stable versions + version = "*" } }