summaryrefslogtreecommitdiffstats
path: root/ftplugin/ps1xml.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/ps1xml.vim')
-rw-r--r--ftplugin/ps1xml.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/ftplugin/ps1xml.vim b/ftplugin/ps1xml.vim
index 11815d2d..e2616a00 100644
--- a/ftplugin/ps1xml.vim
+++ b/ftplugin/ps1xml.vim
@@ -16,6 +16,8 @@ let b:did_ftplugin = 1
setlocal tw=0
setlocal commentstring=#%s
setlocal formatoptions=tcqro
+" MS applications (including PowerShell) require a Byte Order Mark (BOM) for UTF-8.
+setlocal bomb
" Change the browse dialog on Win32 to show mainly PowerShell-related files
if has("gui_win32")