@ 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/outhtml_tooltips.lua. All files

plugins/outhtml_tooltips.lua

@@ -4,32 +4,32 @@ Description="Add HTML tooltips within comments linked to circled numbers (format Categories = {"format", "html", "usability" }  function syntaxUpdate(desc)-  +   ttCnt=0 -- tooltip counter-  +   table.insert( Keywords,-        { Id=102, +        { Id=102,           Regex=[=[\@tip\[.+\]]=],-          Group=0  -        })      -   +          Group=0+        })+   function Decorate(token, state)     if (HL_OUTPUT ~= HL_FORMAT_HTML and HL_OUTPUT ~= HL_FORMAT_XHTML) then       return     end-  +     if (state ~= HL_LINE_COMMENT and state ~= HL_BLOCK_COMMENT) then       return     end-    +     title = string.match(token, "%@tip%[(.+)%]")     if title~=nil then           if ttCnt>19 then ttCnt=0 end           ttCnt = ttCnt + 1       -- use Unicode circle entities 1..20           return '<span style="font-style: normal;" title="' .. title ..'">&#'..(ttCnt + 9311)..';</span>'-    end -        +    end+   end end