forked from oscarh/vimerl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
43 lines (32 loc) · 1.25 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Vim Erlang plugin
The indentation plugin is provided by Csaba Hoch and disttributed with his
permission.
Installation:
The tarball root is vim_erlang-REL/. To remove this part of the package
(e.g., to extract the contents to you .vim dir) use tar --strip-components 1
-xjf vim_erlang-X.X.tar.bz2
* Unix
- For local installation (one user only) extract the tarball to your
~/.vim directory
- For global installation extract the tarball to your vim runtime
directory (e.g. /usr/share/vim/vimX/)
* Win
- For local installation (one user only) extract the tarball to your
directory
Settings:
You can set various variables in your vimrc file to make the plugin behave
differently.
Syntax options:
The options expect a 0 value for disabling and a non-zero (e.g. 1) for enabling.
* Highlight all Erlang bifs as keywords: (default: 0)
g:erlangHighlightBif
Folding options:
The options expect a 0 value for disabling and a non-zero (e.g. 1) for enabling.
* Enable/disable folding: (default: 0)
g:erlangFold
* Splitting functions if a new function head appears: (default: 0)
g:erlangFoldSplitFunction
Completion options:
The options expect a string with the path.
* Set the location of the Erlang man pages: (default: '/usr/lib/erlang/man')
g:erlangManPath