最萌小汐
最萌小汐
> And if I pass `file://.` as URI, `lua-language-server` reports > > ```lua > workspaceFolders = { { > name = "file://.", > uri = "file://file://." > } }, >...
> I see; that needs to be handled by Neovim then. > > Still, my point about `.` and `/` stands -- if the `name` must be absolute, that should...
I temporarily do compatible treatment, but I still recommend that you implement it in accordance with the specifications. At present, it may be because of good luck, because the function...
> Still, this does not fix my issue, since `.` is still incorrectly treated as `/`, leading to the false error I mentioned.  Are you using `.` instead of...
> yes, I am passing `.` as the `name`: > > ``` > workspaceFolders = { { > name = ".", > uri = "file://." > } }, > ```...
  I did some tests about `file://.` . This uri should be converted to path `/` . In this case I should try to scan your root directory and...
> > This uri should be converted to path `/` > > Why? (Honestly asking! This seems wrong to me...) I don't know, maybe this is an unfarished behavior, because...
用户可以自己定义使用哪个格式化程序,以及针对哪些语言启用格式化,因此应该不需要顾虑。
换行符默认使用 `\n` ,客户端应该会自己再转一次
Dose not support class as the second parameter for now.