ps1: Support PowerShell modules, block comments
This commit is contained in:
parent
a0d2ae3cc3
commit
95abe64536
@@ -1 +1 @@
|
||||
autocmd BufRead,BufNewFile *.ps1 set filetype=ps1
|
||||
autocmd BufRead,BufNewFile *.ps1,*.psm1 set filetype=ps1
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user