Open fermifunktion opened 2 years ago
In the file ..\coc-ltex\dist\extension.js
at line 21303
I found a fully qualified path which does not exist:
const linux_dirname = external_node_path_namespaceObject.dirname((0,external_node_url_namespaceObject.fileURLToPath)("file:///home/runner/work/vscode-ltex/vscode-ltex/node_modules/clipboardy/lib/linux.js"));
in line 21416
the same for windows_dirname
:
const windows_dirname = external_node_path_namespaceObject.dirname((0,external_node_url_namespaceObject.fileURLToPath)("file:///home/runner/work/vscode-ltex/vscode-ltex/node_modules/clipboardy/lib/windows.js"));
Maybe these two lines contribute to the error?
after setting const linux_dirname = '~/'
and const windows_dirname = '~/'
coc-ltex starts to download ltex-ls and works properly. Maybe the paths in lines 21303 and 21416 should be rethought...
Can confirm that this fixes the issues also for Windows 10 with neovim 0.7.3.
I've been pulling my hair for the last few hours trying to figure this out. Thank you for the fix. This worked on Vim 8.2 for me.
Describe the bug Using Vim 9.0.392 with Win10/Win11, coc-ltex is not working. I did the install the exact same way as under GNU/Arch Linux, where coc-ltex is working properly.
Steps to reproduce Steps to reproduce the behavior:
vim test.tex
in Win10/Win11.This are an example
.:CocInfo
display the following error message:LTeX configuration just installed ltex via
:CocInstall coc-json coc-tsserver coc-vimtex coc-pyright coc-ltex
in vim...