ruby solargraph lsp (#7)

pull/111/head
Sean Herman 2025-02-04 22:01:15 -05:00 committed by GitHub
parent fe59dc3d3c
commit 01ef12170b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 1 deletions

View File

@ -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"

View File

@ -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

View File

@ -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"),
},
},
},
},