aboutsummaryrefslogtreecommitdiff
path: root/init.lua
AgeCommit message (Collapse)Author
2007-12-03Fixed package precedence bug; init.luamitchell
When Textadept opens a file that is associated with a module, it loads that module to get filetype-specific functionality. When operating in a directory like lexers/ and opening a lexer file, Textadept wants to open the Lua module but mistakenly thinks that the Lua lexer (lua.lua) is the module. This fix gives the module path precedence over the package path.
2007-12-02Fixed command line parameters bug; init.luamitchell
When files are passed by the command line, they are assumed to be relative to Textadept's path. Instead, check if the file has a leading '~/' or '/' indicating an absolute path. If so, do not treat it that way. Otherwise treat it as relative.
2007-10-07Moved key command manager to core.mitchell
2007-09-24Updated documentation.mitchell
2007-08-06Fixed bug with opening files via command line arguments; init.luamitchell
When the path to the Textadept executable is not specified, base_dir is nil. Attempting to concat it with a filename throws an error, so base_dir defaults to the empty string.
2007-08-06Initial import of Textadept Lua init script.mitchell