1
0
Fork 0
mirror of https://github.com/sadan4/nvim.git synced 2025-02-25 17:48:48 -05:00
nvim/lua/vencord.lua

18 lines
413 B
Lua
Raw 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{}