@ 261105.1

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 plugins/asciidoc_html_add_links.lua. All files

plugins/asciidoc_html_add_links.lua

@@ -10,9 +10,9 @@ Categories = {"html", "asciidoc", "hyperlinks"} function syntaxUpdate(desc)    if desc~="AsciiDoc" then-     return+    return   end-  +   if (HL_OUTPUT ~= HL_FORMAT_HTML and HL_OUTPUT ~= HL_FORMAT_XHTML) then       return   end@@ -33,12 +33,12 @@ end   function themeUpdate(desc)-  +   if (HL_OUTPUT ~= HL_FORMAT_HTML and HL_OUTPUT ~= HL_FORMAT_XHTML) then-      return+    return   end-   -- inherit formatting of enclosing span tags-   Injections[#Injections+1]="a.hl, a.hl:visited {color:inherit;font-weight:inherit;}"+  -- inherit formatting of enclosing span tags+  Injections[#Injections+1]="a.hl, a.hl:visited {color:inherit;font-weight:inherit;}" end  --The Plugins array assigns code chunks to themes or language definitions.