starter/lua/plugins/lsp.lua

23 lines
580 B
Lua
Raw Normal View History

return {
{
"neovim/nvim-lspconfig",
opts = {
inlay_hints = { enabled = false },
servers = {
denols = {
root_dir = require("lspconfig").util.root_pattern("deno.json", "deno.jsonc"),
single_file_support = false,
},
tailwindcss = {
root_dir = require("lspconfig").util.root_pattern("tailwind.config.js", "tailwind.config.ts"),
2025-01-24 22:13:56 +08:00
},
2025-03-14 07:10:56 +08:00
rubocop = { enabled = false },
2025-03-05 11:37:26 +08:00
ruby_lsp = {
2025-03-14 07:10:56 +08:00
mason = false,
cmd = { "bundle", "exec", "ruby-lsp" },
2025-02-05 11:01:15 +08:00
},
},
},
},
}