6f19e2cf4767007d81e59487d040baaa627435b2
[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 # syntaxhighlighter
5
6 Nit brush for the Alex Gorbatchev's JS syntaxhighlighter.
7
8 To install the JS syntaxhighlighter, please refer to http://alexgorbatchev.com/SyntaxHighlighter/
9
10 Then can add the brush to your html page:
11
12         <script type="text/javascript" src="shBrushNit.js"></script>
13
14 # vim
15
16 vim is a powerful text editor.
17 The misc/vim directory contains the support of nit files to vim.
18
19 ### Install
20
21 The simpler way to install nit for vim is with [pathogen][1].
22
23     cd ~/.vim/bundle
24     ln -s /full/path/to/nit/misc/vim nit
25
26 Ensure that your .vimrc contains
27
28     call pathogen#infect()
29     syntax on
30     filetype plugin indent on
31
32   [1]: https://github.com/tpope/vim-pathogen
33
34 ### Features
35
36  * syntax highlighting
37  * indentation
38  * syntax checker (require [Syntastic][2]).
39
40   [2]: https://github.com/scrooloose/syntastic