最萌小汐

Results 339 comments of 最萌小汐

> 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. ![image](https://user-images.githubusercontent.com/5213431/181205950-abf824a6-7342-4382-9567-499961dbbed1.png) Are you using `.` instead of...

> yes, I am passing `.` as the `name`: > > ``` > workspaceFolders = { { > name = ".", > uri = "file://." > } }, > ```...

![image](https://user-images.githubusercontent.com/5213431/181211337-56df9bb2-f7c8-4803-b7aa-d3692ef446e5.png) ![image](https://user-images.githubusercontent.com/5213431/181211366-29545ae0-167e-4997-bf5d-e5a437c0cc42.png) 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.