Missing OpenVPN .ovpn syntax highlighting
-
Hi. Couldn’t find a more suitable section to request a syntax highlighting for .ovpn files (OpenVPN configuration files).
Here’s a script for ‘vim’ that may be useful for somebody that wants to make the style.
https://www.vim.org/scripts/script.php?script_id=1420
Regards.
-
Couldn’t find a more suitable section to request a syntax highlighting for .ovpn files
This forum is for discussion, not for feature requests. If you explore the Forum, you will easily find the FAQ section of this Forum, which has an entry called “FAQ Desk: Feature Request or Bug Report”: that FAQ entry tells you how to make a Feature Request.
That said, Notepad++'s built-in syntax highlighting (like the C++, HTML, Python, etc) are inherited from the Scintilla project (Notepad++ uses some Scintilla IP under the hood); Scintilla long ago stopped adding new built-in syntax highlighters, so Notepad++ hasn’t added new built-in highlighters in quite some time.
At this point, the Notepad++ developers encourage users to make use of one of two existing features of Notepad++ to get more syntax highlighting:
- Notepad++ comes bundled with the User Defined Language (UDL) system, where you can define your own simple keywords and comment syntax for syntax highlighting, code-folding, and the like. This is the most-commonly used feature for defining your own syntax highlighting
- Notepad++ has the capability to accept plugins, and it’s possible to develop a lexer / syntax highlighter plugin – fewer have made use of this, but you can see at least one in the Plugins Admin called “GEDCOM Lexer”
My guess, since it’s a config-file syntax, is that UDL will serve your needs. It’s not really that hard to get started writing your own UDL.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login