Moving things into final positions.

This commit is contained in:
Adam Harrison
2021-09-16 15:47:12 -04:00
parent 377ce1cd06
commit 2987554097
6 changed files with 29 additions and 35 deletions
-2
View File
@@ -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)
+1
View File
@@ -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