Skip to content

Commit 52240c3

Browse files
authored
@ should not be escaped (#1403)
* @ should not be escaped * fix order
1 parent 5c1df0c commit 52240c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/lsp/utils.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function! s:encode_uri(path, start_pos_encode, default_prefix) abort
8181

8282
for l:i in range(a:start_pos_encode, len(l:path) - 1)
8383
" Don't encode '/' here, `path` is expected to be a valid path.
84-
if l:path[l:i] =~# '^[a-zA-Z0-9_.~/-]$'
84+
if l:path[l:i] =~# '^[a-zA-Z0-9_.~/@-]$'
8585
let l:result .= l:path[l:i]
8686
else
8787
let l:result .= s:urlencode_char(l:path[l:i])

0 commit comments

Comments
 (0)