diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-05-02 11:52:52 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-05-02 12:03:34 -0400 |
commit | abb13dde980b21b39e9d700370e3e82835007cb6 (patch) | |
tree | 6922c9b0eec02bb4acff1ba57dc4b9dea7b71b9d /runtime/indent | |
parent | b8f3ef10c943730df8d82f229bc8b1da3a3c8294 (diff) | |
download | rneovim-abb13dde980b21b39e9d700370e3e82835007cb6.tar.gz rneovim-abb13dde980b21b39e9d700370e3e82835007cb6.tar.bz2 rneovim-abb13dde980b21b39e9d700370e3e82835007cb6.zip |
vim-patch:130cbfc31235
Update runtime files
https://github.com/vim/vim/commit/130cbfc31235c6cb52ffe718ea0a5bb50fbbc9fd
Diffstat (limited to 'runtime/indent')
-rw-r--r-- | runtime/indent/ps1.vim | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/runtime/indent/ps1.vim b/runtime/indent/ps1.vim new file mode 100644 index 0000000000..0f794db83b --- /dev/null +++ b/runtime/indent/ps1.vim @@ -0,0 +1,17 @@ +" Vim indent file +" Language: Windows PowerShell +" URL: https://github.com/PProvost/vim-ps1 +" Last Change: 2017 Oct 19 + +" Only load this indent file when no other was loaded. +if exists("b:did_indent") + finish +endif +let b:did_indent = 1 + +" smartindent is good enough for powershell +setlocal smartindent +" disable the indent removal for # marks +inoremap <buffer> # X# + +let b:undo_indent = "setl si<" |