diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2021-08-17 09:53:48 -0400 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2021-08-17 09:53:48 -0400 |
commit | 44659ba00207cecd90412b714e53c2a1b7233fb9 (patch) | |
tree | c1ab14ea6b8ac3492f77c051486ef59fad2fb81d | |
parent | 466798679e7a2889622a491c776530c06668ca9f (diff) | |
download | lite-xl-plugins-44659ba00207cecd90412b714e53c2a1b7233fb9.tar.gz lite-xl-plugins-44659ba00207cecd90412b714e53c2a1b7233fb9.zip |
Updated mod-version and made things 2.0 instead of 2.00.
90 files changed, 90 insertions, 90 deletions
diff --git a/plugins/autoinsert.lua b/plugins/autoinsert.lua index 8be47c9..638d6cc 100644 --- a/plugins/autoinsert.lua +++ b/plugins/autoinsert.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 ef1985d..e6fa21c 100644 --- a/plugins/autosave.lua +++ b/plugins/autosave.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 1aa0e90..dea1e7c 100644 --- a/plugins/autosaveonfocuslost.lua +++ b/plugins/autosaveonfocuslost.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 acfd37f..38f8eb3 100644 --- a/plugins/autowrap.lua +++ b/plugins/autowrap.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 require "plugins.reflow" local config = require "core.config" local command = require "core.command" diff --git a/plugins/bigclock.lua b/plugins/bigclock.lua index 62cbc0c..e77f336 100644 --- a/plugins/bigclock.lua +++ b/plugins/bigclock.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 8bd44b2..4d1da37 100644 --- a/plugins/bracketmatch.lua +++ b/plugins/bracketmatch.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 a0f758b..a1cf5e3 100644 --- a/plugins/centerdoc.lua +++ b/plugins/centerdoc.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local config = require "core.config" local DocView = require "core.docview" diff --git a/plugins/colorpreview.lua b/plugins/colorpreview.lua index 3e4ab3b..5b16d28 100644 --- a/plugins/colorpreview.lua +++ b/plugins/colorpreview.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local common = require "core.common" local DocView = require "core.docview" diff --git a/plugins/copyfilelocation.lua b/plugins/copyfilelocation.lua index b370090..dedc188 100644 --- a/plugins/copyfilelocation.lua +++ b/plugins/copyfilelocation.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local core = require "core" local command = require "core.command" diff --git a/plugins/datetimestamps.lua b/plugins/datetimestamps.lua index c1b1199..51d698e 100644 --- a/plugins/datetimestamps.lua +++ b/plugins/datetimestamps.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 a2635f1..4dbaa84 100644 --- a/plugins/dragdropselected.lua +++ b/plugins/dragdropselected.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 --[[ dragdropselected.lua provides basic drag and drop of selected text (in same document) diff --git a/plugins/ephemeraldocviews.lua b/plugins/ephemeraldocviews.lua index e90c3d9..cb9f53d 100644 --- a/plugins/ephemeraldocviews.lua +++ b/plugins/ephemeraldocviews.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 fe3f844..bd1ff56 100644 --- a/plugins/eval.lua +++ b/plugins/eval.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local core = require "core" local command = require "core.command" diff --git a/plugins/exec.lua b/plugins/exec.lua index b341d60..cf2d8f2 100644 --- a/plugins/exec.lua +++ b/plugins/exec.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local core = require "core" local command = require "core.command" diff --git a/plugins/ghmarkdown.lua b/plugins/ghmarkdown.lua index 2ce297b..7dcf3cb 100644 --- a/plugins/ghmarkdown.lua +++ b/plugins/ghmarkdown.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 35a4a92..b7ff5de 100644 --- a/plugins/gitstatus.lua +++ b/plugins/gitstatus.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 d7d6881..02c817b 100644 --- a/plugins/gofmt.lua +++ b/plugins/gofmt.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 995e151..4494670 100644 --- a/plugins/hidelinenumbers.lua +++ b/plugins/hidelinenumbers.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local style = require "core.style" local DocView = require "core.docview" diff --git a/plugins/hidestatus.lua b/plugins/hidestatus.lua index 1d63c9e..6e63a81 100644 --- a/plugins/hidestatus.lua +++ b/plugins/hidestatus.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local command = require "core.command" local StatusView = require "core.statusview" diff --git a/plugins/indentguide.lua b/plugins/indentguide.lua index 747c2d0..0513be4 100644 --- a/plugins/indentguide.lua +++ b/plugins/indentguide.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 c0b2d83..d214ea0 100644 --- a/plugins/language_angelscript.lua +++ b/plugins/language_angelscript.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_batch.lua b/plugins/language_batch.lua index 99fd3ed..b01c65d 100644 --- a/plugins/language_batch.lua +++ b/plugins/language_batch.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" -- batch syntax for lite <liqube> diff --git a/plugins/language_bib.lua b/plugins/language_bib.lua index 6fdb20a..96c80c7 100644 --- a/plugins/language_bib.lua +++ b/plugins/language_bib.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_cmake.lua b/plugins/language_cmake.lua index 1e3dbef..34b4d0c 100644 --- a/plugins/language_cmake.lua +++ b/plugins/language_cmake.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_cpp.lua b/plugins/language_cpp.lua index c9fc6d3..f229134 100644 --- a/plugins/language_cpp.lua +++ b/plugins/language_cpp.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 pcall(require, "plugins.language_c") local syntax = require "core.syntax" diff --git a/plugins/language_csharp.lua b/plugins/language_csharp.lua index 64f19c6..6bc6fcd 100644 --- a/plugins/language_csharp.lua +++ b/plugins/language_csharp.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_d.lua b/plugins/language_d.lua index 8300831..641aefa 100644 --- a/plugins/language_d.lua +++ b/plugins/language_d.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_dart.lua b/plugins/language_dart.lua index 5cabbb4..01bdc97 100644 --- a/plugins/language_dart.lua +++ b/plugins/language_dart.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_elixir.lua b/plugins/language_elixir.lua index 128286d..e4919da 100644 --- a/plugins/language_elixir.lua +++ b/plugins/language_elixir.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_elm.lua b/plugins/language_elm.lua index 14a38ca..4038420 100644 --- a/plugins/language_elm.lua +++ b/plugins/language_elm.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_fe.lua b/plugins/language_fe.lua index bb35159..c852124 100644 --- a/plugins/language_fe.lua +++ b/plugins/language_fe.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_fennel.lua b/plugins/language_fennel.lua index 4eb371d..de229f1 100644 --- a/plugins/language_fennel.lua +++ b/plugins/language_fennel.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 -- 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 8f2b852..5a29b97 100644 --- a/plugins/language_gdscript.lua +++ b/plugins/language_gdscript.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 -- 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 00e900b..36ceb03 100644 --- a/plugins/language_glsl.lua +++ b/plugins/language_glsl.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local style = require "core.style" local common = require "core.common" diff --git a/plugins/language_go.lua b/plugins/language_go.lua index d57e7df..8c8900e 100644 --- a/plugins/language_go.lua +++ b/plugins/language_go.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_hlsl.lua b/plugins/language_hlsl.lua index a7bffc2..0aedab0 100644 --- a/plugins/language_hlsl.lua +++ b/plugins/language_hlsl.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local style = require "core.style" local common = require "core.common" diff --git a/plugins/language_hs.lua b/plugins/language_hs.lua index f2a7352..5530f87 100644 --- a/plugins/language_hs.lua +++ b/plugins/language_hs.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_java.lua b/plugins/language_java.lua index be360ee..8c6e98e 100644 --- a/plugins/language_java.lua +++ b/plugins/language_java.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_jiyu.lua b/plugins/language_jiyu.lua index 2105211..c30cd00 100644 --- a/plugins/language_jiyu.lua +++ b/plugins/language_jiyu.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_jsx.lua b/plugins/language_jsx.lua index bca8c2f..328e2db 100644 --- a/plugins/language_jsx.lua +++ b/plugins/language_jsx.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 -- 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 bf93b3a..ffb2c96 100644 --- a/plugins/language_liquid.lua +++ b/plugins/language_liquid.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" local liquid_syntax = { diff --git a/plugins/language_make.lua b/plugins/language_make.lua index 563342d..4ce5d00 100644 --- a/plugins/language_make.lua +++ b/plugins/language_make.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_meson.lua b/plugins/language_meson.lua index 1e78099..02763a7 100644 --- a/plugins/language_meson.lua +++ b/plugins/language_meson.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_moon.lua b/plugins/language_moon.lua index eac3e11..6b5f9d2 100644 --- a/plugins/language_moon.lua +++ b/plugins/language_moon.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_nim.lua b/plugins/language_nim.lua index 7d29180..c9f3355 100644 --- a/plugins/language_nim.lua +++ b/plugins/language_nim.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" local patterns = {} diff --git a/plugins/language_objc.lua b/plugins/language_objc.lua index dfc2d5f..c0ef95e 100644 --- a/plugins/language_objc.lua +++ b/plugins/language_objc.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_odin.lua b/plugins/language_odin.lua index d95e67f..29d9868 100644 --- a/plugins/language_odin.lua +++ b/plugins/language_odin.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_perl.lua b/plugins/language_perl.lua index 45e3112..cf60849 100644 --- a/plugins/language_perl.lua +++ b/plugins/language_perl.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_php.lua b/plugins/language_php.lua index a5a94b3..4f107aa 100644 --- a/plugins/language_php.lua +++ b/plugins/language_php.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 --[[ 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 ce85f4e..082b962 100644 --- a/plugins/language_phps.lua +++ b/plugins/language_phps.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 --[[ 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 857fbf2..b8b790e 100644 --- a/plugins/language_pico8.lua +++ b/plugins/language_pico8.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_po.lua b/plugins/language_po.lua index 9da4664..54783ea 100644 --- a/plugins/language_po.lua +++ b/plugins/language_po.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_powershell.lua b/plugins/language_powershell.lua index 64edcdf..022170d 100644 --- a/plugins/language_powershell.lua +++ b/plugins/language_powershell.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax"
syntax.add {
diff --git a/plugins/language_psql.lua b/plugins/language_psql.lua index 02a183f..09db99b 100644 --- a/plugins/language_psql.lua +++ b/plugins/language_psql.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 7ee5667..8b9bf33 100644 --- a/plugins/language_ruby.lua +++ b/plugins/language_ruby.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_rust.lua b/plugins/language_rust.lua index 8b79fa5..ac25305 100644 --- a/plugins/language_rust.lua +++ b/plugins/language_rust.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_sass.lua b/plugins/language_sass.lua index 48ca851..752f5b0 100644 --- a/plugins/language_sass.lua +++ b/plugins/language_sass.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_sh.lua b/plugins/language_sh.lua index 82d4447..f21557d 100644 --- a/plugins/language_sh.lua +++ b/plugins/language_sh.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_tcl.lua b/plugins/language_tcl.lua index 5145a7e..a934777 100644 --- a/plugins/language_tcl.lua +++ b/plugins/language_tcl.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_teal.lua b/plugins/language_teal.lua index 4257387..f64c419 100644 --- a/plugins/language_teal.lua +++ b/plugins/language_teal.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_tex.lua b/plugins/language_tex.lua index 3976cf6..1bc08f5 100644 --- a/plugins/language_tex.lua +++ b/plugins/language_tex.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_ts.lua b/plugins/language_ts.lua index 080a368..1b322ed 100644 --- a/plugins/language_ts.lua +++ b/plugins/language_ts.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 -- 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 6c320c0..63eef55 100644 --- a/plugins/language_tsx.lua +++ b/plugins/language_tsx.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 -- 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 12747c4..526002f 100644 --- a/plugins/language_v.lua +++ b/plugins/language_v.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_wren.lua b/plugins/language_wren.lua index 293f12b..c4a6905 100644 --- a/plugins/language_wren.lua +++ b/plugins/language_wren.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_yaml.lua b/plugins/language_yaml.lua index b3ebdcd..c86f733 100644 --- a/plugins/language_yaml.lua +++ b/plugins/language_yaml.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/language_zig.lua b/plugins/language_zig.lua index 4e0a106..3c4f6fa 100644 --- a/plugins/language_zig.lua +++ b/plugins/language_zig.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local syntax = require "core.syntax" syntax.add { diff --git a/plugins/lfautoinsert.lua b/plugins/lfautoinsert.lua index 3a8369e..ddbec5e 100644 --- a/plugins/lfautoinsert.lua +++ b/plugins/lfautoinsert.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 df8266f..d332cc1 100755 --- a/plugins/linecopypaste.lua +++ b/plugins/linecopypaste.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00
+-- mod-version:2 -- lite-xl 2.0
local core = require "core"
local command = require "core.command"
diff --git a/plugins/macmodkeys.lua b/plugins/macmodkeys.lua index fba8576..d8c0d05 100644 --- a/plugins/macmodkeys.lua +++ b/plugins/macmodkeys.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local keymap = require "core.keymap" local on_key_pressed = keymap.on_key_pressed diff --git a/plugins/markers.lua b/plugins/markers.lua index b693029..e09fa3d 100644 --- a/plugins/markers.lua +++ b/plugins/markers.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00
+-- mod-version:2 -- lite-xl 2.0
-- Markers plugin for lite text editor
-- original implementation by Petri Häkkinen
diff --git a/plugins/memoryusage.lua b/plugins/memoryusage.lua index d6ad20d..fcdcc29 100644 --- a/plugins/memoryusage.lua +++ b/plugins/memoryusage.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 -- 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 f5f3a90..1359c90 100644 --- a/plugins/motiontrail.lua +++ b/plugins/motiontrail.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 d5f8714..4e6092f 100644 --- a/plugins/navigate.lua +++ b/plugins/navigate.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local core = require "core" local common = require "core.common" diff --git a/plugins/openfilelocation.lua b/plugins/openfilelocation.lua index 69fe9fa..4b89815 100644 --- a/plugins/openfilelocation.lua +++ b/plugins/openfilelocation.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 63de3b3..a1e21a2 100644 --- a/plugins/openselected.lua +++ b/plugins/openselected.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 38195b1..d5d749a 100644 --- a/plugins/pdfview.lua +++ b/plugins/pdfview.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 0291e8c..52e9d50 100644 --- a/plugins/rainbowparen.lua +++ b/plugins/rainbowparen.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 b8ffcda..1c8b845 100644 --- a/plugins/regexreplacepreview.lua +++ b/plugins/regexreplacepreview.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 b173d7d..5bcd977 100644 --- a/plugins/restoretabs.lua +++ b/plugins/restoretabs.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 -- 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 f486310..8f3ef68 100644 --- a/plugins/scalestatus.lua +++ b/plugins/scalestatus.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 --[[ scalestatus.lua displays current scale (zoom) in status view diff --git a/plugins/selectionhighlight.lua b/plugins/selectionhighlight.lua index 9183c82..1cec783 100644 --- a/plugins/selectionhighlight.lua +++ b/plugins/selectionhighlight.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local style = require "core.style" local DocView = require "core.docview" diff --git a/plugins/sort.lua b/plugins/sort.lua index e683715..fd9d044 100644 --- a/plugins/sort.lua +++ b/plugins/sort.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 0e5e8bf..db58606 100644 --- a/plugins/spellcheck.lua +++ b/plugins/spellcheck.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 300c4a8..581a6b2 100644 --- a/plugins/tabnumbers.lua +++ b/plugins/tabnumbers.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 214dfc4..2f53513 100644 --- a/plugins/texcompile.lua +++ b/plugins/texcompile.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 37d1500..70bd627 100644 --- a/plugins/themeselect.lua +++ b/plugins/themeselect.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 846dfb8..edb50d2 100644 --- a/plugins/titleize.lua +++ b/plugins/titleize.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local core = require "core" local command = require "core.command" diff --git a/plugins/togglesnakecamel.lua b/plugins/togglesnakecamel.lua index 2e61b54..b5d20d9 100644 --- a/plugins/togglesnakecamel.lua +++ b/plugins/togglesnakecamel.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 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 05888e4..a27ab25 100644 --- a/plugins/unboundedscroll.lua +++ b/plugins/unboundedscroll.lua @@ -1,4 +1,4 @@ --- mod-version:1 -- lite-xl 2.00 +-- mod-version:2 -- lite-xl 2.0 local DocView = require "core.docview" function DocView.clamp_scroll_position() |