jschaf / powershell.el

An Emacs mode for editing and running Microsoft PowerShell code.
93 stars 30 forks source link

Support ps1, psm1 and psd1 file extensions #15

Closed wasamasa closed 8 years ago

wasamasa commented 8 years ago

The Powershell v2.0 specification mentions .ps1, .psm1 and .psd1 file extensions, all of which are for files with Powershell syntax. I've added support for recognizing these automatically and removed the useless purecopy call while I was at it (it's only useful on literals in Emacs core for the dumping process and is otherwise a no-op).

jschaf commented 8 years ago

Sweet, thank you!