Skip to content

Commit

Permalink
Merge branch 'SiegeLord/rust'
Browse files Browse the repository at this point in the history
Closes PR#181.
  • Loading branch information
b4n committed Jan 14, 2014
2 parents 1a5554c + 416c3da commit e549562
Show file tree
Hide file tree
Showing 25 changed files with 2,095 additions and 67 deletions.
2 changes: 1 addition & 1 deletion data/filetype_extensions.conf
Expand Up @@ -53,7 +53,7 @@ Python=*.py;*.pyw;SConstruct;SConscript;wscript;
PowerShell=*.ps1;*.psm1; PowerShell=*.ps1;*.psm1;
reStructuredText=*.rest;*.reST;*.rst; reStructuredText=*.rest;*.reST;*.rst;
R=*.R;*.r; R=*.R;*.r;
Rust=*.rs Rust=*.rs;
Ruby=*.rb;*.rhtml;*.ruby;*.gemspec;Gemfile;rakefile;Rakefile; Ruby=*.rb;*.rhtml;*.ruby;*.gemspec;Gemfile;rakefile;Rakefile;
Scala=*.scala;*.scl; Scala=*.scala;*.scl;
Sh=*.sh;configure;configure.in;configure.in.in;configure.ac;*.ksh;*.mksh;*.zsh;*.ash;*.bash;*.m4;PKGBUILD;*profile; Sh=*.sh;configure;configure.in;configure.in.in;configure.ac;*.ksh;*.mksh;*.zsh;*.ash;*.bash;*.m4;PKGBUILD;*profile;
Expand Down
61 changes: 0 additions & 61 deletions data/filetypes.Rust.conf

This file was deleted.

66 changes: 66 additions & 0 deletions data/filetypes.rust
@@ -0,0 +1,66 @@
# For complete documentation of this file, please see Geany's main documentation
[styling]
# Edit these in the colorscheme .conf file instead
default=default
commentblock=comment
commentline=comment_line
commentblockdoc=comment_doc
commentlinedoc=comment_doc
number=number_1
word=keyword_1
word2=keyword_2
word3=keyword_3
word4=type
string=string_1
stringraw=string_2
character=character
operator=operator
identifier=identifier_1
lifetime=parameter
macro=preprocessor
lexerror=error

[keywords]
# all items must be in one line
primary=alignof as be box break const continue do else enum extern false fn for if impl in let __log_level loop match mod mut offsetof once priv proc pub pure ref return self sizeof static struct super trait true type typeof unsafe unsized use while yield
secondary=bool char f32 f64 i16 i32 i64 i8 int str u16 u32 u64 u8 uint
tertiary=Self

[lexer_properties]
styling.within.preprocessor=1
lexer.cpp.track.preprocessor=0

[settings]
# default extension used when saving files
extension=rs

# 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=rustc "%f"
linker=rustc -o "%e" "%f"
run_cmd="./%e"

1 change: 1 addition & 0 deletions scintilla/Makefile.am
Expand Up @@ -36,6 +36,7 @@ lexers/LexPython.cxx \
lexers/LexPO.cxx \ lexers/LexPO.cxx \
lexers/LexR.cxx \ lexers/LexR.cxx \
lexers/LexRuby.cxx \ lexers/LexRuby.cxx \
lexers/LexRust.cxx \
lexers/LexSQL.cxx \ lexers/LexSQL.cxx \
lexers/LexTCL.cxx \ lexers/LexTCL.cxx \
lexers/LexTxt2tags.cxx \ lexers/LexTxt2tags.cxx \
Expand Down

0 comments on commit e549562

Please sign in to comment.