diff --git a/lua/config/options.lua b/lua/config/options.lua index 3ea1454..61868b7 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -1,3 +1,4 @@ -- Options are automatically loaded before lazy.nvim startup -- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua -- Add any additional options here +vim.g.lazyvim_ruby_lsp = "solargraph" diff --git a/lua/plugins/avante.lua b/lua/plugins/avante.lua index a45f08f..6225677 100644 --- a/lua/plugins/avante.lua +++ b/lua/plugins/avante.lua @@ -88,7 +88,10 @@ return { __inherited_from = "openai", api_key_name = "", endpoint = "http://127.0.0.1:11434/v1", - model = "codellama:7b", + -- model = "codellama:7b", + -- model = "qwen2.5-coder:7b", + -- model = "deepseek-r1:7b", + model = "codeqwen:7b", }, } end diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index 1c089e0..7e18091 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -11,6 +11,9 @@ return { tailwindcss = { root_dir = require("lspconfig").util.root_pattern("tailwind.config.js", "tailwind.config.ts"), }, + solargraph = { + root_dir = require("lspconfig.util").root_pattern(".git", "Gemfile", ".solargraph.yml"), + }, }, }, },