Add haskell config (unfinished)

This commit is contained in:
Vladan Popovic 2020-06-16 21:38:14 +02:00
parent 662ebf4c38
commit 74431bb43f
3 changed files with 12 additions and 2 deletions

View File

@ -12,3 +12,5 @@ highlight ALEWarning ctermbg=Yellow
highlight ALEWarning ctermfg=Black
highlight ALEError ctermbg=DarkRed
highlight ALEError ctermfg=White
let g:airline#extensions#ale#enabled = 1

View File

@ -0,0 +1,3 @@
nnoremap <Leader>ht :GhcModType<cr>
nnoremap <Leader>htc :GhcModTypeClear<cr>
autocmd FileType haskell nnoremap <buffer> <leader>? :call ale#cursor#ShowCursorDetail()<cr>

View File

@ -23,8 +23,6 @@ Plugin 'elmcast/elm-vim'
" Rust
Plugin 'rust-lang/rust.vim'
Plugin 'racer-rust/vim-racer' " Rust Language Server
" RST
Plugin 'Rykka/riv.vim' " rst formatter and highlighter
" Python
Plugin 'vim-scripts/indentpython.vim'
" Async Lint Engine
@ -37,4 +35,11 @@ Plugin 'vim-scripts/DrawIt'
" Highlight ion shell scripts
Plugin 'vmchale/ion-vim'
Plugin 'vim-airline/vim-airline'
Plugin 'eagletmt/ghcmod-vim'
Plugin 'Shougo/vimproc'
Plugin 'neovimhaskell/haskell-vim.git'
call vundle#end()