annotate runtime/ftplugin/xhtml.vim @ 30643:dfb02f9dcbe8 v9.0.0656

patch 9.0.0656: cannot specify another character to use instead of '@' Commit: https://github.com/vim/vim/commit/4ba5f1dab656103e8f4a4505452d1816b9e83c1e Author: Bram Moolenaar <Bram@vim.org> Date: Tue Oct 4 14:36:29 2022 +0100 patch 9.0.0656: cannot specify another character to use instead of '@' Problem: Cannot specify another character to use instead of '@' at the end of the window. Solution: Add "lastline" to 'fillchars'. (Martin Tournoij, closes #11264, closes #10963)
author Bram Moolenaar <Bram@vim.org>
date Tue, 04 Oct 2022 15:45:03 +0200
parents c968191a8557
children 8ae680be2a51
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim filetype plugin file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: xhtml
28010
c968191a8557 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 3410
diff changeset
3 "
c968191a8557 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 3410
diff changeset
4 " This runtime file is looking for a new maintainer.
c968191a8557 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 3410
diff changeset
5 "
c968191a8557 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 3410
diff changeset
6 " Former maintainer: Dan Sharp
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 15
diff changeset
7 " Last Changed: 20 Jan 2009
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 if exists("b:did_ftplugin") | finish | endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 " Make sure the continuation lines below do not cause problems in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " compatibility mode.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 let s:save_cpo = &cpo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 set cpo-=C
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 " Define some defaults in case the included ftplugins don't set them.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 let s:undo_ftplugin = ""
15
631143ac4a01 updated for version 7.0007
vimboss
parents: 7
diff changeset
18 let s:browsefilter = "HTML Files (*.html, *.htm)\t*.html;*.htm\n" .
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 \ "XML Files (*.xml)\t*.xml\n" .
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 \ "All Files (*.*)\t*.*\n"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 let s:match_words = ""
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 runtime! ftplugin/xml.vim ftplugin/xml_*.vim ftplugin/xml/*.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 unlet b:did_ftplugin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 " Override our defaults if these were set by an included ftplugin.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 if exists("b:undo_ftplugin")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 let s:undo_ftplugin = b:undo_ftplugin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 unlet b:undo_ftplugin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 if exists("b:browsefilter")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 let s:browsefilter = b:browsefilter
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 unlet b:browsefilter
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 if exists("b:match_words")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 let s:match_words = b:match_words
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 unlet b:match_words
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 runtime! ftplugin/html.vim ftplugin/html_*.vim ftplugin/html/*.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 let b:did_ftplugin = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 " Combine the new set of values with those previously included.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 if exists("b:undo_ftplugin")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 let s:undo_ftplugin = b:undo_ftplugin . " | " . s:undo_ftplugin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 if exists("b:browsefilter")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 let s:browsefilter = b:browsefilter . s:browsefilter
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 if exists("b:match_words")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 let s:match_words = b:match_words . "," . s:match_words
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 " Load the combined list of match_words for matchit.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 if exists("loaded_matchit")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 let b:match_words = s:match_words
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 " Change the :browse e filter to primarily show tcsh-related files.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 if has("gui_win32")
15
631143ac4a01 updated for version 7.0007
vimboss
parents: 7
diff changeset
61 let b:browsefilter="XHTML files (*.xhtml, *.xhtm)\t*.xhtml;*.xhtm\n" . s:browsefilter
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 " Undo the stuff we changed.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 let b:undo_ftplugin = "unlet! b:browsefilter b:match_words | " . s:undo_ftplugin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 " Restore the saved compatibility options.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 let &cpo = s:save_cpo
3410
94601b379f38 Updated runtime files. Add Dutch translations.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
69 unlet s:save_cpo