aboutsummaryrefslogtreecommitdiff
path: root/plugins/language_clojure.lua
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 /plugins/language_clojure.lua
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>
Diffstat (limited to 'plugins/language_clojure.lua')
-rw-r--r--plugins/language_clojure.lua7
1 files changed, 5 insertions, 2 deletions
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