Bundles the Ace editor from ace-builds ref build commit: https://github.com/ajaxorg/ace-builds/tree/a6c99a08252c1e6f0dfb61c29bc20b79d9324143 closes #166 and #167
11 lines
345 B
Lua
11 lines
345 B
Lua
-- HACK: this should theorically not be needed since the lsp should read from the pyproject
|
|
-- tried: ruff-lsp or basedpyright
|
|
|
|
local comfyRoot = vim.fn.expand("%:p:h:h:h")
|
|
|
|
if not vim.env.PYTHONPATH or vim.env.PYTHONPATH == "" then
|
|
vim.env.PYTHONPATH = comfyRoot
|
|
else
|
|
vim.env.PYTHONPATH = vim.env.PYTHONPATH .. ";" .. comfyRoot
|
|
end
|