diff options
author | David Runge <dave@sleepmap.de> | 2015-04-03 23:48:59 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2015-04-03 23:48:59 +0200 |
commit | 7223cad768c1f60ce9a184759529fdcf5d8bf59e (patch) | |
tree | 0435eab9f1954646142c283e4306d58e12eabf98 /.scvimrc | |
parent | 5094f094bc09bc0add959a19bebb53db5466cfd7 (diff) | |
download | dotfiles-7223cad768c1f60ce9a184759529fdcf5d8bf59e.tar.gz dotfiles-7223cad768c1f60ce9a184759529fdcf5d8bf59e.tar.bz2 dotfiles-7223cad768c1f60ce9a184759529fdcf5d8bf59e.tar.xz dotfiles-7223cad768c1f60ce9a184759529fdcf5d8bf59e.zip |
.scvimrc: Adding filetype support for .schelp files. Auto starting sclang upon opening .scd files.
Diffstat (limited to '.scvimrc')
-rw-r--r-- | .scvimrc | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -13,10 +13,15 @@ au BufWinEnter,BufNewFile,BufRead *.sc set filetype=supercollider au BufWinEnter,BufNewFile,BufRead *.sc let &iskeyword="@,48-57,_,192-255" | runtime ftplugin/supercollider.vim au BufWinEnter,BufNewFile,BufRead *.sc set sw=2 ts=2 autoindent "this line can be changed however you like +"scd files: on open set runtimepath and start sclang +au BufWinEnter,BufNewFile,BufRead *.scd set runtimepath+=/usr/share/vim/addons/ filetype=supercollider +au BufWinEnter,BufNewFile,BufRead *.scd let &iskeyword="@,48-57,_,192-255,-,|" | runtime ftplugin/supercollider.vim | SClangStart +au BufWinEnter,BufNewFile,BufRead *.scd set sw=2 ts=2 autoindent + "sc help files -au BufWinEnter,BufNewFile,BufRead *.scd set filetype=supercollider -au BufWinEnter,BufNewFile,BufRead *.scd let &iskeyword="@,48-57,_,192-255,-,|" | runtime ftplugin/supercollider.vim -au BufWinEnter,BufNewFile,BufRead *.scd set sw=2 ts=2 autoindent "this line can be changed however you like +au BufWinEnter,BufNewFile,BufRead *.schelp set filetype=supercollider +au BufWinEnter,BufNewFile,BufRead *.schelp let &iskeyword="@,48-57,_,192-255,-,|" | runtime ftplugin/supercollider.vim +au BufWinEnter,BufNewFile,BufRead *.schelp set sw=2 ts=2 autoindent "this line can be changed however you like " ================ Indentation ====================== |