Community
    • Login

    import vim syntax to notepad++

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 1.2k 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.
    • franco otaolaF
      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
        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
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors