Add haskell config (unfinished)
This commit is contained in:
parent
662ebf4c38
commit
74431bb43f
3 changed files with 12 additions and 2 deletions
|
@ -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
|
||||
|
|
3
.vim/ftplugin/haskell.vim
Normal file
3
.vim/ftplugin/haskell.vim
Normal 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>
|
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue