nvim/pack/acp/start/vim-ps1/indent/ps1.vim

18 lines
474 B
VimL
Raw Normal View History

" Vim indent file
2019-06-03 14:59:15 +00:00
" Language: Windows PowerShell
" Maintainer: Peter Provost <peter@provost.org>
" Version: 2.9
" Project Repository: https://github.com/PProvost/vim-ps1
2019-06-03 14:59:15 +00:00
" Vim Script Page: http://www.vim.org/scripts/script.php?script_id=1327"
" Only load this indent file when no other was loaded.
if exists("b:did_indent")
2019-06-03 14:59:15 +00:00
finish
endif
let b:did_indent = 1
2019-06-03 14:59:15 +00:00
" PS indenting is like indenting C
setlocal cindent cinoptions& cinoptions+=+0
2019-06-03 14:59:15 +00:00
let b:undo_indent = "setl cin<"