1 " Code formatting settings loosely adapted from:
2 " http://concatenative.org/wiki/view/Factor/Coding%20Style
4 " Tabs are not allowed in Factor source files; use four spaces instead.
5 setlocal expandtab tabstop=4 shiftwidth=4 softtabstop=4
7 " Try to limit lines to 64 characters, except for documentation, which can be
9 if expand("%:t") !~ "-docs\.factor$"
12 " Mark anything in column 64 or beyond as a syntax error.
13 match Error /\%>63v.\+/
16 " Teach Vim what comments look like.
17 setlocal comments+=b:!,b:#!