From 3cc759cf82c72ddcac9ab7b6a1baee175bf2f0a7 Mon Sep 17 00:00:00 2001 From: Nate Bosch Date: Sat, 11 Nov 2017 11:17:43 -0800 Subject: [PATCH] URI encode rootUri Fixes remaining issue in #43 --- autoload/lsc/server.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/lsc/server.vim b/autoload/lsc/server.vim index 82f39cd8..ebbad869 100644 --- a/autoload/lsc/server.vim +++ b/autoload/lsc/server.vim @@ -138,7 +138,7 @@ function! s:Start(command) abort let trace_level = 'off' endif let params = {'processId': getpid(), - \ 'rootUri': 'file://'.getcwd(), + \ 'rootUri': lsc#uri#documentUri(getcwd()), \ 'capabilities': s:client_capabilities, \ 'trace': trace_level \}