-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtext80.vim
63 lines (52 loc) · 1.86 KB
/
text80.vim
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
" # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
" #
" # C E D A R
" # S O L U T I O N S "Software done right."
" # S O F T W A R E
" #
" # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
" #
" # Copyright (c) 2003 Kenneth J. Pronovici.
" # All rights reserved.
" #
" # This program is free software; you can redistribute it and/or
" # modify it under the terms of the GNU General Public License,
" # Version 2, as published by the Free Software Foundation.
" #
" # This program is distributed in the hope that it will be useful,
" # but WITHOUT ANY WARRANTY; without even the implied warranty of
" # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
" #
" # Copies of the GNU General Public License are available from
" # the Free Software Foundation website, http://www.gnu.org/.
" #
" # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
" #
" # Author : Kenneth J. Pronovici <[email protected]>
" # Language : Vim command language
" # Project : Vim syntax definitions
" # Revision : $Id$
" # Purpose : Provides a custom text-syntax definition (80-column)
" #
" # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
" ########
" # Notes
" ########
"
" This file simply piggiebacks on the text syntax definition and
" then enforces a file-line-width of 80 columns.
" ###################################################
" # Exit if we're already in the middle of something
" ###################################################
if exists("b:current_syntax")
finish
endif
" ###########################
" # Read the text definition
" ###########################
so <sfile>:p:h/text.vim
" ################################
" # Customize the text definition
" ################################
" We want to wrap lines at about 5 characters less than the screen width
set tw=75