diff options
author | Francesco Abbate <francesco.bbt@gmail.com> | 2021-04-08 14:23:41 +0200 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2021-04-08 14:23:41 +0200 |
commit | 5ee3f8782bee88fb34181d8e504ada52af7f0879 (patch) | |
tree | 745fc9cf1613e89d4e70e4c82c9f2be50bf2b214 /plugins | |
parent | 5e753c5c4bf5b086f031fa0fbbe5a3b045298ab5 (diff) | |
download | lite-xl-plugins-5ee3f8782bee88fb34181d8e504ada52af7f0879.tar.gz lite-xl-plugins-5ee3f8782bee88fb34181d8e504ada52af7f0879.zip |
Initial verification and plugin tagging
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/autoinsert.lua | 1 | ||||
-rw-r--r-- | plugins/autowrap.lua | 1 | ||||
-rw-r--r-- | plugins/bigclock.lua | 5 | ||||
-rw-r--r-- | plugins/bracketmatch.lua | 1 |
4 files changed, 6 insertions, 2 deletions
diff --git a/plugins/autoinsert.lua b/plugins/autoinsert.lua index 243e00b..2bb0753 100644 --- a/plugins/autoinsert.lua +++ b/plugins/autoinsert.lua @@ -1,3 +1,4 @@ +-- lite-xl 1.16 local core = require "core" local translate = require "core.doc.translate" local config = require "core.config" diff --git a/plugins/autowrap.lua b/plugins/autowrap.lua index 85d4c24..9df59a5 100644 --- a/plugins/autowrap.lua +++ b/plugins/autowrap.lua @@ -1,3 +1,4 @@ +-- lite-xl 1.16 require "plugins.reflow" local config = require "core.config" local command = require "core.command" diff --git a/plugins/bigclock.lua b/plugins/bigclock.lua index e35cdbe..1419e00 100644 --- a/plugins/bigclock.lua +++ b/plugins/bigclock.lua @@ -1,3 +1,4 @@ +-- lite-xl 1.16 local core = require "core" local style = require "core.style" local command = require "core.command" @@ -29,8 +30,8 @@ end function ClockView:update_fonts() local size = math.floor(self.size.x * 0.15 / 15) * 15 * config.bigclock_scale if self.font_size ~= size then - self.time_font = renderer.font.load(EXEDIR .. "/data/fonts/font.ttf", size) - self.date_font = renderer.font.load(EXEDIR .. "/data/fonts/font.ttf", size * 0.3) + self.time_font = renderer.font.load(DATADIR .. "/fonts/font.ttf", size) + self.date_font = renderer.font.load(DATADIR .. "/fonts/font.ttf", size * 0.3) self.font_size = size collectgarbage() end diff --git a/plugins/bracketmatch.lua b/plugins/bracketmatch.lua index 4253de7..9566c02 100644 --- a/plugins/bracketmatch.lua +++ b/plugins/bracketmatch.lua @@ -1,3 +1,4 @@ +-- lite-xl 1.16 local core = require "core" local style = require "core.style" local command = require "core.command" |