Skip to content

Commit

Permalink
GeanyLua: Add the 'single' field to 'geany.fileinfo'.
Browse files Browse the repository at this point in the history
  • Loading branch information
Skif-off committed Dec 30, 2024
1 parent 2dd3881 commit 80010b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions geanylua/docs/geanylua-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,7 @@
<tr><td width="5%"></td><td><tt>ext</tt> </td><td> -- The file extension, including the dot, e.g. "<b>.DLL</b>" or "<b>.txt</b>"</td></tr>
<tr><td width="5%"></td><td><tt>type</tt> </td><td> -- A one-word description of the filetype, e.g. "<b>C</b>" or "<b>Python</b>".</td></tr>
<tr><td width="5%"></td><td><tt>desc</tt> </td><td> -- A longer description of the filetype, e.g. "<b>Lua source file</b>" or "<b>Cascading StyleSheet</b>".</td></tr>
<tr><td width="5%"></td><td><tt>single</tt> </td><td> -- The line used for a single-line comment, e.g. "<b class="desc">//</b>".</td></tr>
<tr><td width="5%"></td><td><tt>opener</tt> </td><td> -- The string used to begin a comment, e.g. "<b class="desc">&lt;!--</b>".</td></tr>
<tr><td width="5%"></td><td><tt>closer</tt> </td><td> -- The string used to end a comment, e.g. "<b class="desc">--&gt;</b>".</td></tr>
<tr><td width="5%"></td><td><tt>action</tt> </td><td> -- The action command as executed by the context menu</td></tr>
Expand Down
1 change: 1 addition & 0 deletions geanylua/glspi_doc.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ static gint glspi_fileinfo(lua_State* L)
}
SetTableStr("type", FileTypeStr(name));
SetTableStr("desc", FileTypeStr(title));
SetTableStr("single", FileTypeStr(comment_single));
SetTableStr("opener", FileTypeStr(comment_open));
SetTableStr("closer", FileTypeStr(comment_close));
SetTableStr("action", FileTypeStr(context_action_cmd));
Expand Down

0 comments on commit 80010b2

Please sign in to comment.