+2004-03-02 Heikki Junes <hjunes@cc.hut.fi>
+
+ * vim/ftplugin/lilypond.vim:
+ * vim/syntax/lilypond.vim: use only local settings with setlocal.
+ show matching paren in insert mode.
+
2004-03-02 Jan Nieuwenhuizen <janneke@gnu.org>
* scm/output-ps.scm (make-title, output-scopes): Further
" Don't load another plugin for this buffer
let b:did_ftplugin = 1
-set autoindent
-set shiftwidth=2
+setlocal autoindent
+setlocal shiftwidth=2
"
" some handy key mappings
"
map <buffer> <F9> :w<Return>:se makeprg=make\ -k<Return>:make<Return>
"
" <F10> menu
-:source $VIMRUNTIME/menu.vim
-:set wildmenu
-:set cpo-=<
-:set wcm=<C-Z>
-:map <buffer> <F10> :emenu <C-Z>
+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>
map <buffer> <S-F12> :g/%.*/normal 0x<Return>
"
" Completions in Insert/Replace-mode with <Ctrl-N>
-set dictionary-=~/.vim/syntax/lilypond.words.el dictionary+=~/.vim/syntax/lilypond.words.el
-set complete-=k complete+=k
-
+setlocal dictionary-=~/.vim/syntax/lilypond.words.el dictionary+=~/.vim/syntax/lilypond.words.el
+setlocal complete-=k complete+=k
+"
+setlocal showmatch