summaryrefslogtreecommitdiffstats
path: root/syntax/xhtml.vim
blob: c58dc3c8b0a88e4722143cc10ddc5989ed242655 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
let files = filter(globpath(&rtp, 'syntax/xhtml.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
if len(files) > 0
  exec 'source ' . files[0]
  finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'xhtml') == -1

" Vim syntax file
" Language:	XHTML
" Maintainer:	noone
" Last Change:	2003 Feb 04

" Load the HTML syntax for now.
runtime! syntax/html.vim

let b:current_syntax = "xhtml"

" vim: ts=8

endif