PowerShell / EditorSyntax

PowerShell syntax highlighting for editors (VS Code, Atom, SublimeText, TextMate, etc.) and GitHub!
MIT License
133 stars 45 forks source link

word_wrap settings does not obey the global settings in sublime text #215

Closed ScribblerCoder closed 1 year ago

ScribblerCoder commented 1 year ago

Prerequisites

Steps to reproduce

I had to go to Preferences->Settings-Syntax Specific and add the line "word_wrap": true to enforce it

Expected behavior

The global `word_wrap` settings would override any syntax choice

Actual behavior

Powershell syntax did not follow the global preferences

Error details

No response

Environment data

I don't think this helps but its required :<


Name                           Value
----                           -----
PSVersion                      5.1.19041.2364
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.2364
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Version

5.1.19041.2364

Visuals

No response

ScribblerCoder commented 1 year ago

The reason was https://github.com/SublimeText/PowerShell/blob/master/Support/PowershellSyntax.sublime-settings had enforced the "word_wrap": false