aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/eval.lua1
-rw-r--r--plugins/exec.lua1
-rw-r--r--plugins/ghmarkdown.lua1
-rw-r--r--plugins/gitstatus.lua1
-rw-r--r--plugins/gofmt.lua1
-rw-r--r--plugins/hidelinenumbers.lua1
-rw-r--r--plugins/hidestatus.lua1
-rw-r--r--plugins/indentguide.lua1
-rw-r--r--plugins/lastproject.lua29
-rw-r--r--plugins/lfautoinsert.lua1
-rwxr-xr-xplugins/linecopypaste.lua1
-rw-r--r--plugins/lineguide.lua1
-rw-r--r--plugins/macmodkeys.lua1
-rw-r--r--plugins/markers.lua1
-rw-r--r--plugins/motiontrail.lua1
15 files changed, 14 insertions, 29 deletions
diff --git a/plugins/eval.lua b/plugins/eval.lua
index 54e08ba..2444454 100644
--- a/plugins/eval.lua
+++ b/plugins/eval.lua
@@ -1,3 +1,4 @@
+-- lite-xl 1.16
local core = require "core"
local command = require "core.command"
diff --git a/plugins/exec.lua b/plugins/exec.lua
index fe87afc..82a94c3 100644
--- a/plugins/exec.lua
+++ b/plugins/exec.lua
@@ -1,3 +1,4 @@
+-- lite-xl 1.16
local core = require "core"
local command = require "core.command"
diff --git a/plugins/ghmarkdown.lua b/plugins/ghmarkdown.lua
index 0f49c02..249e459 100644
--- a/plugins/ghmarkdown.lua
+++ b/plugins/ghmarkdown.lua
@@ -1,3 +1,4 @@
+-- lite-xl 1.16
local core = require "core"
local command = require "core.command"
local keymap = require "core.keymap"
diff --git a/plugins/gitstatus.lua b/plugins/gitstatus.lua
index a58fd0f..849567d 100644
--- a/plugins/gitstatus.lua
+++ b/plugins/gitstatus.lua
@@ -1,3 +1,4 @@
+-- lite-xl 1.16
local core = require "core"
local config = require "core.config"
local style = require "core.style"
diff --git a/plugins/gofmt.lua b/plugins/gofmt.lua
index 11c90b9..b730431 100644
--- a/plugins/gofmt.lua
+++ b/plugins/gofmt.lua
@@ -1,3 +1,4 @@
+-- lite-xl 1.16
local core = require "core"
local command = require "core.command"
local keymap = require "core.keymap"
diff --git a/plugins/hidelinenumbers.lua b/plugins/hidelinenumbers.lua
index 206bd23..7eb496d 100644
--- a/plugins/hidelinenumbers.lua
+++ b/plugins/hidelinenumbers.lua
@@ -1,3 +1,4 @@
+-- lite-xl 1.16
local style = require "core.style"
local DocView = require "core.docview"
diff --git a/plugins/hidestatus.lua b/plugins/hidestatus.lua
index 5c0bb15..9dcc352 100644
--- a/plugins/hidestatus.lua
+++ b/plugins/hidestatus.lua
@@ -1,3 +1,4 @@
+-- lite-xl 1.16
local command = require "core.command"
local StatusView = require "core.statusview"
diff --git a/plugins/indentguide.lua b/plugins/indentguide.lua
index db57f9e..184c37f 100644
--- a/plugins/indentguide.lua
+++ b/plugins/indentguide.lua
@@ -1,3 +1,4 @@
+-- lite-xl 1.16
local style = require "core.style"
local config = require "core.config"
local DocView = require "core.docview"
diff --git a/plugins/lastproject.lua b/plugins/lastproject.lua
deleted file mode 100644
index 5fb23bd..0000000
--- a/plugins/lastproject.lua
+++ /dev/null
@@ -1,29 +0,0 @@
-local core = require "core"
-
-local last_project_filename = EXEDIR .. PATHSEP .. ".lite_last_project"
-
-
--- load last project path
-local fp = io.open(last_project_filename)
-local project_path
-if fp then
- project_path = fp:read("*a")
- fp:close()
-end
-
-
--- save current project path
-local fp = io.open(last_project_filename, "w")
-if nil ~= fp then
- fp:write(system.absolute_path ".")
- fp:close()
-end
-
-
--- restart using last project path if we had no commandline arguments and could
--- find a last-project file
-if #ARGS == 1 and project_path then
- system.exec(string.format("%s %q", EXEFILE, project_path))
- core.quit(true)
-end
-
diff --git a/plugins/lfautoinsert.lua b/plugins/lfautoinsert.lua
index 0ea7b9d..d4792e0 100644
--- a/plugins/lfautoinsert.lua
+++ b/plugins/lfautoinsert.lua
@@ -1,3 +1,4 @@
+-- lite-xl 1.16
local core = require "core"
local command = require "core.command"
local config = require "core.config"
diff --git a/plugins/linecopypaste.lua b/plugins/linecopypaste.lua
index eb6f375..39d18f9 100755
--- a/plugins/linecopypaste.lua
+++ b/plugins/linecopypaste.lua
@@ -1,3 +1,4 @@
+-- lite-xl 1.16
local core = require "core"
local command = require "core.command"
diff --git a/plugins/lineguide.lua b/plugins/lineguide.lua
index 7669c52..b3828bf 100644
--- a/plugins/lineguide.lua
+++ b/plugins/lineguide.lua
@@ -1,3 +1,4 @@
+-- lite-xl 1.16
local config = require "core.config"
local style = require "core.style"
local DocView = require "core.docview"
diff --git a/plugins/macmodkeys.lua b/plugins/macmodkeys.lua
index 69028ab..3f24128 100644
--- a/plugins/macmodkeys.lua
+++ b/plugins/macmodkeys.lua
@@ -1,3 +1,4 @@
+-- lite-xl 1.16
local keymap = require "core.keymap"
local on_key_pressed = keymap.on_key_pressed
diff --git a/plugins/markers.lua b/plugins/markers.lua
index 6e397d7..c4ca9a6 100644
--- a/plugins/markers.lua
+++ b/plugins/markers.lua
@@ -1,3 +1,4 @@
+-- lite-xl 1.16
-- Markers plugin for lite text editor
-- original implementation by Petri Häkkinen
diff --git a/plugins/motiontrail.lua b/plugins/motiontrail.lua
index e688e1b..8074f58 100644
--- a/plugins/motiontrail.lua
+++ b/plugins/motiontrail.lua
@@ -1,3 +1,4 @@
+-- lite-xl 1.16
local core = require "core"
local config = require "core.config"
local style = require "core.style"