blob: 0f794db83b58c1cda57e4e29e02cd172ddd7aafe [file] [log] [blame]
Bram Moolenaar130cbfc2021-04-07 21:07:20 +02001" Vim indent file
2" Language: Windows PowerShell
3" URL: https://github.com/PProvost/vim-ps1
4" Last Change: 2017 Oct 19
5
6" Only load this indent file when no other was loaded.
7if exists("b:did_indent")
8 finish
9endif
10let b:did_indent = 1
11
12" smartindent is good enough for powershell
13setlocal smartindent
14" disable the indent removal for # marks
15inoremap <buffer> # X#
16
17let b:undo_indent = "setl si<"