Fix wrapping and indentation for PowerShell scripts
This commit is contained in:
@@ -12,9 +12,14 @@ if exists("b:did_ftplugin") | finish | endif
|
||||
" Don't load another plug-in for this buffer
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
setlocal tw=0
|
||||
setlocal tw=79
|
||||
setlocal commentstring=#%s
|
||||
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
|
||||
if has("gui_win32")
|
||||
|
||||
Reference in New Issue
Block a user