Project

General

Profile

« Previous | Next » 

Revision ffd3da0d

Added by David Sorber about 11 years ago

Creating a proper Geany colorscheme file for my favorit Cobalt color scheme. See https://github.com/geany/geany-themes for more information.

View differences:

configs/geany/cobalt.conf
#
# Ported to Geany by David Sorber <david.sorber(at)gmail(dot)com>
#
[theme_info]
name=Cobalt
description=A port of Gedit's cobalt theme
# list of each compatible Geany release version
compat=1.22;1.23;1.23.1;1.24
[named_styles]
default=#fff;#001b33;false;false
error=#000;#f00;true;false
# Editor styles
#-------------------------------------------------------------------------------
selection=#fff;#08f;true;true
current_line=#FFF;#003b70;true
brace_good=#FFF;#0A0;true;false
brace_bad=#fff;#f00;true;false
margin_line_number=#000;#AAA;true;false
margin_folding=#ccc;#047;true;false
fold_symbol_highlight=#fff
indent_guide=#bbbebb
caret=#000;#000;false
marker_line=#000;#ff0
marker_search=#000;#fff;false;false
marker_mark=#000;#fc0
call_tips=#bbbebb;#fff;false;false
white_space=call_tips,bold
# Programming languages
#-------------------------------------------------------------------------------
comment=#0088ff;#001b33;false;true
comment_doc=comment
comment_line=comment
comment_line_doc=comment_doc
comment_doc_keyword=comment_doc,bold
comment_doc_keyword_error=comment_doc,italic
number=#ff0044;#001b33;false;false
number_1=number
number_2=#a52a2a;;true
type=#0f0;#00f;true
class=#fc0;#001b33;true;false
function=default
parameter=function
keyword=#ff9d00;#001b33;true;false
keyword_1=keyword
keyword_2=keyword_1
keyword_3=keyword_1
keyword_4=keyword_1
identifier=default
identifier_1=identifier
identifier_2=identifier_1
identifier_3=identifier_1
identifier_4=#008a8c
string=#3ad900;#001b33;false;false
string_1=string
string_2=string_1
string_3=;;true;false
string_4=;;false;true
string_eol=#fff;#C00;false;true
character=string_1
backticks=#a020f0
here_doc=string_2
scalar=identifier_4
label=default,bold
preprocessor=#80ffbb;#001b33;true;false
regex=identifier_4
operator=default
decorator=string_1,bold
other=default
extra=keyword
# Markup-type languages
#-------------------------------------------------------------------------------
tag=identifier_4
tag_unknown=tag,bold
tag_end=tag,bold
attribute=#6a5acd
attribute_unknown=attribute,bold
value=string_1
entity=default
# Diff
#-------------------------------------------------------------------------------
line_added=#008b8b
line_removed=attribute
line_changed=preprocessor
configs/geany/filetypes/README.txt
Place these files in:
~/.config/geany/filedefs/
configs/geany/filetypes/filetypes.c
# For complete documentation of this file, please see Geany's main documentation
[styling]
# foreground;background;bold;italic
default=0xffffff;0x001b33;false;false
comment=0x0088ff;0x001b33;false;true
commentline=0x0088ff;0x001b33;false;true
commentdoc=0x888a85;0x001b33;true;false
number=0xff0044;0x001b33;false;false
word=0xff9d00;0x001b33;true;false
word2=0x00BF8C;0x001b33;true;false
string=0x3ad900;0x001b33;false;false
character=0x3ad900;0x2e3436;false;false
uuid=0xffffff;0xffffff;true;false
preprocessor=0x80ffbb;0x001b33;true;false
operator=0xffffff;0x001b33;true;false
identifier=0xcccccc;0x001b33;false;false
#end of line where string is not closed
stringeol=0xfff;0x990000;false;false
#string @"str"
verbatim=0xfce94f;0x2e3436;false;false
regex=0x4e9a06;0x2e3436;false;false
commentlinedoc=0x888a85;0x2e3436;false;false
commentdockeyword=0xad7fa8;0x2e3436;false;false
commentdockeyworderror=0x888a85;0x2e3436;false;false
#array index
globalclass=0xffcc00;0x001b33;true;false
styling_within_preprocessor=1;0;false;false
[keywords]
# all items must be in one line
primary=default export goto sizeof typename asm enum bool union typedef struct extern static register auto const if else switch for while do break continue return class new delete inline case volatile
secondary=NULL FALSE TRUE char int float double void unsigned signed long short int8_t int16_t int32_t int64_t uint8_t uint16_6 uint32_t uint64_t
# these are some doxygen keywords (incomplete)
docComment=attention author brief bug class code date def enum example exception file fn namespace note param remarks return see since struct throw todo typedef var version warning union
[settings]
# default extension used when saving files
#extension=c
# the following characters are these which a "word" can contains, see documentation
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
# if only single comment char is supported like # in this file, leave comment_close blank
comment_open=//
comment_close=
# this is an alternative way, so multiline comments are used
#comment_open=/*
#comment_close=*/
# set to false if a comment character/string should start at column 0 of a line, true uses any
# indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
#command_example();
# setting to false would generate this
# command_example();
# This setting works only for single line comments
comment_use_indent=true
# context action command (please see Geany's main documentation for details)
context_action_cmd=
[build_settings]
# %f will be replaced by the complete filename
# %e will be replaced by the filename without extension
# (use only one of it at one time)
compiler=gcc -Wall -c "%f"
linker=gcc -Wall -o "%e" "%f"
run_cmd="./%e"
configs/geany/filetypes/filetypes.common
# For complete documentation of this file, please see Geany's main documentation
[styling]
# foreground;background;bold;italic - used for filetype All/None
default=0xffffff;0x001b33;false;false
# 3rd selection argument is true to override default foreground
# 4th selection argument is true to override default background
selection=0xffffff;0x0088ff;true;true
# style for a matching brace
brace_good=0xffffff;0x4f94cd;true;false
# style for a non-matching brace (a brace without a counterpart)
brace_bad=0xffffff;0x990000;true;false
# the following settings define the colours of the margins on the left side
margin_linenumber=0xeeeeee;0x000000;false;false
margin_folding=0x888a85;0x000000;false;false
# background colour of the current line, only the second and third argument is interpreted
# use the third argument to enable or disable the highlighting of the current line (has to be true/false)
current_line=0x0;0x003b70;true;false
# translucency for the current line(first argument) and the selection (second argument)
# values between 0 and 256 are accepted. Note for Windows 95, 98 and ME users:
# keep this value at 256 to disable translucency otherwise Geany might crash
# only the first and second argument is interpreted
translucency=256;256;false;false
# style for a highlighted line (e.g when using Goto line or goto tag)
# only the first and second argument is interpreted
marker_line=0x000000;0xffff00;false;false
# style for a highlighted search result (e.g when using "Mark" in Search dialogs)
# only the first and second argument is interpreted
marker_search=0x000000;0xffcc00;false;false
# translucency for the line marker(first argument) and the search marker (second argument)
# only the first and second argument is interpreted
marker_translucency=256;256;false;false
# colour of the caret(the blinking cursor), only first and third argument is interpreted
# set the third argument to true to change the caret into a block caret
caret=0xffffff;0x0;false;false
# width of the caret(the blinking cursor), only first argument is interpreted
# width in pixels, use 0 to make it invisible, maximum width is 3
caret_width=1;0;false;false
# set foreground and background colour of indentation guides
indent_guide=0x474545;0x2e3436;false;false
# third argument: if true, use this foreground color. If false, use the default value defined by the filetypes.
# fourth argument: if true, use this background color. If false, use the default value defined by the filetypes.
white_space=0x474545;0x2e3436;true;true
# style of folding icons, only first and second arguments are used, valid values are:
# first argument: 1 for boxes, 2 for circles
# second argument: 1 for straight lines, 2 for curved lines
folding_style=1;1;false;false
# should an horizontal line be drawn at the line where text is folded (only first argument is interpreted)
# 0 to disable
# 1 to draw the line above folded text
# 2 to draw the line below folded text
folding_horiz_line=2;0;false;false
# only first argument is interpreted, sets whether all defined colours should be inverted
invert_all=0;0;false;false
# only first and second argument is interpreted
# first argument: drawing of visual flags to indicate a line is wrapped. This is a bitmask of the
# values: 0 - No visual flags, 1 - Visual flag at end of subline of a wrapped line, 2 - Visual flag
# at begin of subline of a wrapped line, Subline is indented by at least 1 to make room for the flag.
# second argument: wether the visual flags to indicate a line is wrapped are drawn near the border
# or near the text. This is a bitmask of the values: 0 - Visual flags drawn near border,
# 1 - Visual flag at end of subline drawn near text, 2 - Visual flag at begin of subline drawn near text
line_wrap_visuals=3;0;false;false
# sets the size of indentation of sublines for wrapped lines in terms of the width of a space,
# only first argument is interpreted
line_wrap_indent=0;0;false;false
[settings]
# which characters should be skipped when moving (or included when deleting) to word boundaries
# should always include space and tab (\s\t)
whitespace_chars=\s\t!\"#$%&'()*+,-./:;<=>?@[\\]^`{|}~
configs/geany/filetypes/filetypes.cpp
# For complete documentation of this file, please see Geany's main documentation
[styling=C]
[keywords]
# all items must be in one line
primary=alignas alignof and and_eq asm auto bitand bitor bool break case catch char char16_t char32_t class compl const const_cast constexpr continue decltype default delete do double dynamic_cast else enum explicit export extern false final float for friend goto if inline long mutable namespace new noexcept not not_eq nullptr operator or or_eq override private protected ptrdiff_t public register reinterpret_cast return short signed sizeof size_t static static_assert static_cast struct switch template this thread_local throw true try typedef typeid typename uint8_t uint16_t uint32_t uint64_t union unsigned using virtual void volatile wchar_t while xor xor_eq true false int8_t int16_t int32_t int64_t uint8_t uint16_6 uint32_t uint64_t
secondary=
# these are the Doxygen keywords
docComment=a addindex addtogroup anchor arg attention author authors b brief bug c callergraph callgraph category cite class code cond copybrief copydetails copydoc copyright date def defgroup deprecated details dir dontinclude dot dotfile e else elseif em endcode endcond enddot endhtmlonly endif endinternal endlatexonly endlink endmanonly endmsc endrtfonly endverbatim endxmlonly enum example exception extends file fn headerfile hideinitializer htmlinclude htmlonly if ifnot image implements include includelineno ingroup interface internal invariant latexonly li line link mainpage manonly memberof msc mscfile n name namespace nosubgrouping note overload p package page par paragraph param post pre private privatesection property protected protectedsection protocol public publicsection ref related relatedalso relates relatesalso remark remarks result return returns retval rtfonly sa section see short showinitializer since skip skipline snippet struct subpage subsection subsubsection tableofcontents test throw throws todo tparam typedef union until var verbatim verbinclude version warning weakgroup xmlonly xrefitem
[lexer_properties]
styling.within.preprocessor=1
lexer.cpp.track.preprocessor=0
preprocessor.symbol.$(file.patterns.cpp)=#
preprocessor.start.$(file.patterns.cpp)=if ifdef ifndef
preprocessor.middle.$(file.patterns.cpp)=else elif
preprocessor.end.$(file.patterns.cpp)=endif
[settings]
lexer_filetype=C
# default extension used when saving files
extension=cpp
# the following characters are these which a "word" can contains, see documentation
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
# single comments, like # in this file
comment_single=//
# multiline comments
comment_open=/*
comment_close=*/
# set to false if a comment character/string should start at column 0 of a line, true uses any
# indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
#command_example();
# setting to false would generate this
# command_example();
# This setting works only for single line comments
comment_use_indent=true
# context action command (please see Geany's main documentation for details)
context_action_cmd=
[indentation]
#width=4
# 0 is spaces, 1 is tabs, 2 is tab & spaces
#type=1
[build_settings]
# %f will be replaced by the complete filename
# %e will be replaced by the filename without extension
# (use only one of it at one time)
compiler=g++ -Wall -c "%f"
linker=g++ -Wall -o "%e" "%f"
run_cmd="./%e"
configs/geany/filetypes/filetypes.python
# For complete documentation of this file, please see Geany's main documentation
[styling]
default=0xffffff;0x001b33;false;false
commentline=0x0088ff;0x001b33;false;false
number=0xff0044;0x001b33;false;false
string=0x3ad900;0x001b33;false;false
character=0x3ad900;0x001b33;false;false
word=0xff9d00;0x001b33;true;false
word2=0xff0044;0x001b33;true;false
triple=0x729fcf;0x001b33;false;false
tripledouble=0x3ad900;0x001b33;false;false
classname=0xffffff;0x001b33;true;false
defname=0xffffff;0x001b33;true;false
operator=0xffffff;0x001b33;true;false
identifier=0xcccccc;0x001b33;false;false
commentblock=0x0088ff;0x001b33;false;false
stringeol=0xffffff;0xad7fa8;false;false <------------
decorator=0x729FCF;0x001b33;false;false
commentdockeyword=0xad7fa8;0x001b33;false;false
commentdockeyworderror=0x888a85;0x001b33;false;false
marker_search=0x000000;0xffcc00;false;false
[keywords]
# all items must be in one line
primary=and as assert break class continue def del elif else except exec finally for from global if import in is lambda not or pass print raise return try while with yield isinstance self __name__ abs all any basestring bin bool bytearray callable chr classmethod cmp compile complex delattr dict dir divmod enumerate eval execfile file filter float format frozenset getattr globals hasattr hash help hex id input int isinstance issubclass iter len list locals long map max memoryview min next object oct open ord pow print property range raw_input reduce reload repr reversed round set setattr slice sorted staticmethod str sum super tuple type unichr unicode vars xrange zip __import__ apply buffer coerce intern
#uncomment this when bug is fixed:
secondary=True False None NotImplemented Ellipsis __debug__
[settings]
# default extension used when saving files
extension=py
# the following characters are these which a "word" can contains, see documentation
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
# if only single comment char is supported like # in this file, leave comment_close blank
comment_open=#
comment_close=
# set to false if a comment character/string should start at column 0 of a line, true uses any
# indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
#command_example();
# setting to false would generate this
# command_example();
# This setting works only for single line comments
comment_use_indent=true
docComment=attention author brief bug class code date def enum example exception file fn namespace note param remarks return see since struct throw todo typedef var version warning union
# context action command (please see Geany's main documentation for details)
context_action_cmd=
[build_settings]
# %f will be replaced by the complete filename
# %e will be replaced by the filename without extension
# (use only one of it at one time)
compiler=python -c "import py_compile; py_compile.compile('%f')"
run_cmd=python "%f"
configs/geany/filetypes/filetypes.sh
# For complete documentation of this file, please see Geany's main documentation
[styling]
# foreground;background;bold;italic
default=0xffffff;0x001b33;false;false
commentline=0x0088ff;0x001b33;false;false
commands=0xFF9D00;0xffffff;false;false
number=0xff0044;0x001b33;false;false
word=0xff9d00;0x001b33;true;false
string=0x3ad900;0x001b33;false;false
character=0x3ad900;0x001b33;false;false
operator=0xffffff;0x001b33;true;false
identifier=0xffffff;0x001b33;false;false
backticks=0x000000;0xd0d0d0;false;false
param=0x009f00;0xffffff;false;false
scalar=0x105090;0xffffff;false;false
error=0xff0000;0xffffff;false;false
here_delim=0x000000;0xddd0dd;false;false
here_q=0x7f007f;0xddd0dd;false;false
[keywords]
primary=break case continue do done elif else esac eval exit export fi for function goto if in integer return set shift then until while bash bunzip2 busybox bzcat bzcmp bzdiff bzegrep bzexe bzfgrep bzgrep bzip2 bzip2recover bzless bzmore cat cd chgrp chmod chown chvt cp cpio dash date dd df dir dmesg dnsdomainname domainname dumpkeys echo ed egrep false fgconsole fgrep fuser fusermount grep gunzip gzexe gzip hostname init-checkconf initctl2dot ip kbd_mode kill less lessecho lessfile lesskey lesspipe ln loadkeys login ls lsmod mkdir mknod mktemp more mount mountpoint mt mt-gnu mv nano nc nc.openbsd netcat netstat nisdomainname open openvt pidof ping ping6 ps pwd rbash readlink rm rmdir rnano run-parts sed setfont setupcon sh sh.distrib sleep static-sh stty su sync tailf tar tempfile touch true umount uname uncompress unicode_start vdir vmmouse_detect which ypdomainname zcat zcmp zdiff zegrep zfgrep zforce zgrep zless zmore znew
[settings]
# default extension used when saving files
extension=sh
# the following characters are these which a "word" can contains, see documentation
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
# single comments, like # in this file
comment_single=#
# multiline comments
#comment_open=
#comment_close=
# set to false if a comment character/string should start a column 0 of a line, true uses any
# indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
#command_example();
# setting to false would generate this
# command_example();
# This setting works only for single line comments
comment_use_indent=true
# context action command (please see Geany's main documentation for details)
context_action_cmd=
[indentation]
#width=4
# 0 is spaces, 1 is tabs, 2 is tab & spaces
#type=1
[build_settings]
# %f will be replaced by the complete filename
# %e will be replaced by the filename without extension
# (use only one of it at one time)
run_cmd="./%f"
configs/geany/filetypes/filetypes.vhdl
# For complete documentation of this file, please see Geany's main documentation
[styling]
# foreground;background;bold;italic
default=0xffffff;0x001b33;false;false
comment=0x0088ff;0x001b33;false;false
commentline=0x0088ff;0x001b33;false;false
comment_line_bang=0x0088ff;0x001b33;false;false
number=0xff0044;0x001b33;false;false
string=0x3ad900;0x001b33;false;false
operator=0xffffff;0x001b33;true;false
identifier=0xcccccc;0x001b33;false;false
stringeol=0x000000;0xe0c0e0;false;false
keyword=0xff9d00;0x001b33;true;false
stdoperator=0xff9d00;0x001b33;true;false
attribute=0x804020;0xffffff;false;false
stdfunction=0xff9d00;0x001b33;true;false
stdpackage=0xff9d00;0x001b33;true;false
stdtype=0x208080;0x001b33;false;false
userword=0x804020;0x001b33f;true;false
[keywords]
# all items must be in one line
keywords=access after alias all architecture array assert attribute begin block body buffer bus case component configuration constant disconnect downto else elsif end entity exit file for function generate generic group guarded if impure in inertial inout is label library linkage literal loop map new next null of on open others out package port postponed procedure process pure range record register reject report return select severity shared signal subtype then to transport type unaffected units until use variable wait when while with
operators=abs and mod nand nor not or rem rol ror sla sll sra srl xnor xor
attributes=left right low high ascending image value pos val succ pred leftof rightof base range reverse_range length delayed stable quiet transaction event active last_event last_active last_value driving driving_value simple_name path_name instance_name
std_functions=now readline read writeline write endfile resolved to_bit to_bitvector to_stdulogic to_stdlogicvector to_stdulogicvector to_x01 to_x01z to_UX01 rising_edge falling_edge is_x shift_left shift_right rotate_left rotate_right resize to_integer to_unsigned to_signed std_match to_01
std_packages=std ieee work standard textio std_logic_1164 std_logic_arith std_logic_misc std_logic_signed std_logic_textio std_logic_unsigned numeric_bit numeric_std math_complex math_real vital_primitives vital_timing
std_types=boolean bit character severity_level integer real time delay_length natural positive string bit_vector file_open_kind file_open_status line text side width std_ulogic std_ulogic_vector std_logic std_logic_vector X01 X01Z UX01 UX01Z unsigned signed
userwords=
[settings]
# default extension used when saving files
extension=vhd
# the following characters are these which a "word" can contains, see documentation
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
# if only single comment char is supported like # in this file, leave comment_close blank
comment_open=--
comment_close=
# set to false if a comment character/string should start at column 0 of a line, true uses any
# indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
#command_example();
# setting to false would generate this
# command_example();
# This setting works only for single line comments
comment_use_indent=true
# context action command (please see Geany's main documentation for details)
context_action_cmd=

Also available in: Unified diff