add: lilypond auto compile for vim

This commit is contained in:
Tobias Reisinger 2020-02-13 20:41:20 +01:00
parent 743a3f8f26
commit e5bbfaa082

View file

@ -19,11 +19,14 @@ set encoding=utf-8
set nowrap set nowrap
" Save cursor position. I don't understand this part
if has("autocmd") if has("autocmd")
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g`\"" | endif " Save cursor position. I don't understand this part
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g`\"" | endif
au FileType lilypond au BufWritePost * !lilypond %
endif endif
" Plug plugins using VimPlug " Plug plugins using VimPlug
call plug#begin('~/.config/vim/plugged') call plug#begin('~/.config/vim/plugged')
Plug 'editorconfig/editorconfig-vim' Plug 'editorconfig/editorconfig-vim'