mattn / vim-lsp-settings

Auto configurations for Language Server for vim-lsp
MIT License
1.29k stars 231 forks source link

Escape the buffer path for whitespace in path #660

Closed lkebin closed 1 year ago

lkebin commented 1 year ago

When my project path includes whitespace (/home/kb/Hello World/), the blocklist works unexpectedly.

mattn commented 1 year ago

I think lsp#utils#find_nearest_parent_file_directory should be fixed.

lkebin commented 1 year ago

I think lsp#utils#find_nearest_parent_file_directory should be fixed.

I have created a PR to fix this function from vim-lsp repo (prabirshrestha/vim-lsp#1444). I'm not sure whether it caused the downstream plugin error.

If the downstream plugin using fnameescape, will have twice escape operation, may not work as expected.

mattn commented 1 year ago

Closed by https://github.com/prabirshrestha/vim-lsp/pull/1444