Closed PHSix closed 1 month ago
What's your > echo $LANG
? In coc.nvim the locale could be read from env variable: https://github.com/neoclide/coc.nvim/blob/33d0a5233cf68e6f54a78e3c3c20958c96f3e4cc/src/language-client/utils/index.ts#L7-L11
That may be not in one of the valid locale values for tsserver: https://github.com/yioneko/vtsls/blob/d180d88c7a85b7d6aa53b11c278ecb736e186167/packages/service/configuration.schema.json#L601-L612
You can try to manually set the config option typescript.locale
to any listed value above.
What's your
> echo $LANG
? In coc.nvim the locale could be read from env variable: https://github.com/neoclide/coc.nvim/blob/33d0a5233cf68e6f54a78e3c3c20958c96f3e4cc/src/language-client/utils/index.ts#L7-L11 That may be not in one of the valid locale values for tsserver:You can try to manually set the config option
typescript.locale
to any listed value above.
right. Thanks for the answer. My LANG
is zh_CN.UTF-8
.This should be the problem with reporting errors.
HI! I was trying to migrate vtsls to coc.nvim to use as a plugin to replace coc-tsserver (because it was making me lag in large projects) when I had some problems with the migration, it was getting information from typescript but I didn't know how to fix it, here is the log of it:
Here is my extension source code:
And I've found the same problem when dealing with documentSymbols requests.