Fix wrapping and indentation for PowerShell scripts

master
Dustin C. Hatch 2012-02-13 20:26:50 -06:00
parent 17be127868
commit aed5f1ca9d
1 changed files with 6 additions and 1 deletions

View File

@ -12,9 +12,14 @@ if exists("b:did_ftplugin") | finish | endif
" Don't load another plug-in for this buffer " Don't load another plug-in for this buffer
let b:did_ftplugin = 1 let b:did_ftplugin = 1
setlocal tw=0 setlocal tw=79
setlocal commentstring=#%s setlocal commentstring=#%s
setlocal formatoptions=tcqro setlocal formatoptions=tcqro
setlocal tabstop=4
setlocal softtabstop=4
setlocal shiftwidth=4
setlocal expandtab
setlocal autoindent
" Change the browse dialog on Win32 to show mainly PowerShell-related files " Change the browse dialog on Win32 to show mainly PowerShell-related files
if has("gui_win32") if has("gui_win32")