]> git.donarmstrong.com Git - lilypond.git/commitdiff
* vim/ftplugin/lilypond.vim:
authorHeikki Junes <heikki.junes@hut.fi>
Tue, 2 Mar 2004 17:16:16 +0000 (17:16 +0000)
committerHeikki Junes <heikki.junes@hut.fi>
Tue, 2 Mar 2004 17:16:16 +0000 (17:16 +0000)
* vim/syntax/lilypond.vim: use only local settings with setlocal.
show matching paren in insert mode.

ChangeLog
vim/ftplugin/lilypond.vim
vim/syntax/lilypond.vim

index 32368fc3000ba936ad463aa62b45e97e935a88bb..04bce605169c539605eb774c323ce3971a0125f5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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
index 390afe8da150daa9e21faa72fbd201aaba9f6ed1..46470cc6d4dbd412f273cde30e0a4bcc6bcdadc9 100644 (file)
@@ -11,8 +11,8 @@ endif
 " 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
 "
@@ -38,11 +38,11 @@ map <buffer> <F8> :cn<Return>
 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>
@@ -51,6 +51,7 @@ 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
index 717730cbc6fb496bc08ade7e1bbb48321d92f125..a69f30c9618a03f9d647f99d4774466f33c5a51c 100644 (file)
@@ -27,7 +27,7 @@ else
 endif
 
 " Match also parethesis of angle type
-set mps+=<:>
+setlocal mps+=<:>
 
 " Case matters
 syn case match