Community
    • Login

    import vim syntax to notepad++

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 1.6k Views 2 Watching
    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.
    • franco otaolaF Offline
      franco otaola
      last edited by

      hello,
      i found a vim syntax that i really want to use in notepad++, is there any way to make around and use it in notepad++?
      best regards,
      franco

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @franco otaola
        last edited by

        @franco-otaola ,

        The vim syntax files are very different beasts from Notepad++ syntax-highlighter style-configurator themes or Notepad++ UDL definitions; as far as I know, there is no converter between them.

        For Notepad++ builtin lexers, the style-configurator settings change colors and on some keyword types can add extra keywords to the list. Similarly, UDL defines lists of keywords and operators, and sets the colors for those and a few other things.

        But in the native Notepad++ interface, you cannot do things like syntax match from a vim syntax file, which defines a new regex to determine when a number or operator or keyword should be considered a match.

        If all you want to do is grab the lists of syntax keyword xxx statements, you could grab those, and paste the values from each differently-named xxx into one of the 8 groups of keywords in the Language > User Defined Language > Define Your Language dialog, that is easily doable.

        1 Reply Last reply Reply Quote 4

        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
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors