• Login
Community
  • Login

Missing OpenVPN .ovpn syntax highlighting

Scheduled Pinned Locked Moved General Discussion
2 Posts 2 Posters 430 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H
    Helix751
    last edited by Jul 2, 2021, 1:41 AM

    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.

    P 1 Reply Last reply Jul 2, 2021, 1:09 PM Reply Quote 0
    • P
      PeterJones @Helix751
      last edited by Jul 2, 2021, 1:09 PM

      @Helix751 ,

      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:

      1. 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
      2. 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.

      1 Reply Last reply Reply Quote 1
      1 out of 2
      • First post
        1/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors