a bit of haskell

This commit is contained in:
2020-02-05 20:11:46 +01:00
parent 29aa9b8719
commit 7afbdedd7d
3 changed files with 3 additions and 0 deletions

1
ftplugin/haskell.vim Normal file
View File

@@ -0,0 +1 @@
nnoremap <buffer> <localleader>x :term runhaskell %<cr>

View File

@@ -1,2 +1,3 @@
nnoremap <buffer> <localleader>x :term cargo run<cr>
iabbrev print println!("{}",
iabbrev debug println!("{:?}",

View File

@@ -18,6 +18,7 @@ let s:comment_map = {
\ 'cmake': '#',
\ 'scheme': ';;',
\ 'yaml': '#'
\ 'haskell': '--'
\ }
let s:block_map = {