diff options
Diffstat (limited to 'ftplugin/haskell.vim')
-rw-r--r-- | ftplugin/haskell.vim | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/ftplugin/haskell.vim b/ftplugin/haskell.vim deleted file mode 100644 index 3e9c43f8..00000000 --- a/ftplugin/haskell.vim +++ /dev/null @@ -1,25 +0,0 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haskell') == -1 - -if exists("g:loaded_haskellvim_haskell") - finish -endif - -let g:loaded_haskellvim_haskell = 1 - -function! haskell#makeModuleCommentBlock() - let l:commenttmpl = [ '{-|', - \ 'Module : ', - \ 'Description : ', - \ 'Copyright : ', - \ 'License : ', - \ 'Maintainer : ', - \ 'Stability : ', - \ 'Portability : ', - \ '-}'] - - exe "normal ggO" . join(l:commenttmpl, "\n") -endfunction - -command! -buffer -nargs=0 HaskellAddModuleComment call haskell#makeModuleCommentBlock() - -endif |