f7cdcff685af4239877582e26d2967308e39d5b1
[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
29 # syntastic
30 Syntastic is a syntax checker for Vim. To use the Nit checker, install syntastic and copy syntastic/nit.vim in your syntastic/syntax_checkers folder.