mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated plugins
This commit is contained in:
@ -337,23 +337,15 @@ It behaves very similar to `:make`, described [above](#compile-to-javascript).
|
||||
|
||||
## Literate CoffeeScript
|
||||
|
||||
Literate CoffeeScript syntax and indent support is provided by
|
||||
[vim-literate-coffeescript]. The `Coffee` commands detect when they're running
|
||||
on a litcoffee file and pass the `--literate` flag to their respective tools,
|
||||
but at this time the commands are not automatically loaded when a litcoffee file
|
||||
is opened.
|
||||
Literate CoffeeScript syntax and indent support is now built in! The `Coffee`
|
||||
commands detect when they're running on a litcoffee file and pass the
|
||||
`--literate` flag to their respective tools.
|
||||
|
||||
[vim-literate-coffeescript]: https://github.com/mintplant/vim-literate-coffeescript
|
||||
|
||||
To load them, run
|
||||
|
||||
runtime ftplugin/coffee.vim
|
||||
|
||||
while inside a litcoffee buffer. To do this automatically, add
|
||||
|
||||
autocmd FileType litcoffee runtime ftplugin/coffee.vim
|
||||
|
||||
to your vimrc.
|
||||
Literate CoffeeScript syntax and indent support was written by @mintplant
|
||||
(Michael Smith). A standalone repo
|
||||
[exists](https://github.com/jwhitley/vim-literate-coffeescript), but you'll
|
||||
need to copy the `ftplugin/litcoffee.vim` file or set up an autocmd to get the
|
||||
`Coffee` commands to be automatically loaded for litcoffee files.
|
||||
|
||||
## CoffeeScript in HTML
|
||||
|
||||
|
Reference in New Issue
Block a user