Mercurial > vim
annotate runtime/ftplugin/xml.vim @ 33414:b61b1a1c2b13 v9.0.1965
patch 9.0.1965: wrong auto/configure script
Commit: https://github.com/vim/vim/commit/8c358e024fbc11895efec4b3e0e3777a6b88eba7
Author: Illia Bobyr <illia.bobyr@gmail.com>
Date: Sat Sep 30 22:57:19 2023 +0200
patch 9.0.1965: wrong auto/configure script
Problem: wrong auto/configure script
Solution: regenerate with autoconf 2.71
configure: sys/xattr.hs: Regenerate with autoconf 2.71
It seems that `auto/configure` update in
commit 6de4e58cf27a3bb6e81653ca63b77e29d1bb46f2 (tag: v9.0.1963)
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sat Sep 30 14:19:14 2023 +0200
patch 9.0.1963: Configure script may not detect xattr
Problem: Configure script may not detect xattr correctly
Solution: include sys/xattr instead of attr/xattr,
make Test_write_with_xattr_support() test
xattr feature correctly
This also applies to the Smack security feature, so change the include
and configure script for it as well.
closes: #13229
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
was done manually, and missed an update to the generated variable name.
closes: #13235
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Illia Bobyr <illia.bobyr@gmail.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 30 Sep 2023 23:00:03 +0200 |
parents | c968191a8557 |
children | 8ae680be2a51 |
rev | line source |
---|---|
7 | 1 " Vim filetype plugin file |
15131 | 2 " Language: xml |
3 " Maintainer: Christian Brabandt <cb@256bit.org> | |
4 " Last Changed: Dec 07th, 2018 | |
5 " Repository: https://github.com/chrisbra/vim-xml-ftplugin | |
28010 | 6 " Previous Maintainer: Dan Sharp |
13912 | 7 " URL: http://dwsharp.users.sourceforge.net/vim/ftplugin |
7 | 8 |
9 if exists("b:did_ftplugin") | finish | endif | |
10 let b:did_ftplugin = 1 | |
11 | |
12 " Make sure the continuation lines below do not cause problems in | |
13 " compatibility mode. | |
14 let s:save_cpo = &cpo | |
13912 | 15 set cpo&vim |
7 | 16 |
17 setlocal commentstring=<!--%s--> | |
13912 | 18 " Remove the middlepart from the comments section, as this causes problems: |
19 " https://groups.google.com/d/msg/vim_dev/x4GT-nqa0Kg/jvtRnEbtAnMJ | |
20 setlocal comments=s:<!--,e:--> | |
1698 | 21 |
22 setlocal formatoptions-=t | |
13912 | 23 setlocal formatoptions+=croql |
24 setlocal formatexpr=xmlformat#Format() | |
7 | 25 |
26 " XML: thanks to Johannes Zellner and Akbar Ibrahim | |
27 " - case sensitive | |
28 " - don't match empty tags <fred/> | |
29 " - match <!--, --> style comments (but not --, --) | |
30 " - match <!, > inlined dtd's. This is not perfect, as it | |
31 " gets confused for example by | |
32 " <!ENTITY gt ">"> | |
33 if exists("loaded_matchit") | |
34 let b:match_ignorecase=0 | |
35 let b:match_words = | |
36 \ '<:>,' . | |
37 \ '<\@<=!\[CDATA\[:]]>,'. | |
38 \ '<\@<=!--:-->,'. | |
39 \ '<\@<=?\k\+:?>,'. | |
40 \ '<\@<=\([^ \t>/]\+\)\%(\s\+[^>]*\%([^/]>\|$\)\|>\|$\):<\@<=/\1>,'. | |
41 \ '<\@<=\%([^ \t>/]\+\)\%(\s\+[^/>]*\|$\):/>' | |
42 endif | |
43 | |
557 | 44 " For Omni completion, by Mikolaj Machowski. |
45 if exists('&ofu') | |
46 setlocal ofu=xmlcomplete#CompleteTags | |
47 endif | |
48 command! -nargs=+ XMLns call xmlcomplete#CreateConnection(<f-args>) | |
49 command! -nargs=? XMLent call xmlcomplete#CreateEntConnection(<f-args>) | |
50 | |
7 | 51 " Change the :browse e filter to primarily show xml-related files. |
13912 | 52 if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") |
7 | 53 let b:browsefilter="XML Files (*.xml)\t*.xml\n" . |
13912 | 54 \ "DTD Files (*.dtd)\t*.dtd\n" . |
55 \ "XSD Files (*.xsd)\t*.xsd\n" . | |
56 \ "All Files (*.*)\t*.*\n" | |
7 | 57 endif |
58 | |
59 " Undo the stuff we changed. | |
13912 | 60 let b:undo_ftplugin = "setlocal commentstring< comments< formatoptions< formatexpr< " . |
61 \ " | unlet! b:match_ignorecase b:match_words b:browsefilter" | |
7 | 62 |
63 " Restore the saved compatibility options. | |
64 let &cpo = s:save_cpo | |
3410
94601b379f38
Updated runtime files. Add Dutch translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
65 unlet s:save_cpo |