summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------3rd/EmmyLuaCodeStyle0
-rw-r--r--script/provider/formatting.lua5
2 files changed, 5 insertions, 0 deletions
diff --git a/3rd/EmmyLuaCodeStyle b/3rd/EmmyLuaCodeStyle
-Subproject 7b94e88206d9a6a1f0281a9338e1b264a810e7e
+Subproject ebcd76a256ad5b36b9645ae89ca17360bafbdc2
diff --git a/script/provider/formatting.lua b/script/provider/formatting.lua
index 58ac6f81..ea94db08 100644
--- a/script/provider/formatting.lua
+++ b/script/provider/formatting.lua
@@ -82,6 +82,11 @@ function m.updateNonStandardSymbols(symbols)
return
end
+ for _, symbol in ipairs(symbols) do
+ if symbol == "//" then
+ codeFormat.set_clike_comments_symbol()
+ end
+ end
codeFormat.set_nonstandard_symbol()
end