nvim/lua/vencord.lua

18 lines
413 B
Lua
Raw Permalink Normal View History

2024-11-17 22:19:14 -05:00
local lspConfig = require("lspconfig")
local configs = require("lspconfig.configs")
if not configs.vencord then
configs.vencord = {
default_config = {
cmd = { "/home/meyer/dev/ts/vencord-ls/dist/index.js" },
filetypes = { "typescript", "typescriptreact" },
root_dir = function(fname)
return lspConfig.util.find_git_ancestor(fname)
end,
settings = {},
},
}
end
lspConfig.vencord.setup{}