mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-08 04:18:48 +00:00
Update PowerShell File Extensions
The three core PowerShell language extensions are .psd1, .ps1 and .psm1 -- plus two xml file extensions: .ps1xml and .clixml which are for formatting rules and serialization. .psm1 modules files use exactly the same syntax as scripts, but are imported rather than executed. .psd1 are metadata files which use a subset of the same syntax (they can be highlighted using the same highlighter, it's just some commands, variables, and types aren't allowed in data files)
This commit is contained in:
@@ -1050,6 +1050,9 @@ PowerShell:
|
||||
aliases:
|
||||
- posh
|
||||
primary_extension: .ps1
|
||||
extensions:
|
||||
- .psm1
|
||||
- .psd1
|
||||
|
||||
Processing:
|
||||
type: programming
|
||||
@@ -1424,6 +1427,7 @@ XML:
|
||||
extensions:
|
||||
- .axml
|
||||
- .ccxml
|
||||
- .clixml
|
||||
- .dita
|
||||
- .ditamap
|
||||
- .ditaval
|
||||
@@ -1433,6 +1437,7 @@ XML:
|
||||
- .mxml
|
||||
- .plist
|
||||
- .pt
|
||||
- .ps1xml
|
||||
- .rdf
|
||||
- .rss
|
||||
- .scxml
|
||||
|
||||
Reference in New Issue
Block a user