ps1: Support PowerShell modules, block comments
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
|
" Comments and special comment words
|
||||||
syn keyword ps1CommentTodo TODO FIXME XXX TBD HACK contained
|
syn keyword ps1CommentTodo TODO FIXME XXX TBD HACK contained
|
||||||
syn match ps1Comment /#.*/ contains=ps1CommentTodo
|
syn match ps1Comment /#.*/ contains=ps1CommentTodo
|
||||||
|
syn region ps1Comment start=/<#/ end=/#>/
|
||||||
|
|
||||||
" Language keywords and elements
|
" Language keywords and elements
|
||||||
syn keyword ps1Conditional if else elseif switch
|
syn keyword ps1Conditional if else elseif switch
|
||||||
|
|
Reference in New Issue