Moving things into final positions.
This commit is contained in:
@@ -426,8 +426,6 @@ function core.init()
|
||||
NagView = require "core.nagview"
|
||||
DocView = require "core.docview"
|
||||
Doc = require "core.doc"
|
||||
local PluginTest = require "plugins.sample"
|
||||
print(PluginTest.example)
|
||||
|
||||
if PATHSEP == '\\' then
|
||||
USERDIR = common.normalize_path(USERDIR)
|
||||
|
||||
@@ -22,6 +22,7 @@ package.path = USERDIR .. '/?/init.lua;' .. package.path
|
||||
|
||||
local dynamic_suffix = MACOS and 'lib' or (WINDOWS and 'dll' or 'so')
|
||||
package.cpath = DATADIR .. '/?.' .. dynamic_suffix .. ';' .. package.cpath
|
||||
package.cpath = USERDIR .. '/?.' .. dynamic_suffix .. ';' .. package.cpath
|
||||
package.searchers[3] = function(modname)
|
||||
local s,e = 0
|
||||
repeat
|
||||
|
||||
Reference in New Issue
Block a user