Skip to content

Commit

Permalink
Fix vint diagnostic
Browse files Browse the repository at this point in the history
Prefer single quoted strings for consistency
  • Loading branch information
natebosch committed Mar 25, 2023
1 parent d0b53d4 commit 743be37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/lsc/uri.vim
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function! s:EncodePath(value) abort
" shamelessly taken from Mr. T. Pope and adapted:
" (https://github.com/tpope/vim-unimpaired/blob/master/plugin/unimpaired.vim#L461)
" This follows the VIM License over at https://github.com/vim/vim/blob/master/LICENSE
return substitute(iconv(a:value, "latin-1", 'utf-8'),
return substitute(iconv(a:value, 'latin-1', 'utf-8'),
\ '[^a-zA-Z0-9-_.~/]',
\ '\=s:EncodeChar(submatch(0))', 'g')
endfunction
Expand Down

0 comments on commit 743be37

Please sign in to comment.