mirror of
https://github.com/sadan4/nvim.git
synced 2025-06-08 12:53:02 -04:00
things
This commit is contained in:
parent
ddf45b4e55
commit
1e120b1eb6
16 changed files with 604 additions and 130 deletions
17
lua/vencord.lua
Normal file
17
lua/vencord.lua
Normal file
|
@ -0,0 +1,17 @@
|
|||
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{}
|
Loading…
Add table
Add a link
Reference in a new issue