Add haskell plugin to vim

This commit is contained in:
Felix Suchert 2021-05-18 14:08:19 +02:00
parent 4094698cbe
commit eeb401dc76
Signed by: feliix42
GPG key ID: 24363525EA0E8A99
2 changed files with 7 additions and 0 deletions

View file

@ -22,6 +22,7 @@ Plug 'https://github.com/scrooloose/nerdcommenter.git'
Plug 'rust-lang/rust.vim', { 'for': 'rust' } Plug 'rust-lang/rust.vim', { 'for': 'rust' }
Plug 'cespare/vim-toml', { 'for': 'toml' } Plug 'cespare/vim-toml', { 'for': 'toml' }
Plug 'keith/swift.vim', { 'for': 'swift' } Plug 'keith/swift.vim', { 'for': 'swift' }
Plug 'neovimhaskell/haskell-vim', { 'for': 'haskell' }
Plug 'vim-syntastic/syntastic' Plug 'vim-syntastic/syntastic'
Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline'
@ -43,6 +44,10 @@ Plug 'dense-analysis/ale'
" Initialize plugin system " Initialize plugin system
call plug#end() call plug#end()
" open fzf files in new tab instead of new buffer
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)
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 = 1 let g:airline_powerline_fonts = 1
@ -70,6 +75,7 @@ au BufRead,BufNewFile *.ohuao setfiletype json
" nnoremap <C-H> <C-W><C-H><C-W>\| " nnoremap <C-H> <C-W><C-H><C-W>\|
map <C-H> :tabp<Enter> map <C-H> :tabp<Enter>
map <C-L> :tabn<Enter> map <C-L> :tabn<Enter>
map <leader>f :Files<Enter>
" fix auto-completion " fix auto-completion
set wildmenu " show a completion menu set wildmenu " show a completion menu

View file

@ -22,6 +22,7 @@ Plug 'https://github.com/scrooloose/nerdcommenter.git'
Plug 'rust-lang/rust.vim', { 'for': 'rust' } Plug 'rust-lang/rust.vim', { 'for': 'rust' }
Plug 'cespare/vim-toml', { 'for': 'toml' } Plug 'cespare/vim-toml', { 'for': 'toml' }
Plug 'keith/swift.vim', { 'for': 'swift' } Plug 'keith/swift.vim', { 'for': 'swift' }
" Plug 'neovimhaskell/haskell-vim', { 'for': 'haskell' }
Plug 'vim-syntastic/syntastic' Plug 'vim-syntastic/syntastic'
Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline'