]> git.phdru.name Git - dotfiles.git/blobdiff - .vim/ftplugin/xml.vim
Minor refactoring
[dotfiles.git] / .vim / ftplugin / xml.vim
index 02d8ac61080ffa282b65cfd493b9681c642c5cde..9069c202b2d173bca11e80f367588e9713c34d50 100644 (file)
@@ -10,8 +10,8 @@ if version >= 702 && has("iconv") && !exists('b:encoding_set')
          " By default XML files are in UTF-8
          let encoding = "UTF-8"
       endif
+      call SetupEncoding(encoding)
    endif
-   call SetupEncoding(encoding)
 endif
 
 setlocal matchpairs+=<:> " Add brokets to the list of pairs that match for the '%' command