Mercurial > vim
annotate runtime/ftplugin/groovy.vim @ 20747:32f24b8c9c2d v8.2.0926
patch 8.2.0926: cmdline test fails on Appveyor
Commit: https://github.com/vim/vim/commit/951a2fb1b87af7e3be81e85a3769a17a13fd5040
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 7 19:38:10 2020 +0200
patch 8.2.0926: cmdline test fails on Appveyor
Problem: Cmdline test fails on Appveyor.
Solution: Add CR to the commands. (Naruhiko Nishino, closes https://github.com/vim/vim/issues/6220)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 07 Jun 2020 19:45:03 +0200 |
parents | bc38030aec7d |
children | 7c7432a53a6c |
rev | line source |
---|---|
9116
bc38030aec7d
commit https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 " Vim filetype plugin file |
bc38030aec7d
commit https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 " Language: groovy |
bc38030aec7d
commit https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 " Maintainer: Justin M. Keyes <justinkz@gmail.com> |
bc38030aec7d
commit https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 " Last Change: 2016 May 22 |
bc38030aec7d
commit https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
5 |
bc38030aec7d
commit https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
6 if exists('b:did_ftplugin') |
bc38030aec7d
commit https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
7 finish |
bc38030aec7d
commit https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
8 endif |
bc38030aec7d
commit https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
9 let b:did_ftplugin = 1 |
bc38030aec7d
commit https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
10 |
bc38030aec7d
commit https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
11 let s:cpo_save = &cpo |
bc38030aec7d
commit https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
12 set cpo-=C |
bc38030aec7d
commit https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
13 |
bc38030aec7d
commit https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
14 let b:undo_ftplugin = 'setlocal commentstring<' |
bc38030aec7d
commit https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
15 |
bc38030aec7d
commit https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
16 setlocal commentstring=//%s |
bc38030aec7d
commit https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
17 |
bc38030aec7d
commit https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
18 let &cpo = s:cpo_save |
bc38030aec7d
commit https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
19 unlet s:cpo_save |