diff options
author | Matthew Sotoudeh <matthew@masot.net> | 2024-03-11 16:33:24 -0700 |
---|---|---|
committer | Matthew Sotoudeh <matthew@masot.net> | 2024-03-11 16:33:24 -0700 |
commit | a9292a98cc6c65e2a4ad6da20937ef7568a4143d (patch) | |
tree | f921866c475208359285ff3f606c0fafa1812a32 /extras | |
parent | 35fa21e59ad44de3ac5d075a3c1ae60d462a1a13 (diff) |
earlpy
Diffstat (limited to 'extras')
-rwxr-xr-x | extras/ftdetect/earlpy.vim | 1 | ||||
-rw-r--r-- | extras/syntax/earlpy.vim | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/extras/ftdetect/earlpy.vim b/extras/ftdetect/earlpy.vim new file mode 100755 index 0000000..f63a7b4 --- /dev/null +++ b/extras/ftdetect/earlpy.vim @@ -0,0 +1 @@ +au BufRead,BufNewFile *.earlpy set filetype=earlpy diff --git a/extras/syntax/earlpy.vim b/extras/syntax/earlpy.vim new file mode 100644 index 0000000..429db40 --- /dev/null +++ b/extras/syntax/earlpy.vim @@ -0,0 +1,20 @@ +" https://vim.fandom.com/wiki/Creating_your_own_syntax_files +" Vim syntax file +" Language: Celestia Star Catalogs +" Maintainer: Kevin Lauder +" Latest Revision: 26 April 2008 + +if exists("b:current_syntax") + finish +endif + +let b:current_syntax = "earlpy" + +" Matches +syn match basicKeywords "\zs.*\ze$" +syn match literalTag "\zs .*\ze$" +syn match comment "\zs#.*\ze$" + +hi def link literalTag Type +hi def link basicKeywords Keyword +hi def link comment Comment |