From b705d991c26102a5f3ae8fddf1b07217d83adb49 Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Fri, 24 May 2024 10:25:52 +0200 Subject: [PATCH 01/25] Add custom signs for diagnostics --- init.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/init.lua b/init.lua index 4eae8e7d95a..029b6eb3da9 100644 --- a/init.lua +++ b/init.lua @@ -163,6 +163,12 @@ vim.opt.scrolloff = 10 -- See `:help hlsearch` vim.keymap.set('n', '', 'nohlsearch') +-- Redefined signs for diagnostics +vim.fn.sign_define('DiagnosticSignError', { text = '', texthl = 'DiagnosticSignError', numhl = 'DiagnosticSignError' }) +vim.fn.sign_define('DiagnosticSignWarn', { text = '', texthl = 'DiagnosticSignWarn', numhl = 'DiagnosticSignWarn' }) +vim.fn.sign_define('DiagnosticSignHint', { text = '', texthl = 'DiagnosticSignHint', numhl = 'DiagnosticSignHint' }) +vim.fn.sign_define('DiagnosticSignInfo', { text = '', texthl = 'DiagnosticSignInfo', numhl = 'DiagnosticSignInfo' }) + -- Diagnostic keymaps vim.keymap.set('n', 'q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' }) From 482e301abad5c0ae44b930e6799c516aa6485d47 Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Fri, 24 May 2024 10:27:58 +0200 Subject: [PATCH 02/25] Deactivate mini.surround --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 029b6eb3da9..54e6836dd71 100644 --- a/init.lua +++ b/init.lua @@ -881,7 +881,7 @@ require('lazy').setup({ -- - saiw) - [S]urround [A]dd [I]nner [W]ord [)]Paren -- - sd' - [S]urround [D]elete [']quotes -- - sr)' - [S]urround [R]eplace [)] ['] - require('mini.surround').setup() + -- require('mini.surround').setup() -- Simple and easy statusline. -- You could remove this setup call if you don't like it, From 8a11022330d608c34456bf34a99cc7bb387be3dd Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Fri, 24 May 2024 10:30:54 +0200 Subject: [PATCH 03/25] Add tpope plugins with default config --- init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.lua b/init.lua index 54e6836dd71..a98ce0e095a 100644 --- a/init.lua +++ b/init.lua @@ -235,6 +235,9 @@ vim.opt.rtp:prepend(lazypath) require('lazy').setup({ -- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link). 'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically + 'tpope/vim-rails', -- Rails integration + 'tpope/vim-fugitive', -- Support for :Git command + 'tpope/vim-surround', -- Support for :Git command -- NOTE: Plugins can also be added by using a table, -- with the first argument being the link and the following From bd6b5905909465afe48e6eb6d1863055c2ab5cd6 Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Fri, 24 May 2024 10:38:49 +0200 Subject: [PATCH 04/25] Change leader to ',' --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index a98ce0e095a..252fce9cd51 100644 --- a/init.lua +++ b/init.lua @@ -87,8 +87,8 @@ P.S. You can delete this when you're done too. It's your config now! :) -- Set as the leader key -- See `:help mapleader` -- NOTE: Must happen before plugins are loaded (otherwise wrong leader will be used) -vim.g.mapleader = ' ' -vim.g.maplocalleader = ' ' +vim.g.mapleader = ',' +vim.g.maplocalleader = ',' -- Set to true if you have a Nerd Font installed and selected in the terminal vim.g.have_nerd_font = false From 0037d1b01bd53299c29ef05edc86886d9c2efd9e Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Fri, 24 May 2024 10:39:23 +0200 Subject: [PATCH 05/25] Activate nerd fonts --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 252fce9cd51..6dc3616b6d5 100644 --- a/init.lua +++ b/init.lua @@ -91,7 +91,7 @@ vim.g.mapleader = ',' vim.g.maplocalleader = ',' -- Set to true if you have a Nerd Font installed and selected in the terminal -vim.g.have_nerd_font = false +vim.g.have_nerd_font = true -- [[ Setting options ]] -- See `:help vim.opt` From 48ee2d3d5a84d5d8e11c2ffca77ac7cc39e73e9c Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Fri, 24 May 2024 10:40:52 +0200 Subject: [PATCH 06/25] Activate autopairs --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 6dc3616b6d5..4c718ab5759 100644 --- a/init.lua +++ b/init.lua @@ -943,7 +943,7 @@ require('lazy').setup({ -- require 'kickstart.plugins.debug', -- require 'kickstart.plugins.indent_line', -- require 'kickstart.plugins.lint', - -- require 'kickstart.plugins.autopairs', + require 'kickstart.plugins.autopairs', -- require 'kickstart.plugins.neo-tree', -- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps From 52de3bc7dfe9d3e48926bc70b6856af178150f44 Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Fri, 24 May 2024 10:41:13 +0200 Subject: [PATCH 07/25] Activate gitsigns recommended keymaps --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 4c718ab5759..e14009b9dca 100644 --- a/init.lua +++ b/init.lua @@ -945,7 +945,7 @@ require('lazy').setup({ -- require 'kickstart.plugins.lint', require 'kickstart.plugins.autopairs', -- require 'kickstart.plugins.neo-tree', - -- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps + require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps -- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua` -- This is the easiest way to modularize your config. From 38faede3c14f96edc49049b4611b9edfa66f6c6c Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Fri, 24 May 2024 10:45:01 +0200 Subject: [PATCH 08/25] Remove gitsigns signs override --- init.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/init.lua b/init.lua index e14009b9dca..7531fb3fc02 100644 --- a/init.lua +++ b/init.lua @@ -254,13 +254,13 @@ require('lazy').setup({ { -- Adds git related signs to the gutter, as well as utilities for managing changes 'lewis6991/gitsigns.nvim', opts = { - signs = { - add = { text = '+' }, - change = { text = '~' }, - delete = { text = '_' }, - topdelete = { text = '‾' }, - changedelete = { text = '~' }, - }, + -- signs = { + -- add = { text = '+' }, + -- change = { text = '~' }, + -- delete = { text = '_' }, + -- topdelete = { text = '‾' }, + -- changedelete = { text = '~' }, + -- }, }, }, From 3c1fe791fdfcc94a8978a7916a4584b0cedcab17 Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Fri, 24 May 2024 10:58:35 +0200 Subject: [PATCH 09/25] Add trouble.vim --- init.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 7531fb3fc02..c19407a8e9b 100644 --- a/init.lua +++ b/init.lua @@ -446,7 +446,6 @@ require('lazy').setup({ end, { desc = '[S]earch [N]eovim files' }) end, }, - -- LSP Plugins { -- `lazydev` configures Lua LSP for your Neovim config, runtime and plugins @@ -460,6 +459,14 @@ require('lazy').setup({ }, }, }, + { 'Bilal2453/luvit-meta', lazy = true }, + { -- Permit to display errors and warnings in the quickfix + 'folke/trouble.nvim', + dependencies = { 'nvim-tree/nvim-web-devicons' }, + opts = { + -- your configuration comes here + }, + }, { -- Main LSP Configuration 'neovim/nvim-lspconfig', From a3ae0b715c188ab4eb7283c881c761e94d0fa116 Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Sat, 25 May 2024 12:37:20 +0200 Subject: [PATCH 10/25] Add nvim-dap & nvim-dap-ruby plugins --- init.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/init.lua b/init.lua index c19407a8e9b..8a86d406eb3 100644 --- a/init.lua +++ b/init.lua @@ -460,6 +460,15 @@ require('lazy').setup({ }, }, { 'Bilal2453/luvit-meta', lazy = true }, + { + 'mfussenegger/nvim-dap', + dependencies = { + 'suketa/nvim-dap-ruby', + }, + config = function() + require('dap-ruby').setup() + end, + }, { -- Permit to display errors and warnings in the quickfix 'folke/trouble.nvim', dependencies = { 'nvim-tree/nvim-web-devicons' }, From 17cceefe031cf32d9c8b29b62cc667db91f52d2b Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Thu, 20 Jun 2024 10:35:19 +0200 Subject: [PATCH 11/25] Add gen.nvim using codestral --- init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.lua b/init.lua index 8a86d406eb3..7b9aa126a83 100644 --- a/init.lua +++ b/init.lua @@ -246,6 +246,8 @@ require('lazy').setup({ -- Use `opts = {}` to force a plugin to be loaded. -- + { 'David-Kunz/gen.nvim', opts = { model = 'codestral' } }, + -- Here is a more advanced example where we pass configuration -- options to `gitsigns.nvim`. This is equivalent to the following Lua: -- require('gitsigns').setup({ ... }) From 8dba1f8dbc2ced8242d889a2cf281c187e65e704 Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Thu, 20 Jun 2024 10:38:29 +0200 Subject: [PATCH 12/25] Add platformio plugin --- init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.lua b/init.lua index 7b9aa126a83..16ec62ade99 100644 --- a/init.lua +++ b/init.lua @@ -239,6 +239,8 @@ require('lazy').setup({ 'tpope/vim-fugitive', -- Support for :Git command 'tpope/vim-surround', -- Support for :Git command + 'normen/vim-pio', -- Support for PlatformIO (embedded development) + -- NOTE: Plugins can also be added by using a table, -- with the first argument being the link and the following -- keys can be used to configure plugin behavior/loading/etc. From d4da4aa402ba230ab400c0c0169f3212d1b41e6e Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Thu, 20 Jun 2024 10:38:51 +0200 Subject: [PATCH 13/25] Add more tpope plugins --- init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 16ec62ade99..b9273a4800f 100644 --- a/init.lua +++ b/init.lua @@ -237,7 +237,8 @@ require('lazy').setup({ 'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically 'tpope/vim-rails', -- Rails integration 'tpope/vim-fugitive', -- Support for :Git command - 'tpope/vim-surround', -- Support for :Git command + 'tpope/vim-surround', -- Replace string delimiters + 'tpope/vim-dispatch', -- Support for :Make command 'normen/vim-pio', -- Support for PlatformIO (embedded development) From 64f478a0ec00599ce235f3d11149830d8736458b Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Tue, 16 Jul 2024 15:29:36 +0200 Subject: [PATCH 14/25] Add supermaven --- .gitignore | 1 + init.lua | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.gitignore b/.gitignore index 005b535b606..427eb18c157 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.supermaven tags test.sh .luarc.json diff --git a/init.lua b/init.lua index b9273a4800f..6f09b1b51f0 100644 --- a/init.lua +++ b/init.lua @@ -340,6 +340,12 @@ require('lazy').setup({ }, }, + { + 'supermaven-inc/supermaven-nvim', + config = function() + require('supermaven-nvim').setup {} + end, + }, -- NOTE: Plugins can specify dependencies. -- -- The dependencies are proper plugin specifications as well - anything From 2ffbf2f8c9bdf22c8cafd2d9e386e64d544fe78c Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Wed, 24 Jul 2024 11:07:22 +0200 Subject: [PATCH 15/25] Add supermaven to nvim-cmp --- init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/init.lua b/init.lua index 6f09b1b51f0..99c8ac0082e 100644 --- a/init.lua +++ b/init.lua @@ -869,6 +869,7 @@ require('lazy').setup({ { name = 'nvim_lsp' }, { name = 'luasnip' }, { name = 'path' }, + { name = 'supermaven' }, }, } end, From fcdb824f5288466d6c30f30d8e6865c9b4a2aada Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Wed, 24 Jul 2024 11:07:46 +0200 Subject: [PATCH 16/25] Add neovide config --- init.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/init.lua b/init.lua index 99c8ac0082e..0f153117c71 100644 --- a/init.lua +++ b/init.lua @@ -156,6 +156,13 @@ vim.opt.cursorline = true -- Minimal number of screen lines to keep above and below the cursor. vim.opt.scrolloff = 10 +-- Neovide configuration +if vim.g.neovide then + vim.o.guifont = 'RobotoMono Nerd Font Mono:h10' -- text below applies for VimScript + vim.g.neovide_cursor_antialiasing = true + vim.g.neovide_cursor_vfx_mode = 'railgun' +end + -- [[ Basic Keymaps ]] -- See `:help vim.keymap.set()` From be104d5adc63f2a29917ddcae7c1800bc65954d9 Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Wed, 25 Sep 2024 23:44:48 +0200 Subject: [PATCH 17/25] Add overseer.nvim and html lsp --- init.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/init.lua b/init.lua index 0f153117c71..2f17bbc4832 100644 --- a/init.lua +++ b/init.lua @@ -671,6 +671,7 @@ require('lazy').setup({ -- But for many setups, the LSP (`ts_ls`) will work just fine -- ts_ls = {}, -- + -- html = { filetypes = { 'html', 'eruby' } }, lua_ls = { -- cmd = { ... }, @@ -903,6 +904,15 @@ require('lazy').setup({ -- Highlight todo, notes, etc in comments { 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } }, + -- A task runner and job management plugin for Neovim + { + 'stevearc/overseer.nvim', + opts = {}, + config = function() + require('overseer').setup() + end, + }, + { -- Collection of various small independent plugins/modules 'echasnovski/mini.nvim', config = function() From ff774b41f7b06b76253177ae18ccd30bf544d120 Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Sun, 27 Oct 2024 10:44:17 +0100 Subject: [PATCH 18/25] Add oil.nvim --- init.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/init.lua b/init.lua index 2f17bbc4832..22c6efaef0e 100644 --- a/init.lua +++ b/init.lua @@ -258,6 +258,16 @@ require('lazy').setup({ { 'David-Kunz/gen.nvim', opts = { model = 'codestral' } }, + -- File Explorer + { + 'stevearc/oil.nvim', + ---@module 'oil' + ---@type oil.SetupOpts + opts = {}, + -- Optional dependencies + dependencies = { 'nvim-tree/nvim-web-devicons' }, + }, + -- Here is a more advanced example where we pass configuration -- options to `gitsigns.nvim`. This is equivalent to the following Lua: -- require('gitsigns').setup({ ... }) From 152f1037467afa923b49029c1905cf246bcd7fd9 Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Mon, 16 Dec 2024 13:20:05 +0100 Subject: [PATCH 19/25] Add treewalker --- init.lua | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 22c6efaef0e..8157b39c939 100644 --- a/init.lua +++ b/init.lua @@ -504,6 +504,7 @@ require('lazy').setup({ -- your configuration comes here }, }, + { -- Main LSP Configuration 'neovim/nvim-lspconfig', @@ -986,7 +987,21 @@ require('lazy').setup({ -- - Treesitter + textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects }, - -- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the + -- Treewalker for nvim-treesitter based movements + { + 'aaronik/treewalker.nvim', + opts = { + highlight = true, -- default is false + }, + config = function() + vim.api.nvim_set_keymap('n', '', ':Treewalker Down', { noremap = true }) + vim.api.nvim_set_keymap('n', '', ':Treewalker Up', { noremap = true }) + vim.api.nvim_set_keymap('n', '', ':Treewalker Left', { noremap = true }) + vim.api.nvim_set_keymap('n', '', ':Treewalker Right', { noremap = true }) + end, + }, + + -- The following two comments only work if you have downloaded the kickstart repo, not just copy pasted the -- init.lua. If you want these files, they are in the repository, so you can just download them and -- place them in the correct locations. From 00d92448c217e10e6f833bb064aaff664c2d8acd Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Tue, 28 Jan 2025 10:29:20 +0100 Subject: [PATCH 20/25] Init neo-tree --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 8157b39c939..6f35535f6e8 100644 --- a/init.lua +++ b/init.lua @@ -1014,7 +1014,7 @@ require('lazy').setup({ -- require 'kickstart.plugins.indent_line', -- require 'kickstart.plugins.lint', require 'kickstart.plugins.autopairs', - -- require 'kickstart.plugins.neo-tree', + require 'kickstart.plugins.neo-tree', require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps -- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua` From f7bd0a75e4a194b7ddf9a60b24ddb79fdd4c9e95 Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Thu, 6 Mar 2025 08:39:33 +0100 Subject: [PATCH 21/25] Add cheat.sh support --- init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.lua b/init.lua index 6f35535f6e8..42efdde1f5a 100644 --- a/init.lua +++ b/init.lua @@ -987,6 +987,9 @@ require('lazy').setup({ -- - Treesitter + textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects }, + -- cheat.sh + { 'dbeniamine/cheat.sh-vim' }, + -- Treewalker for nvim-treesitter based movements { 'aaronik/treewalker.nvim', From 4bb4195a0141662298b2cfa890f092e37ceaf3f8 Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Wed, 2 Apr 2025 08:00:44 +0200 Subject: [PATCH 22/25] Add noselect to completion --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 42efdde1f5a..0852edd887d 100644 --- a/init.lua +++ b/init.lua @@ -825,7 +825,7 @@ require('lazy').setup({ luasnip.lsp_expand(args.body) end, }, - completion = { completeopt = 'menu,menuone,noinsert' }, + completion = { completeopt = 'menu,menuone,noinsert,noselect' }, -- For an understanding of why these mappings were -- chosen, you will need to read `:help ins-completion` From e5473d50b1066e318a5ec2988348bde7ff84976b Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Wed, 7 May 2025 12:13:38 +0200 Subject: [PATCH 23/25] Change leader key to space --- init.lua | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 63 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 0852edd887d..13e674639b8 100644 --- a/init.lua +++ b/init.lua @@ -87,8 +87,8 @@ P.S. You can delete this when you're done too. It's your config now! :) -- Set as the leader key -- See `:help mapleader` -- NOTE: Must happen before plugins are loaded (otherwise wrong leader will be used) -vim.g.mapleader = ',' -vim.g.maplocalleader = ',' +vim.g.mapleader = ' ' +vim.g.maplocalleader = ' ' -- Set to true if you have a Nerd Font installed and selected in the terminal vim.g.have_nerd_font = true @@ -915,6 +915,67 @@ require('lazy').setup({ -- Highlight todo, notes, etc in comments { 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } }, + { + 'yetone/avante.nvim', + event = 'VeryLazy', + version = false, -- Never set this value to "*"! Never! + opts = { + -- add any opts here + -- for example + + -- provider = 'openai', + -- openai = { + -- endpoint = 'https://api.openai.com/v1', + -- model = 'gpt-4o', -- your desired model (or use gpt-4o, etc.) + -- timeout = 30000, -- Timeout in milliseconds, increase this for reasoning models + -- temperature = 0, + -- max_tokens = 8192, -- Increase this to include reasoning tokens (for reasoning models) + -- --reasoning_effort = "medium", -- low|medium|high, only used for reasoning models + -- }, + }, + -- if you want to build from source then do `make BUILD_FROM_SOURCE=true` + build = 'make', + -- build = "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false" -- for windows + dependencies = { + 'nvim-treesitter/nvim-treesitter', + 'stevearc/dressing.nvim', + 'nvim-lua/plenary.nvim', + 'MunifTanjim/nui.nvim', + --- The below dependencies are optional, + 'echasnovski/mini.pick', -- for file_selector provider mini.pick + 'nvim-telescope/telescope.nvim', -- for file_selector provider telescope + 'hrsh7th/nvim-cmp', -- autocompletion for avante commands and mentions + 'ibhagwan/fzf-lua', -- for file_selector provider fzf + 'nvim-tree/nvim-web-devicons', -- or echasnovski/mini.icons + 'zbirenbaum/copilot.lua', -- for providers='copilot' + { + -- support for image pasting + 'HakonHarnes/img-clip.nvim', + event = 'VeryLazy', + opts = { + -- recommended settings + default = { + embed_image_as_base64 = false, + prompt_for_file_name = false, + drag_and_drop = { + insert_mode = true, + }, + -- required for Windows users + use_absolute_path = true, + }, + }, + }, + { + -- Make sure to set this up properly if you have lazy=true + 'MeanderingProgrammer/render-markdown.nvim', + opts = { + file_types = { 'markdown', 'Avante' }, + }, + ft = { 'markdown', 'Avante' }, + }, + }, + }, + -- A task runner and job management plugin for Neovim { 'stevearc/overseer.nvim', From fb3514f314576c4b3999ec0a1da4defbf67864c1 Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Mon, 7 Jul 2025 09:41:00 +0200 Subject: [PATCH 24/25] Mason workaround --- init.lua | 64 ++++++++------------------------------------------------ 1 file changed, 9 insertions(+), 55 deletions(-) diff --git a/init.lua b/init.lua index 13e674639b8..4d717658261 100644 --- a/init.lua +++ b/init.lua @@ -727,6 +727,12 @@ require('lazy').setup({ -- by the server configuration above. Useful when disabling -- certain features of an LSP (for example, turning off formatting for ts_ls) server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {}) + if server.server_name == 'solargraph' then + server.cmd = { 'asdf', 'exec', 'solargraph', 'stdio' } + end + if server.server_name == 'ruby-lsp' then + server.cmd = { 'asdf', 'exec', 'ruby-lsp' } + end require('lspconfig')[server_name].setup(server) end, }, @@ -916,63 +922,11 @@ require('lazy').setup({ { 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } }, { - 'yetone/avante.nvim', - event = 'VeryLazy', - version = false, -- Never set this value to "*"! Never! - opts = { - -- add any opts here - -- for example - - -- provider = 'openai', - -- openai = { - -- endpoint = 'https://api.openai.com/v1', - -- model = 'gpt-4o', -- your desired model (or use gpt-4o, etc.) - -- timeout = 30000, -- Timeout in milliseconds, increase this for reasoning models - -- temperature = 0, - -- max_tokens = 8192, -- Increase this to include reasoning tokens (for reasoning models) - -- --reasoning_effort = "medium", -- low|medium|high, only used for reasoning models - -- }, - }, - -- if you want to build from source then do `make BUILD_FROM_SOURCE=true` - build = 'make', - -- build = "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false" -- for windows + 'olimorris/codecompanion.nvim', + opts = {}, dependencies = { - 'nvim-treesitter/nvim-treesitter', - 'stevearc/dressing.nvim', 'nvim-lua/plenary.nvim', - 'MunifTanjim/nui.nvim', - --- The below dependencies are optional, - 'echasnovski/mini.pick', -- for file_selector provider mini.pick - 'nvim-telescope/telescope.nvim', -- for file_selector provider telescope - 'hrsh7th/nvim-cmp', -- autocompletion for avante commands and mentions - 'ibhagwan/fzf-lua', -- for file_selector provider fzf - 'nvim-tree/nvim-web-devicons', -- or echasnovski/mini.icons - 'zbirenbaum/copilot.lua', -- for providers='copilot' - { - -- support for image pasting - 'HakonHarnes/img-clip.nvim', - event = 'VeryLazy', - opts = { - -- recommended settings - default = { - embed_image_as_base64 = false, - prompt_for_file_name = false, - drag_and_drop = { - insert_mode = true, - }, - -- required for Windows users - use_absolute_path = true, - }, - }, - }, - { - -- Make sure to set this up properly if you have lazy=true - 'MeanderingProgrammer/render-markdown.nvim', - opts = { - file_types = { 'markdown', 'Avante' }, - }, - ft = { 'markdown', 'Avante' }, - }, + 'nvim-treesitter/nvim-treesitter', }, }, From 4fffef99360b31c78f4c0d062b06dd117ca0b3c3 Mon Sep 17 00:00:00 2001 From: Alexandre Ignjatovic Date: Thu, 21 Aug 2025 22:01:12 +0200 Subject: [PATCH 25/25] Set lint --- init.lua | 22 +++++++++++++++------- lua/kickstart/plugins/lint.lua | 1 + 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/init.lua b/init.lua index 4d717658261..2ffd7c4c24b 100644 --- a/init.lua +++ b/init.lua @@ -357,12 +357,12 @@ require('lazy').setup({ }, }, - { - 'supermaven-inc/supermaven-nvim', - config = function() - require('supermaven-nvim').setup {} - end, - }, + -- { + -- 'supermaven-inc/supermaven-nvim', + -- config = function() + -- require('supermaven-nvim').setup {} + -- end, + -- }, -- NOTE: Plugins can specify dependencies. -- -- The dependencies are proper plugin specifications as well - anything @@ -928,6 +928,14 @@ require('lazy').setup({ 'nvim-lua/plenary.nvim', 'nvim-treesitter/nvim-treesitter', }, + config = function() + require('codecompanion').setup { + strategies = { + chat = { adapter = 'anthropic' }, + inline = { adapter = 'anthropic' }, + }, + } + end, }, -- A task runner and job management plugin for Neovim @@ -1030,7 +1038,7 @@ require('lazy').setup({ -- -- require 'kickstart.plugins.debug', -- require 'kickstart.plugins.indent_line', - -- require 'kickstart.plugins.lint', + require 'kickstart.plugins.lint', require 'kickstart.plugins.autopairs', require 'kickstart.plugins.neo-tree', require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps diff --git a/lua/kickstart/plugins/lint.lua b/lua/kickstart/plugins/lint.lua index 907c6bf3e31..1d531ff34e5 100644 --- a/lua/kickstart/plugins/lint.lua +++ b/lua/kickstart/plugins/lint.lua @@ -7,6 +7,7 @@ return { local lint = require 'lint' lint.linters_by_ft = { markdown = { 'markdownlint' }, + eruby = { 'erb_lint' }, } -- To allow other plugins to add linters to require('lint').linters_by_ft,