Permalink
Browse files

Fix for Atom

Allows wedit suggestions in Atom using (starbound-)autocomplete-lua.
  • Loading branch information...
Silverfeelin committed Sep 2, 2017
1 parent 0eee256 commit 8f4bc9f52f58bb5439555bcf5aa99516a3fdf238
Showing with 3 additions and 1 deletion.
  1. +3 −1 scripts/wedit/wedit.lua
View
@@ -12,7 +12,9 @@ require "/scripts/wedit/taskManager.lua"
--- WEdit table, variables and functions accessed with 'wedit.' are stored here.
-- Configuration values should be accessed with 'wedit.getUserConfigData(key'.
-- Variables in wedit.user are prioritized over wedit.default.
wedit = wedit or {}
if not wedit then
wedit = {}
end
local cfg = root.assetJson("/scripts/wedit/wedit.config")
function wedit.getConfigData(key)

0 comments on commit 8f4bc9f

Please sign in to comment.