@Netweezurd said in PowerShell syntax highlighting:
We’re in 2025, after dozens of updates and I still no highlights in PS files apart from the few listed in the OP.
The Notepad++ developer only updates the stylers.model.xml and themes\DarkModeDefault.xml – he expects volunteers from the userbase to submit updates to the other themes. That’s the way it was in 2018, and that’s the way it is in 2025. When I have added languages to the Notepad++ codebase, I’ve made dummy entries in all the themes, but that’s only been a handful of the dozens of languages that have been added over time since the various themes were submitted.
If you are willing to use the PythonScript plugin, I have a script for that plugin which will add all the missing languages to all your themes (grabbing the default colors from the theme for any new languages or new styles in an existing language – so it won’t look highlighted, but it won’t look bad); see Config Files Need Updating, Too for full details.
No PS highlights in VIM Dark Blue.
Indeed. As that’s not the stylers.model.xml nor themes\DarkModeDefault.xml, it’s unsurprising that it’s not updated.
The colors were all shot up but they can be easily adjusted in the Style Configurator:
Now that you’ve got a good set of colors for PS in the vim Dark Blue theme, you should consider submitting your update to the main repo, so that it will be bundled with future versions of Notepad++.