diff options
Diffstat (limited to 'ftplugin')
-rw-r--r-- | ftplugin/erlang.vim | 5 | ||||
-rw-r--r-- | ftplugin/fstab.vim | 4 | ||||
-rw-r--r-- | ftplugin/lilypond.vim | 61 |
3 files changed, 5 insertions, 65 deletions
diff --git a/ftplugin/erlang.vim b/ftplugin/erlang.vim index f23ba875..798f1ded 100644 --- a/ftplugin/erlang.vim +++ b/ftplugin/erlang.vim @@ -3,14 +3,15 @@ if polyglot#init#is_disabled(expand('<sfile>:p'), 'erlang', 'ftplugin/erlang.vim endif " Vim ftplugin file -" Language: Erlang +" Language: Erlang (http://www.erlang.org) " Maintainer: Csaba Hoch <csaba.hoch@gmail.com> " Author: Oscar Hellström <oscar@oscarh.net> " Contributors: Ricardo Catalinas Jiménez <jimenezrick@gmail.com> " Eduardo Lopez (http://github.com/tapichu) " Arvid Bjurklint (http://github.com/slarwise) +" Last Update: 2021-Jan-08 " License: Vim license -" Version: 2012/01/25 +" URL: https://github.com/vim-erlang/vim-erlang-runtime if exists('b:did_ftplugin') finish diff --git a/ftplugin/fstab.vim b/ftplugin/fstab.vim index 5f0972ca..437c1247 100644 --- a/ftplugin/fstab.vim +++ b/ftplugin/fstab.vim @@ -6,7 +6,7 @@ endif " Language: fstab file " Maintainer: Radu Dineiu <radu.dineiu@gmail.com> " URL: https://raw.github.com/rid9/vim-fstab/master/ftplugin/fstab.vim -" Last Change: 2020 Dec 29 +" Last Change: 2021 Jan 02 " Version: 1.0 " " Credits: @@ -20,4 +20,4 @@ let b:did_ftplugin = 1 setlocal commentstring=#%s let b:undo_ftplugin = "setlocal commentstring<" -" vim: ts=8 ft=vim
\ No newline at end of file +" vim: ts=8 ft=vim diff --git a/ftplugin/lilypond.vim b/ftplugin/lilypond.vim deleted file mode 100644 index ed2d1cdb..00000000 --- a/ftplugin/lilypond.vim +++ /dev/null @@ -1,61 +0,0 @@ -if polyglot#init#is_disabled(expand('<sfile>:p'), 'lilypond', 'ftplugin/lilypond.vim') - finish -endif - -" LilyPond filetype plugin -" Language: LilyPond (ft=ly) -" Maintainer: Heikki Junes <hjunes@cc.hut.fi> -" Last Change: 2010 Jul 26 -" -" Installed As: vim/ftplugin/lilypond.vim -" Uses Generated File: vim/syntax/lilypond-words.vim -" -" Only do this when not done yet for this buffer -if exists("b:did_ftplugin") - finish -endif - -" Don't load another plugin for this buffer -let b:did_ftplugin = 1 - -setlocal autoindent -setlocal shiftwidth=2 -" -" some handy key mappings -" -" <F4> save & make and play midi with timidity -map <buffer> <F4> :w<Return>:se makeprg=lilypond\ \"%<\"<Return>:make<Return>:!timidity "%<.midi"<Return> -" -" <F5> save & make -map <buffer> <F5> :w<Return>:se makeprg=lilypond\ \"%<\"<Return>:make<Return> -" -" <F6> view ps with ghostview -map <buffer> <F6> :!gv --watch "%<.ps" &<Return> -" -" <F7> prev error -map <buffer> <F7> :cp<Return> -" -" <F8> next error -map <buffer> <F8> :cn<Return> -" -" <F9> make -map <buffer> <F9> :w<Return>:se makeprg=make\ -k<Return>:make<Return> -" -" <F10> menu -source $VIMRUNTIME/menu.vim -setlocal wildmenu -setlocal cpo-=< -setlocal wcm=<C-Z> -map <buffer> <F10> :emenu <C-Z> -" -" <F12> comment region -map <buffer> <F12> :g!/%.*/normal 0i%<Return> -" -" <S-F12> remove comments in region -map <buffer> <S-F12> :g/%.*/normal 0x<Return> -" -" Completions in Insert/Replace-mode with <Ctrl-N> -setlocal dictionary-=$VIM/syntax/lilypond-words dictionary+=$VIM/syntax/lilypond-words -setlocal complete-=k complete+=k -" -setlocal showmatch |