1 if exists("b:did_ftplugin")
5 if version >= 702 && has("iconv") && !exists('b:encoding_set')
6 " Try to recognize the file encoding and convert the file
7 let encoding = system("get_xml_encoding.py " . shellescape(expand("%")))
9 if strlen(encoding) == 0
10 " By default XML files are in UTF-8
11 let encoding = "UTF-8"
14 call SetupEncoding(encoding)
17 setlocal matchpairs+=<:> " Add brokets to the list of pairs that match for the '%' command
18 set shiftwidth=2 softtabstop=2