1 |
commit: 5e5dd45eb844246f50482df3d2ba3cd2f99fad56 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 9 13:05:09 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 9 13:05:09 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e5dd45e |
7 |
|
8 |
app-vim/editorconfig-vim: Remove old |
9 |
|
10 |
Closes: https://bugs.gentoo.org/737356 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
app-vim/editorconfig-vim/Manifest | 2 - |
14 |
.../editorconfig-vim-0.3.3-r2.ebuild | 42 ---- |
15 |
.../editorconfig-vim-1.0.0_beta.ebuild | 39 ---- |
16 |
.../files/editorconfig-vim-0.3.3-fixes.patch | 92 --------- |
17 |
...ditorconfig-vim-0.3.3-max-line-length-off.patch | 20 -- |
18 |
.../files/editorconfig-vim-0.3.3-python3.patch | 213 --------------------- |
19 |
...ditorconfig-vim-1.0.0_beta-wildcard-slash.patch | 22 --- |
20 |
7 files changed, 430 deletions(-) |
21 |
|
22 |
diff --git a/app-vim/editorconfig-vim/Manifest b/app-vim/editorconfig-vim/Manifest |
23 |
index 0581d9b1997..f06ac84b76c 100644 |
24 |
--- a/app-vim/editorconfig-vim/Manifest |
25 |
+++ b/app-vim/editorconfig-vim/Manifest |
26 |
@@ -1,3 +1 @@ |
27 |
-DIST editorconfig-vim-0.3.3.tar.gz 35395 BLAKE2B a7b65c1472024017dd408e5c4ac5048004d0bd55f44c7cfba49b5973cb445125ed89cc3d4363fb902a4c5fbb507f3ee5ed0ca48aece3fb6915e643bae0dbf70c SHA512 2dd968cf6bb162db8e6242ffb60cc61fb05a8042804b6b46b9f9cd35be968f83b473f04797e47c5cff11d7c052ff523bf8ba1d568992d44b72b97b54a81425a1 |
28 |
-DIST editorconfig-vim-1.0.0-beta.tar.gz 31519 BLAKE2B 2d5e8e55e8dccc0b45453b8da9ecad80867a84d1ea20146581886f793c093c201521a7d1d4451122ae441d30f58acec28d29aa20da9de737b5beb7f44d55c0ed SHA512 159e3ca32a7ffe71853ba62a14d0469310b81345b0e704dd6a9f42c56f6f6b9a3f63502ccabcf43a15443acf4acefdaf078063ae747f49315b89f5518d7f9816 |
29 |
DIST editorconfig-vim-1.1.1.tar.gz 33287 BLAKE2B 4c79ac3bf1f82ca6182480ab2f3c2ee24b8234f5845c63d90434bb57271981554a0651d8bc0314c718ad9700adf7903fed45f5e400d8ae8a0b6d42932e89e071 SHA512 7b94db4b2f641ecd2d2623bf55bf9b457c007b2b5c8553cba5b7a75bc34823d6995d3c9ed13febe0f59de6f87c52eb0367591213c43c6fcd7c331c529126f4d6 |
30 |
|
31 |
diff --git a/app-vim/editorconfig-vim/editorconfig-vim-0.3.3-r2.ebuild b/app-vim/editorconfig-vim/editorconfig-vim-0.3.3-r2.ebuild |
32 |
deleted file mode 100644 |
33 |
index 006508da113..00000000000 |
34 |
--- a/app-vim/editorconfig-vim/editorconfig-vim-0.3.3-r2.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,42 +0,0 @@ |
37 |
-# Copyright 1999-2020 Gentoo Authors |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
- |
40 |
-EAPI=6 |
41 |
- |
42 |
-PYTHON_COMPAT=(python3_6) |
43 |
-inherit python-single-r1 vim-plugin |
44 |
- |
45 |
-DESCRIPTION="vim plugin: Support EditorConfig files " |
46 |
-HOMEPAGE="https://editorconfig.org/" |
47 |
-SRC_URI="https://github.com/${PN%-vim}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
48 |
- |
49 |
-LICENSE="BSD-2" |
50 |
-KEYWORDS="~amd64 ~x86" |
51 |
-IUSE="" |
52 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
53 |
- |
54 |
-DEPEND=" |
55 |
- ${PYTHON_DEPS} |
56 |
- $(python_gen_cond_dep ' |
57 |
- dev-python/editorconfig-core-py[${PYTHON_MULTI_USEDEP}] |
58 |
- ') |
59 |
- || ( |
60 |
- app-editors/vim[python,${PYTHON_SINGLE_USEDEP}] |
61 |
- app-editors/gvim[python,${PYTHON_SINGLE_USEDEP}] |
62 |
- )" |
63 |
-RDEPEND="${DEPEND}" |
64 |
- |
65 |
-PATCHES=( |
66 |
- "${FILESDIR}/${P}-python3.patch" |
67 |
- "${FILESDIR}/${P}-max-line-length-off.patch" |
68 |
- "${FILESDIR}/${P}-fixes.patch" |
69 |
-) |
70 |
- |
71 |
-VIM_PLUGIN_HELPFILES="${PN%-vim}.txt" |
72 |
- |
73 |
-src_prepare() { |
74 |
- default |
75 |
- |
76 |
- rm LICENSE mkzip.sh .editorconfig .gitignore .travis.yml || die |
77 |
- rm -r tests plugin/${PN%-vim}-core-py || die |
78 |
-} |
79 |
|
80 |
diff --git a/app-vim/editorconfig-vim/editorconfig-vim-1.0.0_beta.ebuild b/app-vim/editorconfig-vim/editorconfig-vim-1.0.0_beta.ebuild |
81 |
deleted file mode 100644 |
82 |
index 7afd3f83e13..00000000000 |
83 |
--- a/app-vim/editorconfig-vim/editorconfig-vim-1.0.0_beta.ebuild |
84 |
+++ /dev/null |
85 |
@@ -1,39 +0,0 @@ |
86 |
-# Copyright 1999-2020 Gentoo Authors |
87 |
-# Distributed under the terms of the GNU General Public License v2 |
88 |
- |
89 |
-EAPI=7 |
90 |
- |
91 |
-inherit vim-plugin |
92 |
- |
93 |
-MY_PV="${PV//_/-}" |
94 |
-MY_P="${PN}-${MY_PV}" |
95 |
- |
96 |
-DESCRIPTION="vim plugin: Support EditorConfig files " |
97 |
-HOMEPAGE="https://editorconfig.org/" |
98 |
-SRC_URI="https://github.com/${PN%-vim}/${PN}/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz" |
99 |
-S="${WORKDIR}/${MY_P}" |
100 |
- |
101 |
-LICENSE="BSD-2 PSF-2" |
102 |
-KEYWORDS="~amd64 ~x86" |
103 |
- |
104 |
-VIM_PLUGIN_HELPFILES="${PN%-vim}.txt" |
105 |
- |
106 |
-PATCHES=( |
107 |
- "${FILESDIR}/editorconfig-vim-1.0.0_beta-wildcard-slash.patch" |
108 |
-) |
109 |
- |
110 |
-src_prepare() { |
111 |
- default |
112 |
- |
113 |
- rm LICENSE LICENSE.PSF \ |
114 |
- mkzip.sh .editorconfig \ |
115 |
- .git{ignore,modules} \ |
116 |
- .{travis,appveyor}.yml || die |
117 |
-} |
118 |
- |
119 |
-src_install() { |
120 |
- # we don't want to install the tests |
121 |
- rm -r tests || die |
122 |
- |
123 |
- vim-plugin_src_install |
124 |
-} |
125 |
|
126 |
diff --git a/app-vim/editorconfig-vim/files/editorconfig-vim-0.3.3-fixes.patch b/app-vim/editorconfig-vim/files/editorconfig-vim-0.3.3-fixes.patch |
127 |
deleted file mode 100644 |
128 |
index 95556008873..00000000000 |
129 |
--- a/app-vim/editorconfig-vim/files/editorconfig-vim-0.3.3-fixes.patch |
130 |
+++ /dev/null |
131 |
@@ -1,92 +0,0 @@ |
132 |
-diff --git a/doc/editorconfig.txt b/doc/editorconfig.txt |
133 |
-index bd6173b..3b32012 100644 |
134 |
---- a/doc/editorconfig.txt |
135 |
-+++ b/doc/editorconfig.txt |
136 |
-@@ -79,7 +79,8 @@ empty. There are 3 modes currently: "external_command", "python_builtin", |
137 |
- "python_external". |
138 |
- |
139 |
- python_builtin: Use the vim built-in python to run the python version |
140 |
-- EditorConfig Core. |
141 |
-+ EditorConfig Core. In this mode, Python 2.5 or higher |
142 |
-+ is required. |
143 |
- python_external: Use an external python interpreter to run the python |
144 |
- version EditorConfig Core. |
145 |
- external_command: Run external EditorConfig Core. |
146 |
-diff --git a/plugin/editorconfig.vim b/plugin/editorconfig.vim |
147 |
-index af4f630..9abd008 100644 |
148 |
---- a/plugin/editorconfig.vim |
149 |
-+++ b/plugin/editorconfig.vim |
150 |
-@@ -121,15 +121,15 @@ function! s:FindPythonFiles() " {{{1 |
151 |
- |
152 |
- let l:python_core_files_dir = fnamemodify( |
153 |
- \ findfile(g:EditorConfig_python_files_dir . '/main.py', |
154 |
-- \ ','.&runtimepath), ':p:h') |
155 |
-+ \ fnameescape(','.&runtimepath)), ':p:h') |
156 |
- |
157 |
- if empty(l:python_core_files_dir) |
158 |
- let l:python_core_files_dir = '' |
159 |
- else |
160 |
- |
161 |
-- " expand python core file path to full path, and remove the appending '/' |
162 |
-- let l:python_core_files_dir = substitute( |
163 |
-- \ fnamemodify(l:python_core_files_dir, ':p'), '/$', '', '') |
164 |
-+ " expand python core file path to full path, and remove the appending '/' |
165 |
-+ let l:python_core_files_dir = substitute( |
166 |
-+ \ fnamemodify(l:python_core_files_dir, ':p'), '/$', '', '') |
167 |
- endif |
168 |
- |
169 |
- let &shellslash = l:old_shellslash |
170 |
-@@ -247,7 +247,7 @@ function! s:InitializePythonBuiltin(editorconfig_core_py_dir) " {{{2 |
171 |
- " The following line modifies l:ret. This is a bit confusing but |
172 |
- " unfortunately to be compatible with Vim 7.3, we cannot use pyeval. This |
173 |
- " should be changed in the future. |
174 |
-- execute s:pyfile_cmd s:pyscript_path |
175 |
-+ execute s:pyfile_cmd fnameescape(s:pyscript_path) |
176 |
- |
177 |
- return l:ret |
178 |
- endfunction |
179 |
-@@ -327,14 +327,19 @@ endif |
180 |
- |
181 |
- function! s:UseConfigFiles() |
182 |
- |
183 |
-+ let l:buffer_name = expand('%:p') |
184 |
- " ignore buffers without a name |
185 |
-- if empty(expand('%:p')) |
186 |
-+ if empty(l:buffer_name) |
187 |
- return |
188 |
- endif |
189 |
- |
190 |
-+ if g:EditorConfig_verbose |
191 |
-+ echo 'Applying EditorConfig on file "' . l:buffer_name . '"' |
192 |
-+ endif |
193 |
-+ |
194 |
- " Ignore specific patterns |
195 |
- for pattern in g:EditorConfig_exclude_patterns |
196 |
-- if expand('%:p') =~ pattern |
197 |
-+ if l:buffer_name =~ pattern |
198 |
- return |
199 |
- endif |
200 |
- endfor |
201 |
-@@ -386,8 +391,8 @@ endfunction |
202 |
- function! s:UseConfigFiles_Python_External() " {{{2 |
203 |
- " Use external python interp to run the python EditorConfig Core |
204 |
- |
205 |
-- let l:cmd = s:editorconfig_python_interp . ' ' . |
206 |
-- \ s:editorconfig_core_py_dir . '/main.py' |
207 |
-+ let l:cmd = shellescape(s:editorconfig_python_interp) . ' ' . |
208 |
-+ \ shellescape(s:editorconfig_core_py_dir . '/main.py') |
209 |
- |
210 |
- call s:SpawnExternalParser(l:cmd) |
211 |
- |
212 |
-@@ -445,6 +450,11 @@ function! s:SpawnExternalParser(cmd) " {{{2 |
213 |
- return |
214 |
- endif |
215 |
- |
216 |
-+ if g:EditorConfig_verbose |
217 |
-+ echo 'Output from EditorConfig core executable:' |
218 |
-+ echo l:parsing_result |
219 |
-+ endif |
220 |
-+ |
221 |
- for one_line in l:parsing_result |
222 |
- let l:eq_pos = stridx(one_line, '=') |
223 |
- |
224 |
|
225 |
diff --git a/app-vim/editorconfig-vim/files/editorconfig-vim-0.3.3-max-line-length-off.patch b/app-vim/editorconfig-vim/files/editorconfig-vim-0.3.3-max-line-length-off.patch |
226 |
deleted file mode 100644 |
227 |
index be5d736a385..00000000000 |
228 |
--- a/app-vim/editorconfig-vim/files/editorconfig-vim-0.3.3-max-line-length-off.patch |
229 |
+++ /dev/null |
230 |
@@ -1,20 +0,0 @@ |
231 |
-commit 6e7011712398e53671e5a44edefeb68914562a3a |
232 |
-Author: Hong Xu <hong@××××××.net> |
233 |
-Date: Wed Apr 6 00:34:26 2016 -0700 |
234 |
- |
235 |
- Support max_line_length=off to leave the decision to the editor settings. |
236 |
- |
237 |
-diff --git a/plugin/editorconfig.vim b/plugin/editorconfig.vim |
238 |
-index 9abd008..0e9d647 100644 |
239 |
---- a/plugin/editorconfig.vim |
240 |
-+++ b/plugin/editorconfig.vim |
241 |
-@@ -563,7 +563,8 @@ function! s:ApplyConfig(config) " {{{1 |
242 |
- endif |
243 |
- |
244 |
- " highlight the columns following max_line_length |
245 |
-- if has_key(a:config, 'max_line_length') |
246 |
-+ if has_key(a:config, 'max_line_length') && |
247 |
-+ \ a:config['max_line_length'] != 'off' |
248 |
- let l:max_line_length = str2nr(a:config['max_line_length']) |
249 |
- |
250 |
- if l:max_line_length >= 0 |
251 |
|
252 |
diff --git a/app-vim/editorconfig-vim/files/editorconfig-vim-0.3.3-python3.patch b/app-vim/editorconfig-vim/files/editorconfig-vim-0.3.3-python3.patch |
253 |
deleted file mode 100644 |
254 |
index 848582ab02e..00000000000 |
255 |
--- a/app-vim/editorconfig-vim/files/editorconfig-vim-0.3.3-python3.patch |
256 |
+++ /dev/null |
257 |
@@ -1,213 +0,0 @@ |
258 |
-commit c2b7a104b826b7ff9283d32cb95a039ddccde79b |
259 |
-Author: Shunsuke Shimizu <grafi@×××××.jp> |
260 |
-Date: Sun Jan 10 00:12:10 2016 -0800 |
261 |
- |
262 |
- Make the plugin to be compatible with Python 3. |
263 |
- |
264 |
- Squashed commit of the following: |
265 |
- |
266 |
- commit 0973c5179e504ffbd74a38d6557bb49fe3bf8b5d |
267 |
- Author: Hong Xu <hong@××××××.net> |
268 |
- Date: Sun Jan 10 00:11:11 2016 -0800 |
269 |
- |
270 |
- Some minor corrections |
271 |
- |
272 |
- commit ca17e97e86bd6379bcf3782adfa200c1589cab69 |
273 |
- Author: Shunsuke Shimizu <grafi@×××××.jp> |
274 |
- Date: Sun Jan 10 15:24:13 2016 +0900 |
275 |
- |
276 |
- vim 7.3 support by using `py[3]` command instead of `py[3]eval()` function |
277 |
- |
278 |
- commit c51ae80ce0ca8fe24c014a7c2d54a85d604d3c88 |
279 |
- Author: grafi <grafi@×××××.jp> |
280 |
- Date: Sun Jan 10 14:42:38 2016 +0900 |
281 |
- |
282 |
- use print_function on python2 |
283 |
- |
284 |
- commit 401a9486bba7528aa4d54b06b8ef3ace582829c9 |
285 |
- Author: grafi <grafi@×××××.jp> |
286 |
- Date: Sun Jan 10 14:33:25 2016 +0900 |
287 |
- |
288 |
- assure that sys.path is cleaned |
289 |
- |
290 |
- commit f3bf442429d9579a336a1bb8f98fee82710fbd1e |
291 |
- Author: grafi <grafi@×××××.jp> |
292 |
- Date: Sun Jan 10 14:22:45 2016 +0900 |
293 |
- |
294 |
- python3 style print |
295 |
- |
296 |
- commit 8e059379328b23e4253f76cbd72d3ef484501d42 |
297 |
- Author: Shunsuke Shimizu <grafi@×××××.jp> |
298 |
- Date: Sat Dec 26 07:54:49 2015 +0900 |
299 |
- |
300 |
- Support python3 |
301 |
- |
302 |
-diff --git a/plugin/editorconfig.py b/plugin/editorconfig.py |
303 |
-new file mode 100644 |
304 |
-index 0000000..21ea9c7 |
305 |
---- /dev/null |
306 |
-+++ b/plugin/editorconfig.py |
307 |
-@@ -0,0 +1,42 @@ |
308 |
-+from __future__ import print_function |
309 |
-+ |
310 |
-+try: |
311 |
-+ try: |
312 |
-+ import vim |
313 |
-+ import sys |
314 |
-+ except: |
315 |
-+ vim.command('let l:ret = 2') |
316 |
-+ raise |
317 |
-+ |
318 |
-+ try: |
319 |
-+ sys.path.insert(0, vim.eval('a:editorconfig_core_py_dir')) |
320 |
-+ |
321 |
-+ import editorconfig |
322 |
-+ import editorconfig.exceptions as editorconfig_except |
323 |
-+ except: |
324 |
-+ vim.command('let l:ret = 3') |
325 |
-+ raise |
326 |
-+ finally: |
327 |
-+ del sys.path[0] |
328 |
-+ |
329 |
-+ # `ec_` prefix is used in order to keep clean Python namespace |
330 |
-+ ec_data = {} |
331 |
-+ |
332 |
-+ def ec_UseConfigFiles(): |
333 |
-+ ec_data['filename'] = vim.eval("expand('%:p')") |
334 |
-+ ec_data['conf_file'] = ".editorconfig" |
335 |
-+ |
336 |
-+ try: |
337 |
-+ ec_data['options'] = editorconfig.get_properties(ec_data['filename']) |
338 |
-+ except editorconfig_except.EditorConfigError as e: |
339 |
-+ if int(vim.eval('g:EditorConfig_verbose')) != 0: |
340 |
-+ print(str(e), file=sys.stderr) |
341 |
-+ vim.command('let l:ret = 1') |
342 |
-+ return |
343 |
-+ |
344 |
-+ for key, value in ec_data['options'].items(): |
345 |
-+ vim.command("let l:config['" + key.replace("'", "''") + "'] = " + |
346 |
-+ "'" + value.replace("'", "''") + "'") |
347 |
-+ |
348 |
-+except: |
349 |
-+ pass |
350 |
-diff --git a/plugin/editorconfig.vim b/plugin/editorconfig.vim |
351 |
-index a21b103..af4f630 100644 |
352 |
---- a/plugin/editorconfig.vim |
353 |
-+++ b/plugin/editorconfig.vim |
354 |
-@@ -36,6 +36,8 @@ let g:loaded_EditorConfig = 1 |
355 |
- let s:saved_cpo = &cpo |
356 |
- set cpo&vim |
357 |
- |
358 |
-+let s:pyscript_path = expand('<sfile>:p:r') . '.py' |
359 |
-+ |
360 |
- " variables {{{1 |
361 |
- if !exists('g:EditorConfig_exec_path') |
362 |
- let g:EditorConfig_exec_path = '' |
363 |
-@@ -231,48 +233,23 @@ function! s:InitializePythonBuiltin(editorconfig_core_py_dir) " {{{2 |
364 |
- |
365 |
- let s:builtin_python_initialized = 1 |
366 |
- |
367 |
-- let l:ret = 0 |
368 |
-- |
369 |
-- if !has('python') |
370 |
-+ if has('python') |
371 |
-+ let s:pyfile_cmd = 'pyfile' |
372 |
-+ let s:py_cmd = 'py' |
373 |
-+ elseif has('python3') |
374 |
-+ let s:pyfile_cmd = 'py3file' |
375 |
-+ let s:py_cmd = 'py3' |
376 |
-+ else |
377 |
- return 1 |
378 |
- endif |
379 |
- |
380 |
-- python << EEOOFF |
381 |
-- |
382 |
--try: |
383 |
-- import vim |
384 |
-- import sys |
385 |
--except: |
386 |
-- vim.command('let l:ret = 2') |
387 |
-- |
388 |
--EEOOFF |
389 |
-- |
390 |
-- if l:ret != 0 |
391 |
-- return l:ret |
392 |
-- endif |
393 |
-- |
394 |
-- python << EEOOFF |
395 |
-- |
396 |
--try: |
397 |
-- sys.path.insert(0, vim.eval('a:editorconfig_core_py_dir')) |
398 |
-- |
399 |
-- import editorconfig |
400 |
-- import editorconfig.exceptions as editorconfig_except |
401 |
-- |
402 |
--except: |
403 |
-- vim.command('let l:ret = 3') |
404 |
-- |
405 |
--del sys.path[0] |
406 |
-- |
407 |
--ec_data = {} # used in order to keep clean Python namespace |
408 |
-- |
409 |
--EEOOFF |
410 |
-- |
411 |
-- if l:ret != 0 |
412 |
-- return l:ret |
413 |
-- endif |
414 |
-+ let l:ret = 0 |
415 |
-+ " The following line modifies l:ret. This is a bit confusing but |
416 |
-+ " unfortunately to be compatible with Vim 7.3, we cannot use pyeval. This |
417 |
-+ " should be changed in the future. |
418 |
-+ execute s:pyfile_cmd s:pyscript_path |
419 |
- |
420 |
-- return 0 |
421 |
-+ return l:ret |
422 |
- endfunction |
423 |
- |
424 |
- " Do some initalization for the case that the user has specified core mode {{{1 |
425 |
-@@ -388,41 +365,22 @@ augroup END |
426 |
- function! s:UseConfigFiles_Python_Builtin() " {{{2 |
427 |
- " Use built-in python to run the python EditorConfig core |
428 |
- |
429 |
-- let l:config = {} |
430 |
-- let l:ret = 0 |
431 |
-- |
432 |
- " ignore buffers that do not have a file path associated |
433 |
- if empty(expand('%:p')) |
434 |
- return 0 |
435 |
- endif |
436 |
- |
437 |
-- python << EEOOFF |
438 |
-- |
439 |
--ec_data['filename'] = vim.eval("expand('%:p')") |
440 |
--ec_data['conf_file'] = ".editorconfig" |
441 |
-- |
442 |
--try: |
443 |
-- ec_data['options'] = editorconfig.get_properties(ec_data['filename']) |
444 |
--except editorconfig_except.EditorConfigError as e: |
445 |
-- if int(vim.eval('g:EditorConfig_verbose')) != 0: |
446 |
-- print >> sys.stderr, str(e) |
447 |
-- vim.command('let l:ret = 1') |
448 |
-+ let l:config = {} |
449 |
- |
450 |
--EEOOFF |
451 |
-+ let l:ret = 0 |
452 |
-+ execute s:py_cmd 'ec_UseConfigFiles()' |
453 |
- if l:ret != 0 |
454 |
- return l:ret |
455 |
- endif |
456 |
- |
457 |
-- python << EEOOFF |
458 |
--for key, value in ec_data['options'].items(): |
459 |
-- vim.command("let l:config['" + key.replace("'", "''") + "'] = " + |
460 |
-- "'" + value.replace("'", "''") + "'") |
461 |
-- |
462 |
--EEOOFF |
463 |
-- |
464 |
- call s:ApplyConfig(l:config) |
465 |
- |
466 |
-- return 0 |
467 |
-+ return l:ret |
468 |
- endfunction |
469 |
- |
470 |
- function! s:UseConfigFiles_Python_External() " {{{2 |
471 |
|
472 |
diff --git a/app-vim/editorconfig-vim/files/editorconfig-vim-1.0.0_beta-wildcard-slash.patch b/app-vim/editorconfig-vim/files/editorconfig-vim-1.0.0_beta-wildcard-slash.patch |
473 |
deleted file mode 100644 |
474 |
index d3dc81241a5..00000000000 |
475 |
--- a/app-vim/editorconfig-vim/files/editorconfig-vim-1.0.0_beta-wildcard-slash.patch |
476 |
+++ /dev/null |
477 |
@@ -1,22 +0,0 @@ |
478 |
-From 8b533e933f1e4904daae72e9d84f939cd18ffca8 Mon Sep 17 00:00:00 2001 |
479 |
-From: Chris White <cxwembedded@×××××.com> |
480 |
-Date: Sat, 20 Jul 2019 13:14:57 -0400 |
481 |
-Subject: [PATCH] '?' wildcard does not match '/' (fixes #124) |
482 |
- |
483 |
---- |
484 |
- autoload/editorconfig_core/fnmatch.vim | 2 +- |
485 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
486 |
- |
487 |
-diff --git a/autoload/editorconfig_core/fnmatch.vim b/autoload/editorconfig_core/fnmatch.vim |
488 |
-index 14833bf0..6f60db5d 100644 |
489 |
---- a/autoload/editorconfig_core/fnmatch.vim |
490 |
-+++ b/autoload/editorconfig_core/fnmatch.vim |
491 |
-@@ -199,7 +199,7 @@ function! editorconfig_core#fnmatch#translate(pat, ...) |
492 |
- endif |
493 |
- |
494 |
- elseif l:current_char ==# '?' |
495 |
-- let l:result .= '\_.' |
496 |
-+ let l:result .= '\_[^/]' |
497 |
- |
498 |
- elseif l:current_char ==# '[' |
499 |
- if l:in_brackets |