import vim syntax to notepad++
franco otaola last edited by
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++?
PeterJones last edited by
vimsyntax 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 matchfrom 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 xxxstatements, you could grab those, and paste the values from each differently-named
xxxinto one of the 8 groups of keywords in the Language > User Defined Language > Define Your Language dialog, that is easily doable.