Removed extra macros, used PLATFORM. Also removed MACOS, as it's redundant C code that's already encapsulated within PLATFORM.

This commit is contained in:
Adam Harrison
2021-10-02 18:39:03 +02:00
committed by Francesco Abbate
parent 34983668d8
commit 291616df3f
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ keymap.modkeys = {}
keymap.map = {}
keymap.reverse_map = {}
local macos = rawget(_G, "MACOS")
local macos = PLATFORM == "Mac OS X"
-- Thanks to mathewmariani, taken from his lite-macos github repository.
local modkeys_os = require("core.modkeys-" .. (macos and "macos" or "generic"))