annotate runtime/ftplugin/prolog.vim @ 14603:d1b69129db99
v8.1.0315
patch 8.1.0315: helpgrep with language doesn't work properly
commit https://github.com/vim/vim/commit/c631f2df624954184509df49479d52ad7fe5233b
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 21 21:58:13 2018 +0200
patch 8.1.0315: helpgrep with language doesn't work properly
Problem: Helpgrep with language doesn't work properly. (Takuya Fujiwara)
Solution: Check for the language earlier. (Hirohito Higashi)
author |
Christian Brabandt <cb@256bit.org> |
date |
Tue, 21 Aug 2018 22:00:05 +0200 |
parents |
1218c5353e2b |
children |
|
rev |
line source |
375
|
1 " Vim filetype plugin file
|
11062
|
2 " Language: Prolog
|
|
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
|
389
|
14 let b:undo_ftplugin = "setl com< cms< fo<"
|
375
|
15
|
|
16 setlocal comments=s1:/*,mb:*,ex:*/,:% commentstring=%\ %s
|
389
|
17 setlocal formatoptions-=t formatoptions+=croql
|
1698
|
18
|
|
19 let &cpo = s:cpo_save
|
|
20 unlet s:cpo_save
|