misc: adds extern class type to vim syntax highlighting
[nit.git] / misc / README
1 # gtksourceview (gedit and other GTK editors)
2 To install in your home, just link (or copy) the language definition file in ~/.local/share/gtksourceview-2.0/language-specs
3
4 # vim
5
6 vim is a powerful text editor.
7 The misc/vim directory contains the support of nit files to vim.
8
9 ### Install
10
11 The simpler way to install nit for vim is with [pathogen][1].
12
13     cd ~/.vim/bundle
14     ln -s /full/path/to/nit/misc/vim nit
15
16 Ensure that your .vimrc contains
17
18     call pathogen#infect()
19     syntax on
20     filetype plugin indent on
21
22   [1]: https://github.com/tpope/vim-pathogen
23
24 ### Features
25
26  * syntax highlighting
27  * indentation
28  * syntax checker (require [Syntastic][2]).
29
30   [2]: https://github.com/scrooloose/syntastic