From 8ece431fc42f80875dad8974f707dfa300a5a21f Mon Sep 17 00:00:00 2001 From: Felix Angell Date: Tue, 17 Apr 2018 13:50:08 +0100 Subject: [PATCH] update default configs --- cfg/linuxconfig.go | 12 ++++++++---- cfg/macconfig.go | 10 +++++++--- cfg/windowsconfig.go | 10 +++++++--- 3 files changed, 22 insertions(+), 10 deletions(-) diff --git a/cfg/linuxconfig.go b/cfg/linuxconfig.go index 851b71e..3b230ea 100644 --- a/cfg/linuxconfig.go +++ b/cfg/linuxconfig.go @@ -7,7 +7,7 @@ tabs_are_spaces = true match_braces = false maintain_indentation = true highlight_line = true -font_face = "Courier New" +font_face = "truetype/freefont/FreeMono" font_size = 20 show_line_numbers = true @@ -43,6 +43,10 @@ match = [ "rune", "byte", "float32", "float64" ] +[syntax.go.string_literal] +colouring = 0x4b79fc +pattern = "\"([^\\\"]|\\.)*\"" + [syntax.go.comment] colouring = 0x4b79fc pattern = '//.*' @@ -57,7 +61,7 @@ match = [ [syntax.c] [syntax.c.type] -colouring = 0xff0000 +colouring = 0xf8f273 match = [ "int", "char", "bool", "float", "double", "void", "uint8_t", "uint16_t", "uint32_t", "uint64_t", @@ -65,14 +69,14 @@ match = [ ] [syntax.c.keyword] -colouring = 0xff00ff +colouring = 0xf0a400 match = [ "for", "break", "if", "else", "continue", "return", "goto", "static", "extern", "const", "typedef", ] [syntax.c.string_literal] -colouring = 0xff0000 +colouring = 0x4b79fc pattern = "\"([^\\\"]|\\.)*\"" [syntax.c.directive] diff --git a/cfg/macconfig.go b/cfg/macconfig.go index 8de0964..5d8c9f4 100644 --- a/cfg/macconfig.go +++ b/cfg/macconfig.go @@ -47,6 +47,10 @@ match = [ colouring = 0x4b79fc pattern = '//.*' +[syntax.go.string_literal] +colouring = 0x4b79fc +pattern = "\"([^\\\"]|\\.)*\"" + [syntax.go.symbol] colouring = 0xf0a400 match = [ @@ -57,7 +61,7 @@ match = [ [syntax.c] [syntax.c.type] -colouring = 0xff0000 +colouring = 0xf8f273 match = [ "int", "char", "bool", "float", "double", "void", "uint8_t", "uint16_t", "uint32_t", "uint64_t", @@ -65,14 +69,14 @@ match = [ ] [syntax.c.keyword] -colouring = 0xff00ff +colouring = 0xf0a400 match = [ "for", "break", "if", "else", "continue", "return", "goto", "static", "extern", "const", "typedef", ] [syntax.c.string_literal] -colouring = 0xff0000 +colouring = 0x4b79fc pattern = "\"([^\\\"]|\\.)*\"" [syntax.c.directive] diff --git a/cfg/windowsconfig.go b/cfg/windowsconfig.go index 580801a..c038680 100644 --- a/cfg/windowsconfig.go +++ b/cfg/windowsconfig.go @@ -43,6 +43,10 @@ match = [ "rune", "byte", "float32", "float64" ] +[syntax.go.string_literal] +colouring = 0x4b79fc +pattern = "\"([^\\\"]|\\.)*\"" + [syntax.go.comment] colouring = 0x4b79fc pattern = '//.*' @@ -57,7 +61,7 @@ match = [ [syntax.c] [syntax.c.type] -colouring = 0xff0000 +colouring = 0xf8f273 match = [ "int", "char", "bool", "float", "double", "void", "uint8_t", "uint16_t", "uint32_t", "uint64_t", @@ -65,14 +69,14 @@ match = [ ] [syntax.c.keyword] -colouring = 0xff00ff +colouring = 0xf0a400 match = [ "for", "break", "if", "else", "continue", "return", "goto", "static", "extern", "const", "typedef", ] [syntax.c.string_literal] -colouring = 0xff0000 +colouring = 0x4b79fc pattern = "\"([^\\\"]|\\.)*\"" [syntax.c.directive]