ps1: Support PowerShell modules, block comments

master
dustin.hatch@SSI-VM-DUSTIN.softek.local 2012-03-30 11:11:21 -05:00
parent a0d2ae3cc3
commit 95abe64536
2 changed files with 2 additions and 1 deletions

View File

@ -1 +1 @@
autocmd BufRead,BufNewFile *.ps1 set filetype=ps1
autocmd BufRead,BufNewFile *.ps1,*.psm1 set filetype=ps1

View File

@ -27,6 +27,7 @@ syn sync minlines=100
" Comments and special comment words
syn keyword ps1CommentTodo TODO FIXME XXX TBD HACK contained
syn match ps1Comment /#.*/ contains=ps1CommentTodo
syn region ps1Comment start=/<#/ end=/#>/
" Language keywords and elements
syn keyword ps1Conditional if else elseif switch