aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2021-07-13 10:50:04 -0400
committerAdam Harrison <adamdharrison@gmail.com>2021-08-17 09:52:24 -0400
commitfb647f8f0d972e85ac323b12eb65edf9c56b48cb (patch)
tree168d7e2ff02b537f4a51cad89187c28d3bb4a6a6
parent5ddb6bf265e2f380497e7925600ca44b7f1d75e2 (diff)
downloadlite-xl-plugins-fb647f8f0d972e85ac323b12eb65edf9c56b48cb.tar.gz
lite-xl-plugins-fb647f8f0d972e85ac323b12eb65edf9c56b48cb.zip
Updated all lua plugins to be compatible with 2.0.
-rw-r--r--plugins/autoinsert.lua2
-rw-r--r--plugins/autosave.lua2
-rw-r--r--plugins/autosaveonfocuslost.lua2
-rw-r--r--plugins/autowrap.lua2
-rw-r--r--plugins/bigclock.lua2
-rw-r--r--plugins/bracketmatch.lua2
-rw-r--r--plugins/centerdoc.lua2
-rw-r--r--plugins/colorpreview.lua2
-rw-r--r--plugins/copyfilelocation.lua2
-rw-r--r--plugins/datetimestamps.lua2
-rw-r--r--plugins/dragdropselected.lua2
-rw-r--r--plugins/ephemeraldocviews.lua2
-rw-r--r--plugins/eval.lua2
-rw-r--r--plugins/exec.lua2
-rw-r--r--plugins/ghmarkdown.lua2
-rw-r--r--plugins/gitstatus.lua2
-rw-r--r--plugins/gofmt.lua2
-rw-r--r--plugins/hidelinenumbers.lua2
-rw-r--r--plugins/hidestatus.lua2
-rw-r--r--plugins/indentguide.lua2
-rw-r--r--plugins/language_angelscript.lua2
-rw-r--r--plugins/language_batch.lua2
-rw-r--r--plugins/language_bib.lua2
-rw-r--r--plugins/language_cmake.lua2
-rw-r--r--plugins/language_cpp.lua2
-rw-r--r--plugins/language_csharp.lua2
-rw-r--r--plugins/language_d.lua2
-rw-r--r--plugins/language_dart.lua2
-rw-r--r--plugins/language_elixir.lua2
-rw-r--r--plugins/language_elm.lua2
-rw-r--r--plugins/language_fe.lua2
-rw-r--r--plugins/language_fennel.lua2
-rw-r--r--plugins/language_gdscript.lua2
-rw-r--r--plugins/language_glsl.lua2
-rw-r--r--plugins/language_go.lua2
-rw-r--r--plugins/language_hlsl.lua2
-rw-r--r--plugins/language_hs.lua2
-rw-r--r--plugins/language_java.lua2
-rw-r--r--plugins/language_jiyu.lua2
-rw-r--r--plugins/language_jsx.lua2
-rw-r--r--plugins/language_liquid.lua2
-rw-r--r--plugins/language_make.lua2
-rw-r--r--plugins/language_meson.lua2
-rw-r--r--plugins/language_moon.lua2
-rw-r--r--plugins/language_nim.lua2
-rw-r--r--plugins/language_objc.lua2
-rw-r--r--plugins/language_odin.lua2
-rw-r--r--plugins/language_perl.lua2
-rw-r--r--plugins/language_php.lua2
-rw-r--r--plugins/language_phps.lua2
-rw-r--r--plugins/language_pico8.lua2
-rw-r--r--plugins/language_po.lua2
-rw-r--r--plugins/language_powershell.lua2
-rw-r--r--plugins/language_psql.lua2
-rw-r--r--plugins/language_ruby.lua2
-rw-r--r--plugins/language_rust.lua2
-rw-r--r--plugins/language_sass.lua2
-rw-r--r--plugins/language_sh.lua2
-rw-r--r--plugins/language_tcl.lua2
-rw-r--r--plugins/language_teal.lua2
-rw-r--r--plugins/language_tex.lua2
-rw-r--r--plugins/language_ts.lua2
-rw-r--r--plugins/language_tsx.lua2
-rw-r--r--plugins/language_v.lua2
-rw-r--r--plugins/language_wren.lua2
-rw-r--r--plugins/language_yaml.lua2
-rw-r--r--plugins/language_zig.lua2
-rw-r--r--plugins/lfautoinsert.lua2
-rwxr-xr-xplugins/linecopypaste.lua2
-rw-r--r--plugins/macmodkeys.lua2
-rw-r--r--plugins/markers.lua2
-rw-r--r--plugins/memoryusage.lua2
-rw-r--r--plugins/motiontrail.lua2
-rw-r--r--plugins/navigate.lua2
-rw-r--r--plugins/openfilelocation.lua2
-rw-r--r--plugins/openselected.lua2
-rw-r--r--plugins/pdfview.lua2
-rw-r--r--plugins/rainbowparen.lua2
-rw-r--r--plugins/regexreplacepreview.lua2
-rw-r--r--plugins/restoretabs.lua2
-rw-r--r--plugins/scalestatus.lua2
-rw-r--r--plugins/selectionhighlight.lua2
-rw-r--r--plugins/smallclock.lua2
-rw-r--r--plugins/sort.lua2
-rw-r--r--plugins/spellcheck.lua2
-rw-r--r--plugins/tabnumbers.lua2
-rw-r--r--plugins/texcompile.lua2
-rw-r--r--plugins/themeselect.lua2
-rw-r--r--plugins/titleize.lua2
-rw-r--r--plugins/togglesnakecamel.lua2
-rw-r--r--plugins/unboundedscroll.lua2
91 files changed, 91 insertions, 91 deletions
diff --git a/plugins/autoinsert.lua b/plugins/autoinsert.lua
index 7af2209..fd2888a 100644
--- a/plugins/autoinsert.lua
+++ b/plugins/autoinsert.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
local translate = require "core.doc.translate"
local config = require "core.config"
diff --git a/plugins/autosave.lua b/plugins/autosave.lua
index 2759ba6..e64ba0d 100644
--- a/plugins/autosave.lua
+++ b/plugins/autosave.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
local config = require "core.config"
local Doc = require "core.doc"
diff --git a/plugins/autosaveonfocuslost.lua b/plugins/autosaveonfocuslost.lua
index bc193a8..1aa0e90 100644
--- a/plugins/autosaveonfocuslost.lua
+++ b/plugins/autosaveonfocuslost.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
local CommandView = require "core.commandview"
local DocView = require "core.docview"
diff --git a/plugins/autowrap.lua b/plugins/autowrap.lua
index 1d5d08d..090e338 100644
--- a/plugins/autowrap.lua
+++ b/plugins/autowrap.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
require "plugins.reflow"
local config = require "core.config"
local command = require "core.command"
diff --git a/plugins/bigclock.lua b/plugins/bigclock.lua
index ac44c9f..c7e2eb1 100644
--- a/plugins/bigclock.lua
+++ b/plugins/bigclock.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
local style = require "core.style"
local command = require "core.command"
diff --git a/plugins/bracketmatch.lua b/plugins/bracketmatch.lua
index e6a740d..8bd44b2 100644
--- a/plugins/bracketmatch.lua
+++ b/plugins/bracketmatch.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
local style = require "core.style"
local command = require "core.command"
diff --git a/plugins/centerdoc.lua b/plugins/centerdoc.lua
index c60c2dd..a0f758b 100644
--- a/plugins/centerdoc.lua
+++ b/plugins/centerdoc.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local config = require "core.config"
local DocView = require "core.docview"
diff --git a/plugins/colorpreview.lua b/plugins/colorpreview.lua
index 370d1d8..3e4ab3b 100644
--- a/plugins/colorpreview.lua
+++ b/plugins/colorpreview.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local common = require "core.common"
local DocView = require "core.docview"
diff --git a/plugins/copyfilelocation.lua b/plugins/copyfilelocation.lua
index 9f33ee1..0f395ea 100644
--- a/plugins/copyfilelocation.lua
+++ b/plugins/copyfilelocation.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
local command = require "core.command"
local config = require "core.config"
diff --git a/plugins/datetimestamps.lua b/plugins/datetimestamps.lua
index 9ce425a..4d09e27 100644
--- a/plugins/datetimestamps.lua
+++ b/plugins/datetimestamps.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
local config = require "core.config"
local command = require "core.command"
diff --git a/plugins/dragdropselected.lua b/plugins/dragdropselected.lua
index aeacbd3..a2635f1 100644
--- a/plugins/dragdropselected.lua
+++ b/plugins/dragdropselected.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
--[[
dragdropselected.lua
provides basic drag and drop of selected text (in same document)
diff --git a/plugins/ephemeraldocviews.lua b/plugins/ephemeraldocviews.lua
index 37b3a3b..e90c3d9 100644
--- a/plugins/ephemeraldocviews.lua
+++ b/plugins/ephemeraldocviews.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
local command = require "core.command"
local RootView = require "core.rootview"
diff --git a/plugins/eval.lua b/plugins/eval.lua
index ae13a14..fe3f844 100644
--- a/plugins/eval.lua
+++ b/plugins/eval.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
local command = require "core.command"
diff --git a/plugins/exec.lua b/plugins/exec.lua
index d1ed6a8..b341d60 100644
--- a/plugins/exec.lua
+++ b/plugins/exec.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
local command = require "core.command"
diff --git a/plugins/ghmarkdown.lua b/plugins/ghmarkdown.lua
index 6e81daa..2ce297b 100644
--- a/plugins/ghmarkdown.lua
+++ b/plugins/ghmarkdown.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
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 904cd38..35a4a92 100644
--- a/plugins/gitstatus.lua
+++ b/plugins/gitstatus.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
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 fd204a6..d7d6881 100644
--- a/plugins/gofmt.lua
+++ b/plugins/gofmt.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
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 5ed23b3..995e151 100644
--- a/plugins/hidelinenumbers.lua
+++ b/plugins/hidelinenumbers.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local style = require "core.style"
local DocView = require "core.docview"
diff --git a/plugins/hidestatus.lua b/plugins/hidestatus.lua
index fc687cb..1d63c9e 100644
--- a/plugins/hidestatus.lua
+++ b/plugins/hidestatus.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local command = require "core.command"
local StatusView = require "core.statusview"
diff --git a/plugins/indentguide.lua b/plugins/indentguide.lua
index f1b7cf7..747c2d0 100644
--- a/plugins/indentguide.lua
+++ b/plugins/indentguide.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local style = require "core.style"
local config = require "core.config"
local DocView = require "core.docview"
diff --git a/plugins/language_angelscript.lua b/plugins/language_angelscript.lua
index d34a0eb..c0b2d83 100644
--- a/plugins/language_angelscript.lua
+++ b/plugins/language_angelscript.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_batch.lua b/plugins/language_batch.lua
index 441a367..99fd3ed 100644
--- a/plugins/language_batch.lua
+++ b/plugins/language_batch.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
-- batch syntax for lite <liqube>
diff --git a/plugins/language_bib.lua b/plugins/language_bib.lua
index 08a5662..6fdb20a 100644
--- a/plugins/language_bib.lua
+++ b/plugins/language_bib.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_cmake.lua b/plugins/language_cmake.lua
index 9f4df2f..1e3dbef 100644
--- a/plugins/language_cmake.lua
+++ b/plugins/language_cmake.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_cpp.lua b/plugins/language_cpp.lua
index bb1f347..c9fc6d3 100644
--- a/plugins/language_cpp.lua
+++ b/plugins/language_cpp.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
pcall(require, "plugins.language_c")
local syntax = require "core.syntax"
diff --git a/plugins/language_csharp.lua b/plugins/language_csharp.lua
index b6ee8e0..64f19c6 100644
--- a/plugins/language_csharp.lua
+++ b/plugins/language_csharp.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_d.lua b/plugins/language_d.lua
index a054de6..8300831 100644
--- a/plugins/language_d.lua
+++ b/plugins/language_d.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_dart.lua b/plugins/language_dart.lua
index 2e3cfc3..5cabbb4 100644
--- a/plugins/language_dart.lua
+++ b/plugins/language_dart.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_elixir.lua b/plugins/language_elixir.lua
index 8dd7cc9..128286d 100644
--- a/plugins/language_elixir.lua
+++ b/plugins/language_elixir.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_elm.lua b/plugins/language_elm.lua
index c5f2223..14a38ca 100644
--- a/plugins/language_elm.lua
+++ b/plugins/language_elm.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_fe.lua b/plugins/language_fe.lua
index f1aeef4..bb35159 100644
--- a/plugins/language_fe.lua
+++ b/plugins/language_fe.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_fennel.lua b/plugins/language_fennel.lua
index fbf1ba6..4eb371d 100644
--- a/plugins/language_fennel.lua
+++ b/plugins/language_fennel.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
-- Support for the Fennel programming language: https://fennel-lang.org
-- Covers all the keywords up to Fennel version 0.4.0
diff --git a/plugins/language_gdscript.lua b/plugins/language_gdscript.lua
index c638ab9..8f2b852 100644
--- a/plugins/language_gdscript.lua
+++ b/plugins/language_gdscript.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
-- Support for the GDScript programming language: https://godotengine.org/
-- Covers the most used keywords up to Godot version 3.2.x
diff --git a/plugins/language_glsl.lua b/plugins/language_glsl.lua
index 1f57a06..00e900b 100644
--- a/plugins/language_glsl.lua
+++ b/plugins/language_glsl.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local style = require "core.style"
local common = require "core.common"
diff --git a/plugins/language_go.lua b/plugins/language_go.lua
index 76289bd..d57e7df 100644
--- a/plugins/language_go.lua
+++ b/plugins/language_go.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_hlsl.lua b/plugins/language_hlsl.lua
index 45128d6..a7bffc2 100644
--- a/plugins/language_hlsl.lua
+++ b/plugins/language_hlsl.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local style = require "core.style"
local common = require "core.common"
diff --git a/plugins/language_hs.lua b/plugins/language_hs.lua
index 5f69a5a..f2a7352 100644
--- a/plugins/language_hs.lua
+++ b/plugins/language_hs.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_java.lua b/plugins/language_java.lua
index 42ad147..be360ee 100644
--- a/plugins/language_java.lua
+++ b/plugins/language_java.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_jiyu.lua b/plugins/language_jiyu.lua
index a433170..2105211 100644
--- a/plugins/language_jiyu.lua
+++ b/plugins/language_jiyu.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_jsx.lua b/plugins/language_jsx.lua
index 2648c68..bca8c2f 100644
--- a/plugins/language_jsx.lua
+++ b/plugins/language_jsx.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
-- Almost identical to JS, with the exception that / shouldn't denote a regex. Current JS syntax highlighter will highlight half the document due to closing tags.
local syntax = require "core.syntax"
diff --git a/plugins/language_liquid.lua b/plugins/language_liquid.lua
index 5cc7573..bf93b3a 100644
--- a/plugins/language_liquid.lua
+++ b/plugins/language_liquid.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
local liquid_syntax = {
diff --git a/plugins/language_make.lua b/plugins/language_make.lua
index 21e9df0..563342d 100644
--- a/plugins/language_make.lua
+++ b/plugins/language_make.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_meson.lua b/plugins/language_meson.lua
index c1aa4b1..1e78099 100644
--- a/plugins/language_meson.lua
+++ b/plugins/language_meson.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_moon.lua b/plugins/language_moon.lua
index ef8d3bd..eac3e11 100644
--- a/plugins/language_moon.lua
+++ b/plugins/language_moon.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_nim.lua b/plugins/language_nim.lua
index d42cb4a..7d29180 100644
--- a/plugins/language_nim.lua
+++ b/plugins/language_nim.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
local patterns = {}
diff --git a/plugins/language_objc.lua b/plugins/language_objc.lua
index c2b2eee..dfc2d5f 100644
--- a/plugins/language_objc.lua
+++ b/plugins/language_objc.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_odin.lua b/plugins/language_odin.lua
index 52a24e0..d95e67f 100644
--- a/plugins/language_odin.lua
+++ b/plugins/language_odin.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_perl.lua b/plugins/language_perl.lua
index 1332464..45e3112 100644
--- a/plugins/language_perl.lua
+++ b/plugins/language_perl.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_php.lua b/plugins/language_php.lua
index 0db81a3..a5a94b3 100644
--- a/plugins/language_php.lua
+++ b/plugins/language_php.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
--[[
language_php.lua
provides php syntax support allowing mixed html, css and js
diff --git a/plugins/language_phps.lua b/plugins/language_phps.lua
index 7476a8f..ce85f4e 100644
--- a/plugins/language_phps.lua
+++ b/plugins/language_phps.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
--[[
language_phps.lua
complement to language_php.lua providing the php syntax support
diff --git a/plugins/language_pico8.lua b/plugins/language_pico8.lua
index c8ba027..857fbf2 100644
--- a/plugins/language_pico8.lua
+++ b/plugins/language_pico8.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_po.lua b/plugins/language_po.lua
index 0f07d40..9da4664 100644
--- a/plugins/language_po.lua
+++ b/plugins/language_po.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_powershell.lua b/plugins/language_powershell.lua
index 6cd0968..64edcdf 100644
--- a/plugins/language_powershell.lua
+++ b/plugins/language_powershell.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_psql.lua b/plugins/language_psql.lua
index 389f32a..02a183f 100644
--- a/plugins/language_psql.lua
+++ b/plugins/language_psql.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
-- In sql symbols can be lower case and upper case
diff --git a/plugins/language_ruby.lua b/plugins/language_ruby.lua
index 9661b1b..7ee5667 100644
--- a/plugins/language_ruby.lua
+++ b/plugins/language_ruby.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_rust.lua b/plugins/language_rust.lua
index 4d0fef1..8b79fa5 100644
--- a/plugins/language_rust.lua
+++ b/plugins/language_rust.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_sass.lua b/plugins/language_sass.lua
index ce4aa2b..48ca851 100644
--- a/plugins/language_sass.lua
+++ b/plugins/language_sass.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_sh.lua b/plugins/language_sh.lua
index 684b070..82d4447 100644
--- a/plugins/language_sh.lua
+++ b/plugins/language_sh.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_tcl.lua b/plugins/language_tcl.lua
index 31efa84..5145a7e 100644
--- a/plugins/language_tcl.lua
+++ b/plugins/language_tcl.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_teal.lua b/plugins/language_teal.lua
index 5b46fd8..4257387 100644
--- a/plugins/language_teal.lua
+++ b/plugins/language_teal.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_tex.lua b/plugins/language_tex.lua
index 3f9a5fa..3976cf6 100644
--- a/plugins/language_tex.lua
+++ b/plugins/language_tex.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_ts.lua b/plugins/language_ts.lua
index 96cf0d3..080a368 100644
--- a/plugins/language_ts.lua
+++ b/plugins/language_ts.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
-- copied from language_js, but added regex highlighting back
local syntax = require "core.syntax"
diff --git a/plugins/language_tsx.lua b/plugins/language_tsx.lua
index 9dd93ad..6c320c0 100644
--- a/plugins/language_tsx.lua
+++ b/plugins/language_tsx.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
-- Almost identical to JS, with the exception that / shouldn't denote a regex. Current JS syntax highlighter will highlight half the document due to closing tags.
local syntax = require "core.syntax"
diff --git a/plugins/language_v.lua b/plugins/language_v.lua
index e4dc19b..12747c4 100644
--- a/plugins/language_v.lua
+++ b/plugins/language_v.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_wren.lua b/plugins/language_wren.lua
index 62ee24f..293f12b 100644
--- a/plugins/language_wren.lua
+++ b/plugins/language_wren.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_yaml.lua b/plugins/language_yaml.lua
index 40e19b6..b3ebdcd 100644
--- a/plugins/language_yaml.lua
+++ b/plugins/language_yaml.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_zig.lua b/plugins/language_zig.lua
index ed6f385..4e0a106 100644
--- a/plugins/language_zig.lua
+++ b/plugins/language_zig.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/lfautoinsert.lua b/plugins/lfautoinsert.lua
index 0534aa8..bbfb60c 100644
--- a/plugins/lfautoinsert.lua
+++ b/plugins/lfautoinsert.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
local command = require "core.command"
local common = require "core.common"
diff --git a/plugins/linecopypaste.lua b/plugins/linecopypaste.lua
index a4a5e60..df8266f 100755
--- a/plugins/linecopypaste.lua
+++ b/plugins/linecopypaste.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
local command = require "core.command"
diff --git a/plugins/macmodkeys.lua b/plugins/macmodkeys.lua
index 14f8995..fba8576 100644
--- a/plugins/macmodkeys.lua
+++ b/plugins/macmodkeys.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local keymap = require "core.keymap"
local on_key_pressed = keymap.on_key_pressed
diff --git a/plugins/markers.lua b/plugins/markers.lua
index f4a70d6..b693029 100644
--- a/plugins/markers.lua
+++ b/plugins/markers.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
-- Markers plugin for lite text editor
-- original implementation by Petri Häkkinen
diff --git a/plugins/memoryusage.lua b/plugins/memoryusage.lua
index ee472dd..d6ad20d 100644
--- a/plugins/memoryusage.lua
+++ b/plugins/memoryusage.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
-- original implementation by AqilCont
local style = require "core.style"
local StatusView = require "core.statusview"
diff --git a/plugins/motiontrail.lua b/plugins/motiontrail.lua
index 6f448bb..9bbca86 100644
--- a/plugins/motiontrail.lua
+++ b/plugins/motiontrail.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
local config = require "core.config"
local style = require "core.style"
diff --git a/plugins/navigate.lua b/plugins/navigate.lua
index dd985b5..d5f8714 100644
--- a/plugins/navigate.lua
+++ b/plugins/navigate.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
local common = require "core.common"
diff --git a/plugins/openfilelocation.lua b/plugins/openfilelocation.lua
index 48877bd..d6c03b1 100644
--- a/plugins/openfilelocation.lua
+++ b/plugins/openfilelocation.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
local command = require "core.command"
local config = require "core.config"
diff --git a/plugins/openselected.lua b/plugins/openselected.lua
index ccaa8e3..63de3b3 100644
--- a/plugins/openselected.lua
+++ b/plugins/openselected.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
local command = require "core.command"
local keymap = require "core.keymap"
diff --git a/plugins/pdfview.lua b/plugins/pdfview.lua
index 743c6ec..38195b1 100644
--- a/plugins/pdfview.lua
+++ b/plugins/pdfview.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
local command = require "core.command"
local keymap = require "core.keymap"
diff --git a/plugins/rainbowparen.lua b/plugins/rainbowparen.lua
index b6075ac..0291e8c 100644
--- a/plugins/rainbowparen.lua
+++ b/plugins/rainbowparen.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local tokenizer = require "core.tokenizer"
local style = require "core.style"
local common = require "core.common"
diff --git a/plugins/regexreplacepreview.lua b/plugins/regexreplacepreview.lua
index 926530b..b8ffcda 100644
--- a/plugins/regexreplacepreview.lua
+++ b/plugins/regexreplacepreview.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
local keymap = require "core.keymap"
local command = require "core.command"
diff --git a/plugins/restoretabs.lua b/plugins/restoretabs.lua
index 6776e2c..b173d7d 100644
--- a/plugins/restoretabs.lua
+++ b/plugins/restoretabs.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
-- Not perfect, because we can't actually figure out when something closes, but should be good enough, so long as we check the list of open views.
-- Maybe find a better way to get at "Node"?
local core = require "core"
diff --git a/plugins/scalestatus.lua b/plugins/scalestatus.lua
index 8f437d9..c9c6d58 100644
--- a/plugins/scalestatus.lua
+++ b/plugins/scalestatus.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
--[[
scalestatus.lua
displays current scale (zoom) in status view
diff --git a/plugins/selectionhighlight.lua b/plugins/selectionhighlight.lua
index 93ac0fb..a7d2aa8 100644
--- a/plugins/selectionhighlight.lua
+++ b/plugins/selectionhighlight.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local style = require "core.style"
local DocView = require "core.docview"
local config = require "core.config"
diff --git a/plugins/smallclock.lua b/plugins/smallclock.lua
index 8742b07..3ab9e4a 100644
--- a/plugins/smallclock.lua
+++ b/plugins/smallclock.lua
@@ -1,4 +1,4 @@
--- lite-xl 1.16
+-- lite-xl 2.00
local core = require "core"
local style = require "core.style"
local status_view = require "core.statusview"
diff --git a/plugins/sort.lua b/plugins/sort.lua
index 34b2b93..e683715 100644
--- a/plugins/sort.lua
+++ b/plugins/sort.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
local command = require "core.command"
local translate = require "core.doc.translate"
diff --git a/plugins/spellcheck.lua b/plugins/spellcheck.lua
index 975ef91..3cf710e 100644
--- a/plugins/spellcheck.lua
+++ b/plugins/spellcheck.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
local style = require "core.style"
local config = require "core.config"
diff --git a/plugins/tabnumbers.lua b/plugins/tabnumbers.lua
index 70da707..300c4a8 100644
--- a/plugins/tabnumbers.lua
+++ b/plugins/tabnumbers.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local common = require "core.common"
local core = require "core"
local style = require "core.style"
diff --git a/plugins/texcompile.lua b/plugins/texcompile.lua
index 7a5fd6e..214dfc4 100644
--- a/plugins/texcompile.lua
+++ b/plugins/texcompile.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
local command = require "core.command"
local keymap = require "core.keymap"
diff --git a/plugins/themeselect.lua b/plugins/themeselect.lua
index cafc1be..37d1500 100644
--- a/plugins/themeselect.lua
+++ b/plugins/themeselect.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
-- Load a specific theme when the filename of an active document does match
diff --git a/plugins/titleize.lua b/plugins/titleize.lua
index ac64f44..846dfb8 100644
--- a/plugins/titleize.lua
+++ b/plugins/titleize.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
local command = require "core.command"
diff --git a/plugins/togglesnakecamel.lua b/plugins/togglesnakecamel.lua
index 0ba3ce9..2e61b54 100644
--- a/plugins/togglesnakecamel.lua
+++ b/plugins/togglesnakecamel.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local core = require "core"
local command = require "core.command"
local keymap = require "core.keymap"
diff --git a/plugins/unboundedscroll.lua b/plugins/unboundedscroll.lua
index 18d26a2..05888e4 100644
--- a/plugins/unboundedscroll.lua
+++ b/plugins/unboundedscroll.lua
@@ -1,4 +1,4 @@
--- mod-version:1 -- lite-xl 1.16
+-- mod-version:1 -- lite-xl 2.00
local DocView = require "core.docview"
function DocView.clamp_scroll_position()