Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change text color #37

Closed
bill2222 opened this issue Dec 31, 2020 · 1 comment
Closed

Change text color #37

bill2222 opened this issue Dec 31, 2020 · 1 comment

Comments

@bill2222
Copy link

Hello,

Network Tech package is great but I would like to customize the color for certain keywords. Example, for "VLAN" I would like to choose a different color than what's in the package. Is this possible? I tried looking through the package files but haven't found the file that needs to be edited yet.

@heyglen
Copy link
Owner

heyglen commented Jan 12, 2021

Hi Bil,

Never did this before, but here is what I found:

Use something like ScopeAlways to identify the scope of the keyword you want to color.

Create a .sublime-color-scheme file in your Packages/User/ directory with the style definitions you want to apply to each scope. See Sublime Text Color Schemes Example

I am not sure how this can be limited to a single syntax type (Ex: "Cisco IOS"), perhaps through naming: Cisco IOS.sublime-color-scheme?

@heyglen heyglen closed this as completed May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants