Skip to content

Commit e73d5bc

Browse files
committed
escape ' in '...'
1 parent 9ef368c commit e73d5bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/clang_format.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function! s:create_keyvals(key, val) abort
5050
elseif type(a:val) == s:list_t
5151
return a:key . ': [' . join(a:val,',') . ']'
5252
else
53-
return a:key . ': ''' . a:val . ''''
53+
return a:key . ': ''' . escape(a:val, '''') . ''''
5454
endif
5555
endfunction
5656

0 commit comments

Comments
 (0)