Use a dedicated grammar to highlight Emacs Lisp

This commit is contained in:
Alhadis
2016-08-29 00:52:15 +10:00
parent 6763b73d9c
commit 51d7c8f905
5 changed files with 25 additions and 1 deletions

3
.gitmodules vendored
View File

@@ -785,3 +785,6 @@ url = https://github.com/austinwagner/sublime-sourcepawn
[submodule "vendor/grammars/xquery"]
path = vendor/grammars/xquery
url = https://github.com/textmate/xquery.tmbundle
[submodule "vendor/grammars/language-emacs-lisp"]
path = vendor/grammars/language-emacs-lisp
url = https://github.com/Alhadis/language-emacs-lisp

View File

@@ -354,6 +354,8 @@ vendor/grammars/language-csound:
- source.csound
- source.csound-document
- source.csound-score
vendor/grammars/language-emacs-lisp:
- source.emacs.lisp
vendor/grammars/language-gfm:
- source.gfm
vendor/grammars/language-graphql:

View File

@@ -1027,7 +1027,7 @@ Elm:
Emacs Lisp:
type: programming
tm_scope: source.lisp
tm_scope: source.emacs.lisp
color: "#c065db"
aliases:
- elisp

View File

@@ -0,0 +1,18 @@
---
type: grammar
name: language-emacs-lisp
license: isc
---
Copyright (c) 2016, John Gardner
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.