a bit of haskell
This commit is contained in:
1
ftplugin/haskell.vim
Normal file
1
ftplugin/haskell.vim
Normal file
@@ -0,0 +1 @@
|
||||
nnoremap <buffer> <localleader>x :term runhaskell %<cr>
|
||||
@@ -1,2 +1,3 @@
|
||||
nnoremap <buffer> <localleader>x :term cargo run<cr>
|
||||
iabbrev print println!("{}",
|
||||
iabbrev debug println!("{:?}",
|
||||
|
||||
@@ -18,6 +18,7 @@ let s:comment_map = {
|
||||
\ 'cmake': '#',
|
||||
\ 'scheme': ';;',
|
||||
\ 'yaml': '#'
|
||||
\ 'haskell': '--'
|
||||
\ }
|
||||
|
||||
let s:block_map = {
|
||||
|
||||
Reference in New Issue
Block a user