"Fossies" - the Fresh Open Source Software Archive

Member "wscite/rust.properties" (11 Sep 2020, 2558 Bytes) of package /windows/misc/wscite445.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # Define SciTE settings for Rust
    2 
    3 file.patterns.rust=*.rs
    4 filter.rust=Rust (rs)|$(file.patterns.rust)|
    5 *filter.rust=$(filter.rust)
    6 lexer.$(file.patterns.rust)=rust
    7 *language.rust=Rust|rs||
    8 
    9 word.chars.rust=$(chars.alpha)$(chars.numeric)_#
   10 word.characters.$(file.patterns.rust)=$(word.chars.rust)
   11 calltip.rust.word.characters=$(chars.alpha)$(chars.numeric)_
   12 
   13 comment.block.at.line.start.rust=1
   14 comment.block.rust=//~
   15 comment.stream.start.rust=/*
   16 comment.stream.end.rust=*/
   17 comment.box.start.rust=/*
   18 comment.box.middle.rust= *
   19 comment.box.end.rust= */
   20 
   21 statement.indent.$(file.patterns.rust)=6
   22 statement.end.$(file.patterns.rust)=16 ;
   23 statement.lookback.$(file.patterns.rust)=20
   24 block.start.$(file.patterns.rust)=16 {
   25 block.end.$(file.patterns.rust)=16 }
   26 braces.rust.style=16
   27 
   28 # Rust keywords
   29 keywords.$(file.patterns.rust)=alignof as be box break const continue crate do else enum extern false fn for if impl in let loop match mod mut offsetof once priv proc pub pure ref return self sizeof static struct super trait true type typeof unsafe unsized use virtual while yield
   30 
   31 # Built-in types
   32 keywords2.$(file.patterns.rust)=bool char f32 f64 i16 i32 i64 i8 int str u16 u32 u64 u8 uint
   33 
   34 # The Self parameter
   35 keywords3.$(file.patterns.rust)=Self
   36 
   37 # Styles
   38 
   39 style.rust.32=$(font.base)
   40 # Whitespace
   41 style.rust.0=fore:#808080
   42 # Block comment
   43 style.rust.1=$(colour.code.comment.box),$(font.code.comment.box)
   44 # Line comment
   45 style.rust.2=$(colour.code.comment.line),$(font.code.comment.line)
   46 # Block doc comment
   47 style.rust.3=$(colour.code.comment.doc),$(font.code.comment.doc)
   48 # Line doc comment
   49 style.rust.4=$(colour.code.comment.doc),$(font.code.comment.doc)
   50 # Number
   51 style.rust.5=$(colour.number)
   52 # Keywords 1-7
   53 style.rust.6=$(colour.keyword),bold
   54 style.rust.7=$(colour.keyword),bold
   55 style.rust.8=$(colour.keyword)
   56 style.rust.9=$(colour.keyword),bold
   57 style.rust.10=$(colour.keyword),bold
   58 style.rust.11=$(colour.keyword),bold
   59 style.rust.12=$(colour.keyword),bold
   60 # Regular string
   61 style.rust.13=$(colour.string)
   62 # Raw string
   63 style.rust.14=fore:#B090B0
   64 # Character
   65 style.rust.15=$(colour.char)
   66 # Operator
   67 style.rust.16=$(colour.operator),bold
   68 # Identifier
   69 style.rust.17=
   70 # Lifetime
   71 style.rust.18=fore:#007F7F
   72 # Macro
   73 style.rust.19=$(colour.preproc)
   74 # Lexical error
   75 style.rust.20=fore:#000000,$(font.monospace),back:#E0C0E0
   76 # Byte string
   77 style.rust.21=$(colour.string)
   78 # Raw byte string
   79 style.rust.22=fore:#B090B0
   80 # Byte character
   81 style.rust.23=$(colour.char)
   82 
   83 command.compile.*.rs=rustc $(FileNameExt)
   84 command.build.*.rs=$(make.command)
   85 command.go.*.rs=./$(FileName)
   86