summaryrefslogtreecommitdiffstats
path: root/indent/ps1.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-11-19 21:26:59 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2017-11-19 21:27:05 +0100
commitd219055bc845253eff2b27d30a23b11b97b7ee9d (patch)
treea4586dfdbce3a304759a0c34175ee41fdede4e17 /indent/ps1.vim
parent0e9041f29a3288b6685aafc63d914c11fef539ba (diff)
downloadvim-polyglot-d219055bc845253eff2b27d30a23b11b97b7ee9d.tar.gz
vim-polyglot-d219055bc845253eff2b27d30a23b11b97b7ee9d.zip
Update
Diffstat (limited to 'indent/ps1.vim')
-rw-r--r--indent/ps1.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/indent/ps1.vim b/indent/ps1.vim
index 6de24590..f2ba5e8b 100644
--- a/indent/ps1.vim
+++ b/indent/ps1.vim
@@ -16,7 +16,7 @@ let b:did_indent = 1
" smartindent is good enough for powershell
setlocal smartindent
" disable the indent removal for # marks
-inoremap # X#
+inoremap <buffer> # X#
let b:undo_indent = "setl si<"