mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 12:31:04 +00:00
32 lines
627 B
Lua
32 lines
627 B
Lua
-- bootstrap lazy.nvim, LazyVim and your plugins
|
|
require("config.lazy")
|
|
|
|
-- init.lua
|
|
local lspconfig = require("lspconfig")
|
|
|
|
-- Setup Ruby Language Server
|
|
lspconfig.ruby_ls.setup({
|
|
cmd = { "ruby-lsp" },
|
|
filetypes = { "ruby" },
|
|
settings = {
|
|
ruby = {
|
|
diagnostics = true,
|
|
completion = true,
|
|
},
|
|
},
|
|
})
|
|
|
|
-- Setup Solargraph
|
|
lspconfig.solargraph.setup({
|
|
cmd = { "solargraph", "stdio" },
|
|
filetypes = { "ruby" },
|
|
settings = {
|
|
solargraph = {
|
|
diagnostics = true,
|
|
},
|
|
},
|
|
})
|
|
|
|
-- vim.defer_fn(function()
|
|
-- vim.cmd([[highlight Comment guifg=#222436 guibg=#5c5e77 gui=italic]])
|
|
-- end, 100)
|