@@ -727,6 +727,12 @@ require('lazy').setup({
727727 -- by the server configuration above. Useful when disabling
728728 -- certain features of an LSP (for example, turning off formatting for ts_ls)
729729 server .capabilities = vim .tbl_deep_extend (' force' , {}, capabilities , server .capabilities or {})
730+ if server .server_name == ' solargraph' then
731+ server .cmd = { ' asdf' , ' exec' , ' solargraph' , ' stdio' }
732+ end
733+ if server .server_name == ' ruby-lsp' then
734+ server .cmd = { ' asdf' , ' exec' , ' ruby-lsp' }
735+ end
730736 require (' lspconfig' )[server_name ].setup (server )
731737 end ,
732738 },
@@ -916,63 +922,11 @@ require('lazy').setup({
916922 { ' folke/todo-comments.nvim' , event = ' VimEnter' , dependencies = { ' nvim-lua/plenary.nvim' }, opts = { signs = false } },
917923
918924 {
919- ' yetone/avante.nvim' ,
920- event = ' VeryLazy' ,
921- version = false , -- Never set this value to "*"! Never!
922- opts = {
923- -- add any opts here
924- -- for example
925-
926- -- provider = 'openai',
927- -- openai = {
928- -- endpoint = 'https://api.openai.com/v1',
929- -- model = 'gpt-4o', -- your desired model (or use gpt-4o, etc.)
930- -- timeout = 30000, -- Timeout in milliseconds, increase this for reasoning models
931- -- temperature = 0,
932- -- max_tokens = 8192, -- Increase this to include reasoning tokens (for reasoning models)
933- -- --reasoning_effort = "medium", -- low|medium|high, only used for reasoning models
934- -- },
935- },
936- -- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
937- build = ' make' ,
938- -- build = "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false" -- for windows
925+ ' olimorris/codecompanion.nvim' ,
926+ opts = {},
939927 dependencies = {
940- ' nvim-treesitter/nvim-treesitter' ,
941- ' stevearc/dressing.nvim' ,
942928 ' nvim-lua/plenary.nvim' ,
943- ' MunifTanjim/nui.nvim' ,
944- --- The below dependencies are optional,
945- ' echasnovski/mini.pick' , -- for file_selector provider mini.pick
946- ' nvim-telescope/telescope.nvim' , -- for file_selector provider telescope
947- ' hrsh7th/nvim-cmp' , -- autocompletion for avante commands and mentions
948- ' ibhagwan/fzf-lua' , -- for file_selector provider fzf
949- ' nvim-tree/nvim-web-devicons' , -- or echasnovski/mini.icons
950- ' zbirenbaum/copilot.lua' , -- for providers='copilot'
951- {
952- -- support for image pasting
953- ' HakonHarnes/img-clip.nvim' ,
954- event = ' VeryLazy' ,
955- opts = {
956- -- recommended settings
957- default = {
958- embed_image_as_base64 = false ,
959- prompt_for_file_name = false ,
960- drag_and_drop = {
961- insert_mode = true ,
962- },
963- -- required for Windows users
964- use_absolute_path = true ,
965- },
966- },
967- },
968- {
969- -- Make sure to set this up properly if you have lazy=true
970- ' MeanderingProgrammer/render-markdown.nvim' ,
971- opts = {
972- file_types = { ' markdown' , ' Avante' },
973- },
974- ft = { ' markdown' , ' Avante' },
975- },
929+ ' nvim-treesitter/nvim-treesitter' ,
976930 },
977931 },
978932
0 commit comments