From 83efb7f6a6fa4e363b10032729010e10f26b32b3 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 26 Nov 2022 14:09:56 +0200 Subject: [vimrc] Added plugins and CodeTerminal configs for haskell --- .vimrc | 7 +++++-- 1 file 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 = { -- cgit v1.2.3