Add hledger vim config

This commit is contained in:
Felix Suchert 2022-10-27 11:53:25 +02:00
parent 23baf5e1a0
commit 925dc59ecb
Signed by: feliix42
GPG key ID: 24363525EA0E8A99

View file

@ -32,6 +32,8 @@ Plug 'rhysd/vim-llvm'
" Lingua Franca " Lingua Franca
Plug 'lf-lang/lingua-franca.vim' Plug 'lf-lang/lingua-franca.vim'
Plug 'anekos/hledger-vim'
Plug 'vim-syntastic/syntastic' Plug 'vim-syntastic/syntastic'
Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline'
Plug 'tpope/vim-fugitive' Plug 'tpope/vim-fugitive'
@ -59,6 +61,9 @@ call plug#end()
"command! -bang -nargs=? -complete=dir Files "command! -bang -nargs=? -complete=dir Files
"\ call fzf#vim#files(<q-args>, {'sink': 'tabedit', 'options': ['--info=inline', '--preview', '~/.vim/plugged/fzf.vim/bin/preview.sh {}']}, <bang>0) "\ call fzf#vim#files(<q-args>, {'sink': 'tabedit', 'options': ['--info=inline', '--preview', '~/.vim/plugged/fzf.vim/bin/preview.sh {}']}, <bang>0)
" hledger file type support
autocmd FileType hledger setlocal omnifunc=hledger#complete#omnifunc
set laststatus=2 set laststatus=2
let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#enabled = 1
let g:airline_powerline_fonts = 0 let g:airline_powerline_fonts = 0