npp.language.xml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <NotepadPlus>
  2. <!--
  3. Defines syntax highlighting for Notepad++.
  4. 1. Install Notepad++ from http://notepad-plus-plus.org
  5. 2. Open Notepad++, from the View menu, select "User-Defined Dialog..."
  6. 3. Click the "Import..." button and select this file
  7. 4. Restart Notepad++
  8. 5. Open and edit any *.proto file
  9. -->
  10. <UserLang name="Proto Buffer" ext="proto">
  11. <Settings>
  12. <Global caseIgnored="no" />
  13. <TreatAsSymbol comment="no" commentLine="yes" />
  14. <Prefix words1="no" words2="no" words3="no" words4="yes" />
  15. </Settings>
  16. <KeywordLists>
  17. <Keywords name="Delimiters">[00]00</Keywords>
  18. <Keywords name="Folder+">{</Keywords>
  19. <Keywords name="Folder-">}</Keywords>
  20. <Keywords name="Operators">=</Keywords>
  21. <Keywords name="Comment"> 1option 1package 1import 2; 0//</Keywords>
  22. <Keywords name="Words1">message enum service extend</Keywords>
  23. <Keywords name="Words2">required optional repeated extensions to rpc returns</Keywords>
  24. <Keywords name="Words3">double float int32 int64 uint32 uint64 sint32 sint64 fixed32 fixed64 sfixed32 sfixed64 bool string bytes</Keywords>
  25. <Keywords name="Words4"></Keywords>
  26. </KeywordLists>
  27. <Styles>
  28. <WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />
  29. <WordsStyle name="FOLDEROPEN" styleID="12" fgColor="000000" bgColor="FFFFFF" fontStyle="1" />
  30. <WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="000000" bgColor="FFFFFF" fontStyle="1" />
  31. <WordsStyle name="KEYWORD1" styleID="5" fgColor="0000FF" bgColor="FFFFFF" fontStyle="0" />
  32. <WordsStyle name="KEYWORD2" styleID="6" fgColor="0080C0" bgColor="FFFFFF" fontStyle="0" />
  33. <WordsStyle name="KEYWORD3" styleID="7" fgColor="0000FF" bgColor="FFFFFF" fontStyle="0" />
  34. <WordsStyle name="KEYWORD4" styleID="8" fgColor="008040" bgColor="FFFFFF" fontStyle="0" />
  35. <WordsStyle name="COMMENT" styleID="1" fgColor="008000" bgColor="FFFFFF" fontStyle="0" />
  36. <WordsStyle name="COMMENT LINE" styleID="2" fgColor="949494" bgColor="FFFFFF" fontStyle="0" />
  37. <WordsStyle name="NUMBER" styleID="4" fgColor="FF0000" bgColor="FFFFFF" fontStyle="0" />
  38. <WordsStyle name="OPERATOR" styleID="10" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />
  39. <WordsStyle name="DELIMINER1" styleID="14" fgColor="800080" bgColor="FFFFFF" fontStyle="0" />
  40. <WordsStyle name="DELIMINER2" styleID="15" fgColor="808080" bgColor="FFFFFF" fontStyle="0" />
  41. <WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontStyle="0" />
  42. </Styles>
  43. </UserLang>
  44. </NotepadPlus>