Skip to content

Commit

Permalink
[GHI-#14] Implement C/C++ language styles
Browse files Browse the repository at this point in the history
  • Loading branch information
arcticicestudio committed Sep 17, 2016
1 parent 3fa1c27 commit 41c7b85
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.less
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ LESSCSS
@import "styles/syntax";

/*+--- Languages ---+*/
@import "styles/languages/c";
@import "styles/languages/css";
@import "styles/languages/gfm";
@import "styles/languages/go";
Expand Down
38 changes: 38 additions & 0 deletions styles/languages/c.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/*
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
title Language C/C++ +
project nord-atom-syntax +
version +
repository https://github.com/arcticicestudio/nord-atom-syntax +
author Arctic Ice Studio +
email development@arcticicestudio.com +
copyright Copyright (C) 2016 +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[Language Packages]
> language-c (https://atom.io/packages/language-c)
[References]
Standard C++
(https://isocpp.org)
*/
.source.c,
.source.cpp {
.punctuation {
&.definition.directive {
color: @syntax-color-keyword;
}

&.separator.pointer-access {
color: @syntax-color-operator;
}
}

.meta.preprocessor {
color: @syntax-color-preprocessor;
}

.string.include {
color: @syntax-color-class;
}
}

0 comments on commit 41c7b85

Please sign in to comment.