Alhadis/language-viml

Vim script syntax highlighting for Atom and GitHub.

22

stars

183

commits

CSON

primary language

Sep 19, 2023

updated

atom.io/packages/language-viml
atom
syntax-highlighting
vim
viml
vimscript

README

Vim script highlighting for Atom and GitHub

If Bram Moolenaar wrote CoffeeScript

Originally ported from a VimL highlighting bundle for TextMate, though very little of the original code still remains.

Usage on GitHub

This repository is used by GitHub Linguist to power Vim script highlighting across the site:

" ~/.vimrc
set encoding=utf-8
filetype on
syntax enable
highlight OverLength ctermbg=red ctermfg=white guibg=#592929

if 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 and Emacs, so my knowledge of Vim script is rudimentary at best. Chances are you know more about this language than I do.

Contributors

Alhadis

168 commits

EvanHahn

10 commits

rhysd

2 commits

davidcelis

1 commits

Alhadis/language-viml

Vim script syntax highlighting for Atom and GitHub.

22

stars

183

commits

CSON

primary language

Sep 19, 2023

updated

atom.io/packages/language-viml
atom
syntax-highlighting
vim
viml
vimscript

README

Vim script highlighting for Atom and GitHub

If Bram Moolenaar wrote CoffeeScript

Originally ported from a VimL highlighting bundle for TextMate, though very little of the original code still remains.

Usage on GitHub

This repository is used by GitHub Linguist to power Vim script highlighting across the site:

" ~/.vimrc
set encoding=utf-8
filetype on
syntax enable
highlight OverLength ctermbg=red ctermfg=white guibg=#592929

if 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 and Emacs, so my knowledge of Vim script is rudimentary at best. Chances are you know more about this language than I do.

Contributors

Alhadis

168 commits

EvanHahn

10 commits

rhysd

2 commits

davidcelis

1 commits

Languages

CSON

92.0%

JavaScript

7.7%