summaryrefslogtreecommitdiffstats
path: root/ftplugin/ps1.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/ps1.vim')
-rw-r--r--ftplugin/ps1.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/ftplugin/ps1.vim b/ftplugin/ps1.vim
index a88fe019..9a980834 100644
--- a/ftplugin/ps1.vim
+++ b/ftplugin/ps1.vim
@@ -19,6 +19,8 @@ setlocal formatoptions=tcqro
" Enable autocompletion of hyphenated PowerShell commands,
" e.g. Get-Content or Get-ADUser
setlocal iskeyword+=-
+" 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")