Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
2602c0ec
Commit
2602c0ec
authored
Dec 23, 2013
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak highlighting colors.
parent
ccaff9c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
capnp.xml
highlighting/qtcreator/capnp.xml
+12
-5
No files found.
highlighting/qtcreator/capnp.xml
View file @
2602c0ec
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!--
syntax highlighting for Kate and QtCreator
-->
<!--
Syntax highlighting for Kate and QtCreator. To customize colors, see end of file.
-->
<language
name=
"Cap'n Proto"
version=
"0.5"
kateversion=
"2.4"
section=
"Sources"
extensions=
"*.capnp"
mimetype=
"text/x-capnp"
license=
"BSD 2-clause"
author=
"Kenton Varda (temporal@gmail.com)"
>
<highlighting>
...
...
@@ -108,15 +108,22 @@
</contexts>
</highlighting>
<itemDatas>
<!-- Since my highlighting approach is different from most programming languages, the contexts
don't fit nicely into the standard set, so I have to define colors explicitly. A couple
of these, like "keyword" and "type", could be mapped to dsKeyword and dsDataType, but
there's a chance the user has mapped the colors for those things to things that would
conflict with the manually-defined colors here, which would probably be even more annoying
than having the colors be inconsitent from other languages. So, I use manual colors for
everything, except comments, which I figure are less likely to have this problem. -->
<itemData
name=
"Normal"
defStyleNum=
"dsNormal"
/>
<itemData
name=
"Keyword"
defStyleNum=
"ds
Keyword
"
/>
<itemData
name=
"Keyword"
defStyleNum=
"ds
Others"
color=
"#000099"
bold=
"1
"
/>
<itemData
name=
"Id"
defStyleNum=
"dsOthers"
color=
"#0099FF"
/>
<itemData
name=
"Annotation"
defStyleNum=
"dsOthers"
color=
"#999900"
/>
<itemData
name=
"Type"
defStyleNum=
"ds
DataType
"
/>
<itemData
name=
"KeyType"
defStyleNum=
"ds
DataType
"
bold=
"1"
/>
<itemData
name=
"Type"
defStyleNum=
"ds
Others"
color=
"#009900
"
/>
<itemData
name=
"KeyType"
defStyleNum=
"ds
Others"
color=
"#009900
"
bold=
"1"
/>
<itemData
name=
"Value"
defStyleNum=
"dsOthers"
color=
"#003399"
/>
<itemData
name=
"Comment"
defStyleNum=
"dsComment"
/>
<itemData
name=
"Symbol"
defStyleNum=
"ds
Normal
"
bold=
"1"
/>
<itemData
name=
"Symbol"
defStyleNum=
"ds
Others
"
bold=
"1"
/>
</itemDatas>
<general>
<comments><comment
name=
"singleLine"
start=
"#"
/></comments>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment