aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRohan Vashisht <81112205+RohanVashisht1234@users.noreply.github.com>2024-04-16 23:13:48 +0530
committerGitHub <noreply@github.com>2024-04-16 19:43:48 +0200
commit689912317e66b0f45c84771845c8dbbb59260409 (patch)
tree5151de3c65ca30b27a5d7fd2a75df1d366b29cca
parentf40fee5b6682666a9dbd67773c9e2804e697266e (diff)
downloadlite-xl-plugins-689912317e66b0f45c84771845c8dbbb59260409.tar.gz
lite-xl-plugins-689912317e66b0f45c84771845c8dbbb59260409.zip
Clojure file extension fix patch (#421)
* Update manifest.json * Create language_bazel.lua * Update language_clojure.lua * Update manifest.json * Update language_clojure.lua * Update manifest.json * Delete plugins/language_bazel.lua * Update manifest.json * Update manifest.json --------- Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
-rw-r--r--manifest.json2
-rw-r--r--plugins/language_clojure.lua7
2 files changed, 6 insertions, 3 deletions
diff --git a/manifest.json b/manifest.json
index 350ad43..9c34cb7 100644
--- a/manifest.json
+++ b/manifest.json
@@ -756,7 +756,7 @@
"tags": [
"language"
],
- "version": "0.1"
+ "version": "0.2"
},
{
"description": "Syntax for the CMake build system language",
diff --git a/plugins/language_clojure.lua b/plugins/language_clojure.lua
index 21734be..6e50352 100644
--- a/plugins/language_clojure.lua
+++ b/plugins/language_clojure.lua
@@ -5,8 +5,11 @@ local syntax = require "core.syntax"
syntax.add {
name = "Clojure", -- tested ok
comment = ";;", -- tested ok
- files = {
- "%.clojure$", -- tested ok
+ files = {
+ "%.clj$",
+ "%.cljs$",
+ "%.clc$",
+ "%.edn$",
},
patterns = {
{ pattern = ';;.*', type = 'comment' }, -- tested ok