Better make.lang
This commit is contained in:
parent
d736475c45
commit
e057a69176
@ -292,16 +292,16 @@
|
||||
</kdevdoctreeview>
|
||||
<kdevfilecreate>
|
||||
<filetypes>
|
||||
<type icon="source" ext="g" name="GAP source" create="template" >
|
||||
<type icon="source" ext="g" create="template" name="GAP source" >
|
||||
<descr>A new empty GAP source file</descr>
|
||||
</type>
|
||||
<type icon="source_cpp" ext="cpp" name="C++ Source" create="template" >
|
||||
<type icon="source_cpp" ext="cpp" create="template" name="C++ Source" >
|
||||
<descr>A new empty C++ file.</descr>
|
||||
</type>
|
||||
<type icon="source_h" ext="h" name="C/C++ Header" create="template" >
|
||||
<type icon="source_h" ext="h" create="template" name="C/C++ Header" >
|
||||
<descr>A new empty header file for C/C++.</descr>
|
||||
</type>
|
||||
<type icon="source_c" ext="c" name="C Source" create="template" >
|
||||
<type icon="source_c" ext="c" create="template" name="C Source" >
|
||||
<descr>A new empty C file.</descr>
|
||||
</type>
|
||||
</filetypes>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<!-- Makefile syntaxfile v0.9 by Per Wigren <wigren@home.se> -->
|
||||
<!-- Modified by Joseph Wenninger <jowenn@kde.org> -->
|
||||
<language name="Makefile" version="1.06" kateversion="2.4" section="Others"
|
||||
extensions="*makefile*;*Makefile*;rules" mimetypes="text/x-makefile"
|
||||
extensions="*makefile*;*Makefile*;rules;*.mk" mimetypes="text/x-makefile"
|
||||
author="Per Wigren (wigren@home.se)" license="">
|
||||
|
||||
<syntax>
|
||||
@ -21,15 +21,15 @@
|
||||
</keyword-list>
|
||||
|
||||
<context name="Normal" style="Normal Text" eol-context="#stay">
|
||||
<Char style="Comment" context="Comment" include-into-next="true" char="#"/>
|
||||
<Keyword style="Keyword" context="#stay" keyword="keywords"/>
|
||||
<Regex style="Target" context="#stay" pattern="^[^:]*\s*:"/>
|
||||
<Regex style="Variable" context="Value" pattern="[_\w\d]*\s*(?=:=|=|\+=)"/>
|
||||
<Regex style="Target" context="#stay" pattern="^[^:]*\s*:"/>
|
||||
<Regex style="Section" context="#stay" pattern="^[.].*:"/>
|
||||
<Char style="String" context="String" char="""/>
|
||||
<Regex style="Operator" context="VarFromNormal" pattern="[$][\({]"/>
|
||||
<AnyChar style="Operator" context="#stay" chars="+*=%$():\\;" />
|
||||
<Regex style="Operator" context="Commands" pattern="[@-]" first-non-blank-only="true"/>
|
||||
<Char style="Comment" context="Comment" include-into-next="true" char="#"/>
|
||||
</context>
|
||||
|
||||
<context style="Comment" eol-context="#pop" name="Comment">
|
||||
|
Loading…
x
Reference in New Issue
Block a user