From 3e0c887365bc1ebd55b91dd69ab73f2dee1f00ed Mon Sep 17 00:00:00 2001 From: Dan Reif Date: Mon, 30 Apr 2018 12:00:42 -0700 Subject: Update (periodic rebuild) I originally meant to run this before adding haproxy, but accidentally pushed that into my branch. If you'd like to see that content, it's at https://github.com/CH-DanReif/vim-polyglot/commit/414ad25c3ad1ab9c4b6a99fe4f08d6c30b7e0f57. --- ftplugin/haskell.vim | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 ftplugin/haskell.vim (limited to 'ftplugin/haskell.vim') diff --git a/ftplugin/haskell.vim b/ftplugin/haskell.vim deleted file mode 100644 index b1028620..00000000 --- a/ftplugin/haskell.vim +++ /dev/null @@ -1,20 +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#sortImports(line1, line2) - exe a:line1 . "," . a:line2 . "sort /import\\s\\+\\(qualified\\s\\+\\)\\?/" -endfunction - -function! haskell#formatImport(line1, line2) - exec a:line1 . ",". a:line2 . "s/import\\s\\+\\([A-Z].*\\)/import \\1" -endfunction - -command! -buffer -range HaskellSortImports call haskell#sortImports(, ) -command! -buffer -range HaskellFormatImport call haskell#formatImport(, ) - -endif -- cgit v1.2.3