You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
my-nvim-lua/after/plugin/remote-lsp.lua

16 lines
395 B
Lua

local present, lspconfig = pcall(require, "lspconfig")
if not present then
return
end
-- local util = lspconfig.util
-- util.on_setup = util.add_hook_before(util.on_setup, function (config)
-- local o_root_dir = config.root_dir
-- config.root_dir = function(fname, bufnr)
-- -- P(fname)
-- local dir = o_root_dir(fname)
-- return "/source"
-- end
-- end)