aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 95b51ac..a7d495b 100644
--- a/.vimrc
+++ b/.vimrc
@@ -79,6 +79,9 @@ set list lcs=tab:>\ ,trail:~,precedes:<,space:\ ,nbsp:×
" set correct filetype for terraform files
autocmd BufRead,BufNewFile *.tf,*.tfvars set filetype=terraform
+" set correct comment string for powershell files
+autocmd FileType ps1 setlocal commentstring=#\ %s
+
" ---------------------------------
" --- KEYBINDINGS
" --------------------------------