From 689912317e66b0f45c84771845c8dbbb59260409 Mon Sep 17 00:00:00 2001 From: Rohan Vashisht <81112205+RohanVashisht1234@users.noreply.github.com> Date: Tue, 16 Apr 2024 23:13:48 +0530 Subject: 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 --- manifest.json | 2 +- plugins/language_clojure.lua | 7 +++++-- 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 -- cgit v1.2.3