mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 05:48:17 +00:00
lint
This commit is contained in:
@@ -423,7 +423,7 @@ format_luav = function(v, indent, opts)
|
||||
if opts.literal_strings then
|
||||
ret = v
|
||||
else
|
||||
quote = opts.dquote_strings and '"' or '\''
|
||||
local quote = opts.dquote_strings and '"' or '\''
|
||||
ret = quote .. tostring(v):gsub(
|
||||
opts.dquote_strings and '["\\]' or '[\'\\]',
|
||||
'\\%0'):gsub(
|
||||
|
Reference in New Issue
Block a user