aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/init.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2014-10-30 15:46:43 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2014-10-30 15:46:43 -0400
commitcebd88697dc68ef260185ca1906a84cc55e627d7 (patch)
tree23f6ed550d268f632b60251546ff72e257b4ae9b /core/init.lua
parent12370fa4e7816a2065f475c3a2dd1912f91d0144 (diff)
Added `LINUX` and `BSD` platform flags for the sake of completeness.
Previously, Linux was inferred from the expression `not WIN32 and not OSX`.
Diffstat (limited to 'core/init.lua')
-rw-r--r--core/init.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/init.lua b/core/init.lua
index ae5f4e62..5b64e86b 100644
--- a/core/init.lua
+++ b/core/init.lua
@@ -50,7 +50,11 @@ end
-- @field WIN32 (bool)
-- Whether or not Textadept is running on Windows.
-- @field OSX (bool)
--- Whether or not Textadept is running on Mac OSX.
+-- Whether or not Textadept is running on Mac OSX as a GUI application.
+-- @field LINUX (bool)
+-- Whether or not Textadept is running on Linux.
+-- @field BSD (bool)
+-- Whether or not Textadept is running on BSD.
-- @field CURSES (bool)
-- Whether or not Textadept is running in the terminal.
-- Curses feature incompatibilities are listed in the [Appendix][].