<p></p>
<p>In the first, we needs to define a minimum Lua version. Maybe 5.1+?</p>
<p>Because:</p>
<blockquote>
<p>which are undefined unless the user defines them:</p>
</blockquote>
<p><code>floor</code> is valid and defined, see Lua 4.x.x documentation.</p>
<blockquote>
<p>for example, still highlight math.sin but not sin because sin is not defined by default.</p>
</blockquote>
<p>it's not true too: see Lua 4.x.x documentation.</p>
<p>Why did I think and write about Lua 4.x.x? It's simple: I see <code>strlen</code>, <code>strlower</code>, <code>strrep</code>, <code>strsub</code> and other.</p>
<p>P.S. <code>type</code> is a bad example: this is a function from the basic library.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2485#issuecomment-700491275">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ5PELG6IDBMWTH62GLSIGAJFANCNFSM4MRFUPKA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ32LRB3F6XWJEZV34TSIGAJFA5CNFSM4MRFUPKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFHAKMCY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2485#issuecomment-700491275",
"url": "https://github.com/geany/geany/pull/2485#issuecomment-700491275",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>