Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
595 commits
Select commit Hold shift + click to select a range
78a7fe4
More readme
kchmck Jul 7, 2011
01338fc
Remove `coffee_compile_on_save`
kchmck Jul 7, 2011
66426e0
Fix cursor resetting with split windows
kchmck Jul 7, 2011
8b696ae
Combine autocmds
kchmck Jul 7, 2011
54ca23d
Make coffeeSpecialVar Special
kchmck Jul 14, 2011
ccbb20b
Missed a syntax -> syn
kchmck Jul 16, 2011
b087910
Mention redraw quirk workaround
kchmck Jul 16, 2011
2ae0784
Add some tests
kchmck Jul 16, 2011
47b471b
Remove unneeded \@<!
kchmck Jul 17, 2011
4401cd7
Remove main_syntax
kchmck Jul 19, 2011
59b3ff4
Remove unneeded unlet
kchmck Jul 19, 2011
d4d561a
Remove unneeded backslash
kchmck Jul 19, 2011
9127783
Use a character group
kchmck Jul 17, 2011
cf04adc
Update tests
kchmck Jul 19, 2011
ee11d50
Readme
kchmck Jul 21, 2011
c71e8fb
Use coffeeAll instead of TOP for good embedding (#38 part 1)
kchmck Jul 19, 2011
1792a52
Remove coffeeReserved cluster
kchmck Jul 19, 2011
c4cb358
Remove .html.eco test
kchmck Jul 21, 2011
0149893
add an eco test (#38)
Jul 20, 2011
7da6319
Fix nested curlies in interpolations (#38 part 2)
kchmck Jul 19, 2011
4de9531
Don't include coffee twice in .html.eco files
kchmck Jul 19, 2011
73b5232
Add Makefile with initial archive rules
kchmck Aug 5, 2011
807126f
Mention eco and text/coffeescript
kchmck Aug 5, 2011
0216bcf
Fix awkward wording (#44)
kchmck Aug 5, 2011
c800e04
Misc readme
kchmck Aug 5, 2011
cc93ffb
Deprecate coffee_folding
kchmck Aug 5, 2011
1cbb408
Mention two-space indents (#41)
kchmck Aug 5, 2011
25d1ab5
Remove complex assignment highlighting
kchmck Aug 4, 2011
f8716df
Highlight extended operators
kchmck Aug 4, 2011
d782bcd
Move coffeeKeyword above coffeeOperator
kchmck Aug 4, 2011
9a14e76
Move coffeePrototype into coffeeOperator
kchmck Aug 4, 2011
1be39c1
Remove coffeeFunction
kchmck Aug 4, 2011
3b632a5
Highlight coffeeAssignOp separately
kchmck Aug 4, 2011
8de3d18
Highlight the dot in coffeeDot
kchmck Aug 4, 2011
3adabd3
Add coffeeSpecialOp to highlight commas and semicolons
kchmck Aug 5, 2011
c079411
Highlight curlies, brackets, and parens
kchmck Aug 4, 2011
e6b4ed2
Highlight coffeeInterpDelim as PreProc
kchmck Aug 5, 2011
9af8462
Highlight identifiers in dot accesses
kchmck Aug 5, 2011
5d54817
Comments
kchmck Aug 5, 2011
07ed5e9
Add coffeeAll rule to Makefile
kchmck Aug 5, 2011
2a00c71
Update coffeeAll
kchmck Aug 4, 2011
c57634c
Add `display` where it's safe
kchmck Aug 4, 2011
d35fc0a
Move object assignments together
kchmck Aug 5, 2011
21323e1
Update todo
kchmck Aug 4, 2011
b3adf4a
Update tests
kchmck Aug 4, 2011
3720142
Update screenshots
kchmck Aug 5, 2011
bf6140a
Uppercase support file filenames
kchmck Aug 5, 2011
6a9ca66
Ignore reserved words in prototype access
kchmck Aug 6, 2011
c7273cc
Allow whitespace between access and reserved words
kchmck Aug 6, 2011
80fda71
Add Access suffixes
kchmck Aug 6, 2011
dba7385
Update reserved tests
kchmck Aug 6, 2011
94d71bd
Don't clobber numbers in accesses
kchmck Aug 6, 2011
061dd63
Update coffeeAll
kchmck Aug 6, 2011
77201b0
Add coffeeAll to .PHONY
kchmck Aug 6, 2011
92f3c89
Use git rev-list for HASH
kchmck Aug 6, 2011
85f4ff5
Merge $(ARCHIVE) into archive
kchmck Aug 6, 2011
1d69442
Add all to .PHONY
kchmck Aug 6, 2011
4d3d75d
Document Makefile rules
kchmck Aug 6, 2011
c8559a4
Remove unneeded check for =
kchmck Aug 6, 2011
f2789ff
Simplify coffeeAll
kchmck Aug 6, 2011
5385969
Comment
kchmck Aug 10, 2011
736ed2a
Only match certain operators if they have an operand
kchmck Aug 10, 2011
c26f962
Clean up html, eco, and coffee interaction
kchmck Aug 11, 2011
8e162ff
Readme
kchmck Aug 11, 2011
b1b7723
Readme
kchmck Aug 11, 2011
7fb1c81
Readme
kchmck Aug 12, 2011
a10cbb8
Readme
kchmck Aug 12, 2011
716ab75
Add watch and vertical modes to CoffeeCompile (#39)
kchmck Aug 12, 2011
b398722
Uppercase HTML
kchmck Aug 13, 2011
6cedf94
Use vim commands instead of let statements
kchmck Aug 13, 2011
22ffef9
Set nomodifiable in CoffeeCompile
kchmck Aug 13, 2011
50d267e
Readme
kchmck Aug 17, 2011
ae8e04a
Rearrange arguments to git archive
kchmck Aug 17, 2011
2c766d0
Move dot inside character class
kchmck Aug 17, 2011
03f8280
Don't highlight regexes that start with =
kchmck Aug 17, 2011
d0114d1
Add docs in Vim help format
ches Aug 20, 2011
7b8786d
Thanks to ches
kchmck Aug 21, 2011
2b0edcc
Thanks to stephank
kchmck Aug 21, 2011
a18a680
Add github handles to Thanks
kchmck Aug 21, 2011
8759b3f
Remove coffee_folding
kchmck Aug 21, 2011
df2626c
Readme
kchmck Aug 21, 2011
9df82b2
Comment
kchmck Aug 21, 2011
4fdaf71
highlight jst files as html (fixes #37)
Jul 14, 2011
82b0a21
Remove a check for unsupported old vims
kchmck Oct 4, 2011
524dc77
Only highlight `own` after `for`
kchmck Oct 6, 2011
d56b08a
Make coffee a proper compiler
kchmck Oct 6, 2011
e29dab7
Don't run other checks if continuation is first line in file (#50)
kchmck Oct 7, 2011
89a01a1
Added support for coffeescript filter in haml files.
Sep 29, 2011
da537ef
Add preamble to haml file
kchmck Oct 7, 2011
6dcc4e3
add javascript omni-completion
mattsacks Oct 10, 2011
29e932d
Update thanks
kchmck Oct 11, 2011
17c5d66
Inherit coffee from html (#52)
kchmck Oct 11, 2011
5a06407
added coffeekup to ftdetect
Oct 16, 2011
ba398d3
Trim spaces
kchmck Oct 16, 2011
e1121dc
Only set coffee_make_options if it's needed
kchmck Oct 16, 2011
010af73
Highlight anon functions at beginning of line (#53)
kchmck Oct 16, 2011
ea63fa1
Hopefully clean up makeprg escaping (#57, #58)
kchmck Oct 16, 2011
682b637
Update dox
kchmck Oct 17, 2011
ae7d42c
Add News file
kchmck Oct 17, 2011
09497cc
Dox
kchmck Oct 17, 2011
2e3730f
add coffee_split_direction setting
mattsacks Oct 13, 2011
0f7afd6
Only check if coffee_compile_vert exists
kchmck Oct 18, 2011
08bcfe4
Update docks
kchmck Oct 18, 2011
8e58cb0
Docks
kchmck Oct 18, 2011
cb4c2b3
Update Makefile
kchmck Oct 18, 2011
0e04c0f
Version 001
kchmck Oct 18, 2011
59be36b
Clarify github downloads a little (#48)
kchmck Oct 18, 2011
c84bf69
Dox
kchmck Oct 18, 2011
6b5fd91
Yeh, contraction
kchmck Oct 18, 2011
c26756b
Docs
kchmck Oct 20, 2011
c589b46
Fix #9 again
kchmck Oct 28, 2011
0d414b2
Add binary numbers
kchmck Nov 9, 2011
661d8d5
Fix object assignment highlighting (#62)
kchmck Nov 11, 2011
f44acdb
Don't indent after regexes at the end of lines (#63)
kchmck Nov 15, 2011
2450d32
Highlight text/coffeescript inside <head> (#65)
kchmck Nov 27, 2011
9c9acee
Include docs in archive
kchmck Dec 5, 2011
95178c3
Version 002
kchmck Dec 5, 2011
e7a67fc
Fix infinite loop with # at end of line (#67)
kchmck Dec 22, 2011
842091f
Docks
kchmck Dec 22, 2011
5644a0e
Retain indentation level of previous line.
nathansobo Jan 12, 2012
1a5ece7
Don't wrap GetCoffeeIndent
kchmck Jan 30, 2012
ec2cf56
Dox
kchmck Jan 30, 2012
e22db49
Don't need to check if less than zero
kchmck Jan 30, 2012
4136353
If continuing a comment, keep the indent level (#74)
kchmck Jan 31, 2012
87b322e
Make CoffeeCompile per-buffer instead intead of global (#75)
kchmck Feb 13, 2012
1d5baac
detect coffee from shebang line
Feb 4, 2012
c80b5dd
Style tweaks
kchmck Feb 14, 2012
d99805a
Add support for B in binary literals
kchmck Feb 14, 2012
b3e8552
Add coffee_make_compiler to set a compiler path (#78)
kchmck Feb 14, 2012
f60773c
Dox
kchmck Feb 15, 2012
98ef9e0
Update copyrights
kchmck Feb 15, 2012
f78efad
Use single quotes
kchmck Feb 14, 2012
5280294
Add CoffeeLint command
kchmck Feb 15, 2012
e729147
Fix a tiny bug in the docs (spotted by pathogen's doc loader)
lukaszkorecki Feb 15, 2012
830d7f2
Remove unnecessary functions
kchmck Feb 15, 2012
955d04c
Replace coffee_make_compiler with coffee_compiler
kchmck Feb 15, 2012
05281e9
Add coffee_linter option
kchmck Feb 15, 2012
ef41337
Add new octal literals
kchmck Feb 17, 2012
d9ee2d2
Dox
kchmck Feb 17, 2012
d2e96b0
Added support for :coffee in haml file after evaluation to give us so…
Feb 23, 2012
00ae091
Update CoffeeLint for 0.4.0 csv output
kchmck Apr 7, 2012
16cda0c
Update the ol' screenshots
kchmck May 7, 2012
b32071b
Add new reserved words
kchmck May 8, 2012
ed4ab14
Fix extendedOp clobbering leading minus on numbers
kchmck May 8, 2012
3be6dc9
Highlight @identifiers as identifiers
kchmck May 8, 2012
4f06553
Add .ck extension
kchmck May 8, 2012
35be43d
add the ._coffee extension used by streamlinejs
Ang3lFir3 Oct 5, 2012
0304942
Remove redundant ftdetect
kchmck Oct 6, 2012
b6f6993
Deprecate eco support
kchmck Oct 6, 2012
40b085a
Remove deprecated coffee_make_compiler option
kchmck Oct 6, 2012
1445689
Add note to compiler script
kchmck Oct 6, 2012
0e530d8
Add support for coffee-script 1.6 error formats
yourcelf Apr 17, 2013
7ba02ff
address issue #122
CITguy Apr 8, 2013
476df72
Bring CoffeeLint up-to-date with coffeelint 0.5.7
kchmck Aug 21, 2013
278997a
Add litcoffee support to CoffeeCompile
sukima Jul 17, 2013
ce7348c
Add litcoffee support to CoffeeLint
kchmck Aug 22, 2013
be23ab8
Fix CoffeeLint with weird filenames
kchmck Aug 22, 2013
b44c214
Document litcoffee
kchmck Aug 22, 2013
5fa2574
Clarify litcoffee stuff
kchmck Aug 22, 2013
8916d9c
Move common variable set up to a separate file
kchmck Aug 22, 2013
6bdcfee
Actually use current_compiler when setting dummy compiler
kchmck Aug 22, 2013
ca9d58c
Throw away javascript's b:current_syntax (#128)
kchmck Aug 22, 2013
5513d4b
Fix #132, incorrect highlighting with long block comments
kchmck Aug 22, 2013
0a04607
Fix possible bug of function redefinition
kchmck Aug 23, 2013
0116f03
Use single quotes
kchmck Aug 23, 2013
45e9f77
Include column in errorformat
kchmck Aug 23, 2013
9a053de
Include user args last so :make | cwindow works
kchmck Aug 23, 2013
4085998
Link where coffeeReservedError comes from
kchmck Aug 23, 2013
0e6e400
Add bare bones haml test
kchmck Aug 25, 2013
3dd997f
Remove deprecated eco support
kchmck Aug 25, 2013
52e4348
Remove deprecated syntax config variables
kchmck Aug 25, 2013
42e8275
Add cake compiler (#86)
kchmck Aug 25, 2013
6e341bb
Allow b:coffee_litcoffee to be overwritten
kchmck Aug 25, 2013
a491a4d
Use \? instead of *
kchmck Aug 25, 2013
5adeb71
Use stricter regex for matching attribute
kchmck Aug 25, 2013
6e6f865
Deprecate CoffeeMake for make
kchmck Aug 25, 2013
df21ed2
Add support for indenting coffeescript in html
kchmck Aug 25, 2013
05e8e9a
Major rewrite of ftplugin
kchmck Aug 25, 2013
6c6304d
Update dockz
kchmck Aug 25, 2013
84d10d5
Minor readme change
kchmck Aug 25, 2013
c77d766
More minor fixes
kchmck Aug 25, 2013
bc60ca6
Forgot to update CoffeeWatch call in CoffeeCompile
kchmck Aug 25, 2013
68f5c43
Still switch to output buffer even if input empty
kchmck Aug 25, 2013
db750ab
Remove buffer renaming
kchmck Aug 25, 2013
c39de30
Use dynamic scratch buffer names
kchmck Aug 25, 2013
d8aa3fb
Use the stdio mode of coffeelint
kchmck Aug 25, 2013
6c7b9f8
Implement error parsing in CoffeeCompile/CoffeeWatch
kchmck Aug 25, 2013
20ee824
Minor readme change
kchmck Aug 25, 2013
c53f5bb
Add autoload to ARCHIVE_DIRS (#139)
kchmck Aug 28, 2013
ed0cd74
Be more precise
kchmck Aug 30, 2013
7692813
Use literal strings and add a space
kchmck Aug 30, 2013
1375efc
Rewrite zip section
kchmck Aug 30, 2013
73acd2b
Add coffee_indent_keep_current (#98)
kchmck Aug 30, 2013
c121bbb
Use collection-complement instead of \@<! operator
kchmck Aug 30, 2013
f5ff69f
s/linenum/lnum
kchmck Aug 30, 2013
cd54600
Mention autoindent
kchmck Aug 30, 2013
048203f
s/prevlnum/prevnlnum
kchmck Aug 31, 2013
f684ecb
Use the indent of the previous line if it's a comment
kchmck Aug 30, 2013
3f00a2c
`loop` can be used in compound assignments
kchmck Aug 30, 2013
78b4c38
s/SmartSearch/SearchCode
kchmck Aug 30, 2013
5c28f25
Clarify comments
kchmck Aug 30, 2013
45e0d94
Clarify continuation stuff a bit
kchmck Aug 31, 2013
da19c90
Fix #130
kchmck Aug 30, 2013
18ddb76
Sleep so the message is shown
kchmck Aug 31, 2013
bdf7c20
Use q-bang
kchmck Aug 31, 2013
c785c82
Use the same variable to store source buffer in all Coffee commands
kchmck Aug 31, 2013
d178575
Implement custom autocmds
kchmck Aug 31, 2013
f3246b5
Rewrite indent/coffee.vim
kchmck Sep 1, 2013
441eda8
Lines after -> should at least be outdented
kchmck Sep 7, 2013
e6fcdcc
Use # so / doesn't have to be escaped
kchmck Sep 8, 2013
f834e6f
Use a region for regex character classes
kchmck Sep 8, 2013
58dcd8a
Fix compatibility for older vims without shiftwidth()
kchmck Sep 21, 2013
4aea7ab
Add requirements section
kchmck Sep 9, 2013
9241254
Fix passing options to coffee with :make (#145)
kchmck Sep 30, 2013
a88861a
Don't change 'isident'
hinrik Oct 26, 2013
110ec5d
Merge pull request #150 from hinrik/dont_change_isident
kchmck Oct 28, 2013
3b24328
Highlight Infinity and NaN as numbers (#148)
Oct 28, 2013
21741dc
Don't throw error if variable can't be unlet (#151)
kchmck Oct 29, 2013
e799c33
update makeprg before write buf, since we suggest autobuild after wri…
Xe0n0 Dec 9, 2013
3ad9fd0
Don't update makeprg on BufWritePost
kchmck Dec 18, 2013
7d9f824
README: adapt to Vundle interface change
meonkeys Apr 17, 2014
28bb89d
Added suffixesadd to facilitate gf & :find family
dhruvasagar Apr 29, 2014
26786c5
Make commands buffer local
tpope Jun 14, 2014
354397b
Update coffelint csv reporter argument
jcmuller Jun 19, 2014
1523f70
Merge pull request #171 from jcmuller/fix-reporter-option
kchmck Oct 10, 2014
62a65b6
Merge pull request #169 from tpope/buffer-local-commands
kchmck Oct 10, 2014
4867730
Merge pull request #166 from meonkeys/patch-1
kchmck Oct 10, 2014
592eab2
Merge pull request #167 from dhruvasagar/master
kchmck Oct 10, 2014
8abdb9a
Syntax file shouldn't be executable (fix #175)
kchmck Oct 10, 2014
4954054
Do a v003
kchmck Oct 10, 2014
d2021a5
Update copyright date and contact info
kchmck Oct 10, 2014
a5a5802
Update required coffeelint version
kchmck Oct 10, 2014
734ac76
adds `yield` keyword
tur-nr Feb 26, 2015
cbdec9c
reduced possible exponential prefixes to just 'e'
Qix- Apr 7, 2015
178bd95
Merge pull request #185 from tur-nr/yield-syntax
kchmck Apr 20, 2015
281046c
Merge pull request #186 from Qix-/patch-1
kchmck Apr 20, 2015
72356e8
Fixes the suffixesadd value
inside Jun 25, 2015
4094f68
Added debugger keyword
narensrini Aug 31, 2015
34a5e3d
Preserve b:current_syntax while loading syntax as subtype
eugen0329 Apr 17, 2016
fbb7ff7
Merge pull request #192 from inside/suffixesadd
kchmck Jun 29, 2016
c4c0d2e
Merge pull request #203 from eugen0329/master
kchmck Aug 17, 2016
f56c24e
Merge pull request #194 from nare469/master
kchmck Aug 17, 2016
f2ce109
Move import/export from reserved to keyword (#207)
kchmck Sep 19, 2016
6d27b59
Remove helper functions from reserved words (#181)
kchmck Sep 19, 2016
dc38940
html tag attribute values may also be un- or singlequoted.
lucasb-eyer Dec 23, 2016
4212dc7
Merge pull request #210 from lucasb-eyer/scriptfix
kchmck Dec 27, 2016
997faa2
Add await to coffeeKeywords
cmcaine Mar 2, 2017
93bed9b
Merge pull request #212 from cmcaine/master
kchmck Mar 2, 2017
354d26f
Add default to list of keywords and coffeeFunction highlighting.
zeekay Mar 3, 2017
bf7a957
Update syntax.
zeekay Mar 3, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.*.sw[a-z]
.*.un~
doc/tags

15 changes: 15 additions & 0 deletions Copying.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004

Copyright (C) 2010 to 2014 Mick Koch <mick@kochm.co>

Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. You just DO WHAT THE FUCK YOU WANT TO.


25 changes: 25 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
REF = HEAD
VERSION = $(shell git describe --always $(REF))

ARCHIVE = vim-coffee-script-$(VERSION).zip
ARCHIVE_DIRS = after autoload compiler doc ftdetect ftplugin indent syntax

# Don't do anything by default.
all:

# Make vim.org zipball.
archive:
git archive $(REF) -o $(ARCHIVE) -- $(ARCHIVE_DIRS)

# Remove zipball.
clean:
-rm -f $(ARCHIVE)

# Build the list of syntaxes for @coffeeAll.
coffeeAll:
@grep -E 'syn (match|region)' syntax/coffee.vim |\
grep -v 'contained' |\
awk '{print $$3}' |\
uniq

.PHONY: all archive clean hash coffeeAll
22 changes: 22 additions & 0 deletions News.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
### Version 003 (October 10, 2014)

Almost 3 years' worth of fixes and (hopefully) improvements.

### Version 002 (December 5, 2011)

Added binary numbers (0b0101) and fixed some bugs (#9, #62, #63, #65).

### Version 001 (October 18, 2011)

Removed deprecated `coffee_folding` option, added `coffee_compile_vert` option,
split out compiler, fixed indentation and syntax bugs, and added Haml support
and omnicompletion.

- The coffee compiler is now a proper vim compiler that can be loaded with
`:compiler coffee`.
- The `coffee_compile_vert` option can now be set to split the CoffeeCompile
buffer vertically by default.
- CoffeeScript is now highlighted inside the `:coffeescript` filter in Haml.
- Omnicompletion (`:help compl-omni`) now uses JavaScript's dictionary to
complete words.
- We now have a fancy version number.
Loading