191030.2.1.3 · ab639e1b7412fa09f5302cf3cfcfbabef883cf6b
EditorConfig: Lua
Enforce consistent code styles for all Lua files (.lua, .lang, .theme):
* Indent: 2 spaces.
* Trim trailing whitespace.
* Insert final new line.
* UTF-8 encoding.
Manually fix all scripts that didn't pass EClint validation (256 files).
reading declarations
Changes to langDefs/erb.lang. All files
@@ -12,7 +12,7 @@ Keywords={ Strings={ Delimiter=[["]],- Escape=[[\A(?!x)x]] + Escape=[[\A(?!x)x]] -- see http://stackoverflow.com/questions/1723182/a-regex-that-will-never-be-matched-by-anything } @@ -34,9 +34,9 @@ IgnoreCase=true function OnStateChange(oldState, newState, token, groupID) - if token=="%>" and newState==HL_EMBEDDED_CODE_END and oldState==HL_BLOCK_COMMENT then- return HL_BLOCK_COMMENT_END- end- - return newState+ if token=="%>" and newState==HL_EMBEDDED_CODE_END and oldState==HL_BLOCK_COMMENT then+ return HL_BLOCK_COMMENT_END+ end++ return newState end