mirror of
https://github.com/sadan4/nvim.git
synced 2025-01-18 03:03:29 -05:00
17 lines
413 B
Lua
17 lines
413 B
Lua
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{}
|