diff --git a/ftplugin/haskell.vim b/ftplugin/haskell.vim new file mode 100644 index 0000000..8b057f4 --- /dev/null +++ b/ftplugin/haskell.vim @@ -0,0 +1 @@ +nnoremap x :term runhaskell % diff --git a/ftplugin/rust.vim b/ftplugin/rust.vim index 45a703e..4a3e937 100644 --- a/ftplugin/rust.vim +++ b/ftplugin/rust.vim @@ -1,2 +1,3 @@ nnoremap x :term cargo run iabbrev print println!("{}", +iabbrev debug println!("{:?}", diff --git a/plugin/comment.vim b/plugin/comment.vim index e96f3c7..3f2246e 100644 --- a/plugin/comment.vim +++ b/plugin/comment.vim @@ -18,6 +18,7 @@ let s:comment_map = { \ 'cmake': '#', \ 'scheme': ';;', \ 'yaml': '#' + \ 'haskell': '--' \ } let s:block_map = {