From cebd88697dc68ef260185ca1906a84cc55e627d7 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 30 Oct 2014 15:46:43 -0400 Subject: Added `LINUX` and `BSD` platform flags for the sake of completeness. Previously, Linux was inferred from the expression `not WIN32 and not OSX`. --- core/init.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'core') 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][]. -- cgit v1.2.3