summaryrefslogtreecommitdiffstats
path: root/indent/ps1.vim
diff options
context:
space:
mode:
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<"