Add support for PowerShell scripts
This commit is contained in:
18
indent/ps1.vim
Normal file
18
indent/ps1.vim
Normal file
@@ -0,0 +1,18 @@
|
||||
" Vim indent file
|
||||
" Language: Windows PowerShell
|
||||
" Maintainer: Peter Provost <peter@provost.org>
|
||||
" Version: 1.0
|
||||
"
|
||||
" $LastChangedDate $
|
||||
" $Rev $
|
||||
|
||||
" Only load this indent file when no other was loaded.
|
||||
if exists("b:did_indent")
|
||||
finish
|
||||
endif
|
||||
let b:did_indent = 1
|
||||
|
||||
" PS indenting is like indenting C
|
||||
setlocal cindent cinoptions& cinoptions+=+0
|
||||
|
||||
let b:undo_indent = "setl cin<"
|
||||
Reference in New Issue
Block a user