summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc7
1 files changed, 5 insertions, 2 deletions
diff --git a/.vimrc b/.vimrc
index d616ee8..52350f9 100644
--- a/.vimrc
+++ b/.vimrc
@@ -29,6 +29,8 @@
Plug 'dNitro/vim-pug-complete', { 'for': ['jade', 'pug'] } " Pug: Omnicompletion integration
Plug 'digitaltoad/vim-pug' " Pug: Filetype detection, identation, syntax highlighting
Plug 'bfrg/vim-cpp-modern' " C/C++: Better syntax highlighting
+ Plug 'itchyny/vim-haskell-indent' " haskell: Adds identation
+ Plug 'vim-scripts/syntaxhaskell.vim' " haskell: Better syntax highlighting
call plug#end()
" }}}
@@ -86,7 +88,7 @@
autocmd BufRead,BufNewFile *.component.css set filetype=css
autocmd FileType css,ts setlocal ts=2 sw=2 sts=0 expandtab " Transform tabs in CSS and TS into 2 spaces
- autocmd FileType lisp,scheme setlocal expandtab
+ autocmd FileType lisp,scheme,haskell setlocal expandtab
" }}}
" Folding {{{
@@ -247,7 +249,8 @@
\ 'scheme': '(enter! "%F")',
\ 'cpp' : "g++ -g -pedantic '%F' && ./a.out",
\ 'yacc' : 'bison -t -d %F',
- \ 'lex' : 'flex %F'
+ \ 'lex' : 'flex %F',
+ \ 'haskell': 'runhaskell "%F"',
\ }
" Building all files in the directory (and subdirectories) of the current file
let g:codebuildproject = {