diff options
| author | Syndamia <kamen@syndamia.com> | 2022-11-26 14:09:56 +0200 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2022-11-26 14:09:56 +0200 |
| commit | 83efb7f6a6fa4e363b10032729010e10f26b32b3 (patch) | |
| tree | 60256d4310e668f87da77618f15ec4ec825016dd /.vimrc | |
| parent | 6e8629a8fd062ea857c558a9a8bfe520905102b1 (diff) | |
| download | dotfiles-83efb7f6a6fa4e363b10032729010e10f26b32b3.tar dotfiles-83efb7f6a6fa4e363b10032729010e10f26b32b3.tar.gz dotfiles-83efb7f6a6fa4e363b10032729010e10f26b32b3.zip | |
[vimrc] Added plugins and CodeTerminal configs for haskell
Diffstat (limited to '.vimrc')
| -rw-r--r-- | .vimrc | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 = { |
