Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alhadis/language-viml
Vim script syntax highlighting for Atom and GitHub.
https://github.com/alhadis/language-viml
atom syntax-highlighting vim viml vimscript
Last synced: 2 days ago
JSON representation
Vim script syntax highlighting for Atom and GitHub.
- Host: GitHub
- URL: https://github.com/alhadis/language-viml
- Owner: Alhadis
- License: mit
- Created: 2014-02-27T20:38:08.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2023-09-19T07:20:25.000Z (over 1 year ago)
- Last Synced: 2024-12-15T02:51:26.933Z (8 days ago)
- Topics: atom, syntax-highlighting, vim, viml, vimscript
- Language: CSON
- Homepage: http://atom.io/packages/language-viml
- Size: 370 KB
- Stars: 22
- Watchers: 5
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Vim script highlighting for Atom and GitHub
===========================================![If Bram Moolenaar wrote CoffeeScript](preview.png)
Originally [ported][1] from a [VimL highlighting bundle for TextMate][2], though
very little of the original code still remains.Usage on GitHub
--------------------------------------------------------------------------------
This repository is used by [GitHub Linguist][3] to power Vim script highlighting
across the site:~~~VimL
" ~/.vimrc
set encoding=utf-8
filetype on
syntax enable
highlight OverLength ctermbg=red ctermfg=white guibg=#592929if b:current_syntax =~ "gitcommit"
match OverLength /\%>72v.\+/
else
match NONE
endif
~~~The grammar still has a few rough edges, which I'm working on smoothing out when
I find them. If you've noticed something flaky-looking, *please* [open an issue]
with a sample of the affected code. Seriously.My editors of choice are [Atom][5] and [Emacs][6], so my knowledge of Vim script
is rudimentary at best. Chances are you know more about this language than I do.[Referenced links]: ____________________________________________________________
[1]: http://atom.io/docs/v0.60.0/converting-a-text-mate-bundle
[2]: https://github.com/skammer/textmate-viml
[3]: https://github.com/github/linguist/blob/master/vendor/README.md
[4]: https://github.com/Alhadis/language-viml/issues/new
[5]: http://atom.io/
[6]: http://emacsrocks.com/