aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Kelly <pioto@gentoo.org>2006-11-05 20:33:57 +0000
committerMike Kelly <pioto@gentoo.org>2006-11-05 20:33:57 +0000
commite66dfda73f307a914b4998666f539195b8f90ba5 (patch)
tree07f51cbe2750bcb51892b614367547d0524ea407 /ftdetect
parentMake package.* files' syntax accept category names without a '-' in them. See... (diff)
downloadgentoo-syntax-e66dfda73f307a914b4998666f539195b8f90ba5.tar.gz
gentoo-syntax-e66dfda73f307a914b4998666f539195b8f90ba5.tar.bz2
gentoo-syntax-e66dfda73f307a914b4998666f539195b8f90ba5.zip
Update GuideXML support. See Bug #145999
svn path=/trunk/; revision=19
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/gentoo.vim18
1 files changed, 9 insertions, 9 deletions
diff --git a/ftdetect/gentoo.vim b/ftdetect/gentoo.vim
index 85affa2..ac00c76 100644
--- a/ftdetect/gentoo.vim
+++ b/ftdetect/gentoo.vim
@@ -80,15 +80,15 @@ au BufNewFile,BufRead metadata.xml
" guidexml
au BufNewFile,BufRead *.xml
- \ if getline(1) =~ "<!DOCTYPE \\(guide\\|book\\|sections\\) " ||
- \ getline(2) =~ "<!DOCTYPE \\(guide\\|book\\|sections\\) " ||
- \ getline(3) =~ "<!DOCTYPE \\(guide\\|book\\|sections\\) " ||
- \ getline(4) =~ "<!DOCTYPE \\(guide\\|book\\|sections\\) " ||
- \ getline(5) =~ "<!DOCTYPE \\(guide\\|book\\|sections\\) " ||
- \ getline(6) =~ "<!DOCTYPE \\(guide\\|book\\|sections\\) " ||
- \ getline(7) =~ "<!DOCTYPE \\(guide\\|book\\|sections\\) " ||
- \ getline(8) =~ "<!DOCTYPE \\(guide\\|book\\|sections\\) " ||
- \ getline(9) =~ "<!DOCTYPE \\(guide\\|book\\|sections\\) " |
+ \ if getline(1) =~ "<!DOCTYPE \\(guide\\|news\\|mainpage\\|book\\|sections\\|dynamic\\|inserts\\) " ||
+ \ getline(2) =~ "<!DOCTYPE \\(guide\\|news\\|mainpage\\|book\\|sections\\|dynamic\\|inserts\\) " ||
+ \ getline(3) =~ "<!DOCTYPE \\(guide\\|news\\|mainpage\\|book\\|sections\\|dynamic\\|inserts\\) " ||
+ \ getline(4) =~ "<!DOCTYPE \\(guide\\|news\\|mainpage\\|book\\|sections\\|dynamic\\|inserts\\) " ||
+ \ getline(5) =~ "<!DOCTYPE \\(guide\\|news\\|mainpage\\|book\\|sections\\|dynamic\\|inserts\\) " ||
+ \ getline(6) =~ "<!DOCTYPE \\(guide\\|news\\|mainpage\\|book\\|sections\\|dynamic\\|inserts\\) " ||
+ \ getline(7) =~ "<!DOCTYPE \\(guide\\|news\\|mainpage\\|book\\|sections\\|dynamic\\|inserts\\) " ||
+ \ getline(8) =~ "<!DOCTYPE \\(guide\\|news\\|mainpage\\|book\\|sections\\|dynamic\\|inserts\\) " ||
+ \ getline(9) =~ "<!DOCTYPE \\(guide\\|news\\|mainpage\\|book\\|sections\\|dynamic\\|inserts\\) " |
\ set filetype=guidexml |
\ endif