plugin linewrapping: added priority
Since the linewrapping plugin modifies some of the DocView line calculation and positioning functions we need to make sure of loading it before other plugins. This way we make sure that plugins that also overwrite and depend on DocView functionality aren't using the original methods without the linewrapping changes, which leads to wrong line and column calculations.
This commit is contained in:
parent
5da7467a5c
commit
de63574b53
|
@ -1,4 +1,4 @@
|
||||||
-- mod-version:3
|
-- mod-version:3 --priority:10
|
||||||
local core = require "core"
|
local core = require "core"
|
||||||
local common = require "core.common"
|
local common = require "core.common"
|
||||||
local DocView = require "core.docview"
|
local DocView = require "core.docview"
|
||||||
|
|
Loading…
Reference in New Issue