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
6 Nit brush for the Alex Gorbatchev's JS syntaxhighlighter.
8 To install the JS syntaxhighlighter, please refer to http://alexgorbatchev.com/SyntaxHighlighter/
10 Then can add the brush to your html page:
12 <script type="text/javascript" src="shBrushNit.js"></script>
16 Vim is a powerful text editor and a favorite of the Nit team.
17 The `misc/vim` directory provides Vim support for Nit source files.
21 The simpler way to install nit for vim is with [pathogen][1].
24 ln -s /full/path/to/nit/misc/vim nit
26 Ensure that `~/.vimrc` contains
28 call pathogen#infect()
30 filetype plugin indent on
32 [1]: https://github.com/tpope/vim-pathogen
37 * Automatic indentation
38 * Syntax checker (require [Syntastic][2]).
39 * Autocomplete for whole projects using module importations
41 [2]: https://github.com/scrooloose/syntastic
45 The Nit plugin offers better autocomplete by scanning all projects in the
46 current directory, and their dependencies.
48 Add the following code to `~/.vimrc`, then use `ctrl-n` to open the
52 " Compute Nit module dependencies for autocomplete on loading our first Nit module
53 autocmd Filetype nit call NitComplete()
55 " Map reloading Nit module dependencies to F2
56 map <F2> :call ForceNitComplete()<enter>
59 The plugin is compatible with, and optimized for, [AutoComplPop][3].
61 Look at the functions defined in `misc/vim/plugin/nit.vim` for all possible
64 [3]: http://www.vim.org/scripts/script.php?script_id=1879