Commits

Angel Ezquerra committed 03693e0

lexers: add CMake lexer

Will be used for .cmake files.

  • Participants
  • Parent commits 6a65d79

Comments (0)

Files changed (1)

tortoisehg/hgqt/lexers.py

     extensions = ('.mk', 'makefile')
     _lexer = Qsci.QsciLexerMakefile
 
+class CMakeLexerSelector(_FilenameLexerSelector):
+    extensions = ('.cmake',)
+    _lexer = Qsci.QsciLexerCMake
+
 class SQLLexerSelector(_FilenameLexerSelector):
     extensions = ('.sql',)
     _lexer = Qsci.QsciLexerSQL