annotate runtime/ftplugin/haskell.vim @ 14373:380217380738
v8.1.0201
patch 8.1.0201: newer Python uses "importlib" instead of "imp"
commit https://github.com/vim/vim/commit/79a494d5e2f97c10e74f92ea529552623c314422
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 22 04:30:21 2018 +0200
patch 8.1.0201: newer Python uses "importlib" instead of "imp"
Problem: Newer Python uses "importlib" instead of "imp".
Solution: Use "importlib" for newer Python versions. (closes https://github.com/vim/vim/issues/3163)
author |
Christian Brabandt <cb@256bit.org> |
date |
Sun, 22 Jul 2018 04:45:04 +0200 |
parents |
1218c5353e2b |
children |
0ecb909e3249 |
rev |
line source |
375
|
1 " Vim filetype plugin file
|
11062
|
2 " Language: Haskell
|
|
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
|
4 " Latest Revision: 2008-07-09
|
375
|
5
|
|
6 if exists("b:did_ftplugin")
|
|
7 finish
|
|
8 endif
|
|
9 let b:did_ftplugin = 1
|
|
10
|
1698
|
11 let s:cpo_save = &cpo
|
|
12 set cpo&vim
|
|
13
|
1121
|
14 let b:undo_ftplugin = "setl com< cms< fo<"
|
375
|
15
|
|
16 setlocal comments=s1fl:{-,mb:-,ex:-},:-- commentstring=--\ %s
|
389
|
17 setlocal formatoptions-=t formatoptions+=croql
|
1698
|
18
|
|
19 let &cpo = s:cpo_save
|
|
20 unlet s:cpo_save
|