Skip to content

Commit

Permalink
Clojure file extension fix patch (#421)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
RohanVashisht1234 and Guldoman authored Apr 16, 2024
1 parent f40fee5 commit 6899123
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@
"tags": [
"language"
],
"version": "0.1"
"version": "0.2"
},
{
"description": "Syntax for the CMake build system language",
Expand Down
7 changes: 5 additions & 2 deletions plugins/language_clojure.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6899123

Please sign in to comment.