Skip to content

Commit 8c9c204

Browse files
committed
Update docks
1 parent 5bb8428 commit 8c9c204

File tree

4 files changed

+27
-13
lines changed

4 files changed

+27
-13
lines changed

News.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
### Version 001 (Mid October 2011)
22

3-
Removed deprecated `coffee_folding` option, split out compiler, fixed
4-
indentation and syntax bugs, and added Haml support and omnicompletion.
3+
Removed deprecated `coffee_folding` option, added `coffee_compile_vert`
4+
variable, split out compiler, fixed indentation and syntax bugs, and added Haml
5+
support and omnicompletion.
56

67
- The coffee compiler is now a proper vim compiler that can be loaded with
7-
`compiler coffee`.
8+
`:compiler coffee`.
9+
- The `coffee_compile_vert` variable can now be set to split the CoffeeCompile
10+
buffer vertically by default.
811
- CoffeeScript is now highlighted inside the `:coffeescript` filter in Haml.
9-
- Omnicompletion (`help compl-omni`) now uses JavaScript's dictionary to
10-
complete words
12+
- Omnicompletion (`:help compl-omni`) now uses JavaScript's dictionary to
13+
complete words.

Readme.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ Using `vert` splits the CoffeeCompile buffer vertically instead of horizontally:
141141

142142
:CoffeeCompile vert
143143

144+
Set the `coffee_compile_vert` variable to split the buffer vertically by
145+
default:
146+
147+
let coffee_compile_vert = 1
148+
144149
The initial size of the CoffeeCompile buffer can be given as a number:
145150

146151
:CoffeeCompile 4
@@ -183,9 +188,9 @@ the resulting JavaScript. Output is shown at the bottom of the screen:
183188

184189
![CoffeeRun Output](http://i.imgur.com/m6UID.png)
185190

186-
### Configuration
191+
### Configure Syntax Highlighting
187192

188-
You can configure plugin behavior by adding the relevant lines to your `vimrc`.
193+
Add these lines to your `vimrc` to disable the relevant syntax group.
189194

190195
#### Disable trailing whitespace error
191196

@@ -208,7 +213,7 @@ they're not allowed in CoffeeScript. This can be disabled with:
208213

209214
hi link coffeeReservedError NONE
210215

211-
### Tuning Vim for CoffeeScript
216+
### Tune Vim for CoffeeScript
212217

213218
Changing these core settings can make vim more CoffeeScript friendly.
214219

Thanks.md

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ code:
2626

2727
Matt Sacks (mattsa):
2828
Javascript omni-completion
29+
coffee_compile_vert option
2930

3031
Nick Stenning (nickstenning):
3132
Fold by indentation for coffeescript

doc/coffee-script.txt

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*coffee-script.txt* For Vim version 7.3
1+
*coffee-script.txt* For Vim version 7.3
22

33
=============================================================================
44
Author: Mick Koch <[email protected]> *coffee-script-author*
@@ -18,8 +18,8 @@ CONTENTS *coffee-script-contents*
1818
INTRODUCTION *coffee-script*
1919
*coffee-script-introduction*
2020

21-
This projects adds support CoffeeScript syntax, indenting, and compiling. Also
22-
included is an eco syntax and support for CoffeeScript in Haml and HTML.
21+
This plugin adds support for CoffeeScript syntax, indenting, and compiling.
22+
Also included is an eco syntax and support for CoffeeScript in Haml and HTML.
2323

2424
COMMANDS *coffee-script-commands*
2525

@@ -59,9 +59,14 @@ in your |vimrc|.
5959
Global Settings~
6060

6161
*g:coffee_make_options*
62-
Set default options to pass to the compiler with |CoffeeMake|:
62+
Set default options |CoffeeMake| should pass to the compiler.
6363
>
64-
let g:coffee_make_options = '--bare'
64+
let coffee_make_options = '--bare'
65+
<
66+
*g:coffee_compile_vert*
67+
Split the CoffeeCompile buffer vertically by default.
68+
>
69+
let coffee_compile_vert = 1
6570
6671
Syntax Highlighting~
6772
*ft-coffee-script-syntax*

0 commit comments

Comments
 (0)