Add "Rust" syntax style
After Width: | Height: | Size: 5.7 KiB |
After Width: | Height: | Size: 612 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 92 KiB |
@ -568,6 +568,23 @@
|
||||
<key>NSDocumentClass</key>
|
||||
<string>CEDocument</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>rs</string>
|
||||
<string>rc</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>docRust</string>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>Rust Source</string>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Editor</string>
|
||||
<key>LSTypeIsPackage</key>
|
||||
<integer>0</integer>
|
||||
<key>NSDocumentClass</key>
|
||||
<string>CEDocument</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
|
944
CotEditor/Syntaxes/Rust.yaml
Normal file
@ -0,0 +1,944 @@
|
||||
extensions:
|
||||
- keyString: "rs"
|
||||
- keyString: "rc"
|
||||
filenames: []
|
||||
comments: []
|
||||
outlineMenu:
|
||||
- beginString: "^([\\t ]*)fn[\\t ]+(\\w+)"
|
||||
keyString: "$1$2"
|
||||
- beginString: "^([\\t ]*)impl[\\t ]+(\\w+)"
|
||||
bold: true
|
||||
keyString: "$1$2"
|
||||
- beginString: "^([\\t ]*)struct[\\t ]+(\\w+)"
|
||||
keyString: "$1struct $2"
|
||||
italic: true
|
||||
metadata:
|
||||
distributionURL: "http://coteditor.github.io"
|
||||
lastModified: "2014-10-26"
|
||||
author: "1024jp"
|
||||
license: "Same as CotEditor"
|
||||
description: "based on Rust 0.12\n\nCommands -> Functions\nTypes -> primitive Types,
|
||||
Type Definitions, Structs\nAttuributes -> Macros\nValues -> boolean, Constants,
|
||||
Enums"
|
||||
version: "1.0"
|
||||
numbers:
|
||||
- beginString: "\\b0b[01_]+([ui](8|16|32|64)?)?\\b"
|
||||
regularExpression: true
|
||||
- beginString: "\\b0o[0-7_]+([ui](8|16|32|64)?)?\\b"
|
||||
regularExpression: true
|
||||
- beginString: "\\b0x[0-9a-f_]+([ui](8|16|32|64)?)?\\b"
|
||||
regularExpression: true
|
||||
- beginString: "\\b[0-9][0-9_]*([ui](8|16|32|64)?)?\\b"
|
||||
regularExpression: true
|
||||
- beginString: "\\b[0-9][0-9_]*(\\.[0-9][0-9_]*)?([eE][-+][0-9][0-9_]*)?(f32|f64)?\\b"
|
||||
regularExpression: true
|
||||
commands:
|
||||
- beginString: "abort"
|
||||
- beginString: "abs"
|
||||
- beginString: "abs_sub"
|
||||
- beginString: "align_of"
|
||||
- beginString: "align_of_val"
|
||||
- beginString: "all_names"
|
||||
- beginString: "assume"
|
||||
- beginString: "atomic_and"
|
||||
- beginString: "atomic_and_acq"
|
||||
- beginString: "atomic_and_acqrel"
|
||||
- beginString: "atomic_and_rel"
|
||||
- beginString: "atomic_and_relaxed"
|
||||
- beginString: "atomic_cxchg"
|
||||
- beginString: "atomic_cxchg_acq"
|
||||
- beginString: "atomic_cxchg_acqrel"
|
||||
- beginString: "atomic_cxchg_rel"
|
||||
- beginString: "atomic_cxchg_relaxed"
|
||||
- beginString: "atomic_fence"
|
||||
- beginString: "atomic_fence_acq"
|
||||
- beginString: "atomic_fence_acqrel"
|
||||
- beginString: "atomic_fence_rel"
|
||||
- beginString: "atomic_load"
|
||||
- beginString: "atomic_load_acq"
|
||||
- beginString: "atomic_load_relaxed"
|
||||
- beginString: "atomic_max"
|
||||
- beginString: "atomic_max_acq"
|
||||
- beginString: "atomic_max_acqrel"
|
||||
- beginString: "atomic_max_rel"
|
||||
- beginString: "atomic_max_relaxed"
|
||||
- beginString: "atomic_min"
|
||||
- beginString: "atomic_min_acq"
|
||||
- beginString: "atomic_min_acqrel"
|
||||
- beginString: "atomic_min_rel"
|
||||
- beginString: "atomic_min_relaxed"
|
||||
- beginString: "atomic_nand"
|
||||
- beginString: "atomic_nand_acq"
|
||||
- beginString: "atomic_nand_acqrel"
|
||||
- beginString: "atomic_nand_rel"
|
||||
- beginString: "atomic_nand_relaxed"
|
||||
- beginString: "atomic_or"
|
||||
- beginString: "atomic_or_acq"
|
||||
- beginString: "atomic_or_acqrel"
|
||||
- beginString: "atomic_or_rel"
|
||||
- beginString: "atomic_or_relaxed"
|
||||
- beginString: "atomic_store"
|
||||
- beginString: "atomic_store_rel"
|
||||
- beginString: "atomic_store_relaxed"
|
||||
- beginString: "atomic_umax"
|
||||
- beginString: "atomic_umax_acq"
|
||||
- beginString: "atomic_umax_acqrel"
|
||||
- beginString: "atomic_umax_rel"
|
||||
- beginString: "atomic_umax_relaxed"
|
||||
- beginString: "atomic_umin"
|
||||
- beginString: "atomic_umin_acq"
|
||||
- beginString: "atomic_umin_acqrel"
|
||||
- beginString: "atomic_umin_rel"
|
||||
- beginString: "atomic_umin_relaxed"
|
||||
- beginString: "atomic_xadd"
|
||||
- beginString: "atomic_xadd_acq"
|
||||
- beginString: "atomic_xadd_acqrel"
|
||||
- beginString: "atomic_xadd_rel"
|
||||
- beginString: "atomic_xadd_relaxed"
|
||||
- beginString: "atomic_xchg"
|
||||
- beginString: "atomic_xchg_acq"
|
||||
- beginString: "atomic_xchg_acqrel"
|
||||
- beginString: "atomic_xchg_rel"
|
||||
- beginString: "atomic_xchg_relaxed"
|
||||
- beginString: "atomic_xor"
|
||||
- beginString: "atomic_xor_acq"
|
||||
- beginString: "atomic_xor_acqrel"
|
||||
- beginString: "atomic_xor_rel"
|
||||
- beginString: "atomic_xor_relaxed"
|
||||
- beginString: "atomic_xsub"
|
||||
- beginString: "atomic_xsub_acq"
|
||||
- beginString: "atomic_xsub_acqrel"
|
||||
- beginString: "atomic_xsub_rel"
|
||||
- beginString: "atomic_xsub_relaxed"
|
||||
- beginString: "begin_unwind"
|
||||
- beginString: "begin_unwind_fmt"
|
||||
- beginString: "benchmark"
|
||||
- beginString: "black_box"
|
||||
- beginString: "breakpoint"
|
||||
- beginString: "bswap16"
|
||||
- beginString: "bswap32"
|
||||
- beginString: "bswap64"
|
||||
- beginString: "canonical_combining_class"
|
||||
- beginString: "cast"
|
||||
- beginString: "ceilf32"
|
||||
- beginString: "ceilf64"
|
||||
- beginString: "change_file_times"
|
||||
- beginString: "channel"
|
||||
- beginString: "check_for_errors_in"
|
||||
- beginString: "checked_next_power_of_two"
|
||||
- beginString: "chmod"
|
||||
- beginString: "chomod"
|
||||
- beginString: "chown"
|
||||
- beginString: "clone_ref"
|
||||
- beginString: "close"
|
||||
- beginString: "cmp"
|
||||
- beginString: "compose"
|
||||
- beginString: "copy"
|
||||
- beginString: "copy_lifetime"
|
||||
- beginString: "copy_memory"
|
||||
- beginString: "copy_mut_lifetime"
|
||||
- beginString: "copy_nonoverlapping_memory"
|
||||
- beginString: "copysignf32"
|
||||
- beginString: "copysignf64"
|
||||
- beginString: "cosf32"
|
||||
- beginString: "cosf64"
|
||||
- beginString: "count"
|
||||
- beginString: "ctlz16"
|
||||
- beginString: "ctlz32"
|
||||
- beginString: "ctlz64"
|
||||
- beginString: "ctlz8"
|
||||
- beginString: "ctpop16"
|
||||
- beginString: "ctpop32"
|
||||
- beginString: "ctpop64"
|
||||
- beginString: "ctpop8"
|
||||
- beginString: "cttz16"
|
||||
- beginString: "cttz32"
|
||||
- beginString: "cttz64"
|
||||
- beginString: "cttz8"
|
||||
- beginString: "current_guard_page"
|
||||
- beginString: "decompose_canonical"
|
||||
- beginString: "decompose_compatible"
|
||||
- beginString: "div_rem"
|
||||
- beginString: "drop"
|
||||
- beginString: "eq"
|
||||
- beginString: "equals"
|
||||
- beginString: "escape_default"
|
||||
- beginString: "escape_defaults"
|
||||
- beginString: "escape_unicode"
|
||||
- beginString: "exp2f32"
|
||||
- beginString: "exp2f64"
|
||||
- beginString: "expand"
|
||||
- beginString: "expf32"
|
||||
- beginString: "expf64"
|
||||
- beginString: "fabsf32"
|
||||
- beginString: "fabsf64"
|
||||
- beginString: "fail"
|
||||
- beginString: "fail_fmt"
|
||||
- beginString: "fence"
|
||||
- beginString: "filter_tests"
|
||||
- beginString: "float_to_str_bytes_common"
|
||||
- beginString: "float_to_str_common"
|
||||
- beginString: "floorf32"
|
||||
- beginString: "floorf64"
|
||||
- beginString: "flush"
|
||||
- beginString: "fmaf32"
|
||||
- beginString: "fmaf64"
|
||||
- beginString: "fmt_bench_samples"
|
||||
- beginString: "fmt_metrics"
|
||||
- beginString: "fold"
|
||||
- beginString: "forget"
|
||||
- beginString: "format"
|
||||
- beginString: "freq_count"
|
||||
- beginString: "from_bytes"
|
||||
- beginString: "from_c_multistring"
|
||||
- beginString: "from_digit"
|
||||
- beginString: "from_f32"
|
||||
- beginString: "from_f64"
|
||||
- beginString: "from_fn"
|
||||
- beginString: "from_i16"
|
||||
- beginString: "from_i32"
|
||||
- beginString: "from_i64"
|
||||
- beginString: "from_i8"
|
||||
- beginString: "from_int"
|
||||
- beginString: "from_str"
|
||||
- beginString: "from_str_bytes_common"
|
||||
- beginString: "from_str_common"
|
||||
- beginString: "from_str_hex"
|
||||
- beginString: "from_u16"
|
||||
- beginString: "from_u32"
|
||||
- beginString: "from_u64"
|
||||
- beginString: "ge"
|
||||
- beginString: "get_dbpath_for_term"
|
||||
- beginString: "get_host_addresses"
|
||||
- beginString: "get_mut"
|
||||
- beginString: "get_sp_limit"
|
||||
- beginString: "get_tydesc"
|
||||
- beginString: "getsockopt"
|
||||
- beginString: "gt"
|
||||
- beginString: "hash"
|
||||
- beginString: "hash_with_keys"
|
||||
- beginString: "htons"
|
||||
- beginString: "i16_add_with_overflow"
|
||||
- beginString: "i16_mul_with_overflow"
|
||||
- beginString: "i16_sub_with_overflow"
|
||||
- beginString: "i32_add_with_overflow"
|
||||
- beginString: "i32_mul_with_overflow"
|
||||
- beginString: "i32_sub_with_overflow"
|
||||
- beginString: "i64_add_with_overflow"
|
||||
- beginString: "i64_mul_with_overflow"
|
||||
- beginString: "i64_sub_with_overflow"
|
||||
- beginString: "i8_add_with_overflow"
|
||||
- beginString: "i8_mul_with_overflow"
|
||||
- beginString: "i8_sub_with_overflow"
|
||||
- beginString: "init"
|
||||
- beginString: "is_alphabetic"
|
||||
- beginString: "is_alphanumeric"
|
||||
- beginString: "is_control"
|
||||
- beginString: "is_cwd_relative"
|
||||
- beginString: "is_digit"
|
||||
- beginString: "is_digit_radix"
|
||||
- beginString: "is_lowercase"
|
||||
- beginString: "is_match"
|
||||
- beginString: "is_sep"
|
||||
- beginString: "is_sep_byte"
|
||||
- beginString: "is_sep_byte_verbatim"
|
||||
- beginString: "is_sep_verbatim"
|
||||
- beginString: "is_unique"
|
||||
- beginString: "is_uppercase"
|
||||
- beginString: "is_verbatim"
|
||||
- beginString: "is_vol_relative"
|
||||
- beginString: "is_whitespace"
|
||||
- beginString: "is_XID_continue"
|
||||
- beginString: "is_XID_start"
|
||||
- beginString: "iterate"
|
||||
- beginString: "lang_start"
|
||||
- beginString: "last_error"
|
||||
- beginString: "le"
|
||||
- beginString: "len"
|
||||
- beginString: "len_utf8_bytes"
|
||||
- beginString: "len_utf8_types"
|
||||
- beginString: "link"
|
||||
- beginString: "log10f32"
|
||||
- beginString: "log10f64"
|
||||
- beginString: "log2f32"
|
||||
- beginString: "log2f64"
|
||||
- beginString: "logf32"
|
||||
- beginString: "logf64"
|
||||
- beginString: "lookup"
|
||||
- beginString: "lstat"
|
||||
- beginString: "lt"
|
||||
- beginString: "main"
|
||||
- beginString: "main_guard_page"
|
||||
- beginString: "make_non_verbatim"
|
||||
- beginString: "max"
|
||||
- beginString: "maybe_inject_crates_ref"
|
||||
- beginString: "maybe_inject_prelude"
|
||||
- beginString: "memcmp"
|
||||
- beginString: "memcpy"
|
||||
- beginString: "memmove"
|
||||
- beginString: "memset"
|
||||
- beginString: "min"
|
||||
- beginString: "min_align_of"
|
||||
- beginString: "min_align_of_val"
|
||||
- beginString: "mkdir"
|
||||
- beginString: "mkdir_recursive"
|
||||
- beginString: "modify_for_testing"
|
||||
- beginString: "move_val_init"
|
||||
- beginString: "msys_terminfo"
|
||||
- beginString: "mut_ref_slice"
|
||||
- beginString: "ne"
|
||||
- beginString: "nearbyintf32"
|
||||
- beginString: "nearbyintf64"
|
||||
- beginString: "needs_drop"
|
||||
- beginString: "new"
|
||||
- beginString: "next_test_ip4"
|
||||
- beginString: "next_test_ip6"
|
||||
- beginString: "next_test_port"
|
||||
- beginString: "next_test_unix"
|
||||
- beginString: "now"
|
||||
- beginString: "ntohs"
|
||||
- beginString: "null"
|
||||
- beginString: "null_mut"
|
||||
- beginString: "offset"
|
||||
- beginString: "one"
|
||||
- beginString: "open"
|
||||
- beginString: "open_external"
|
||||
- beginString: "open_internal"
|
||||
- beginString: "opt_shard"
|
||||
- beginString: "owns_managed"
|
||||
- beginString: "parse"
|
||||
- beginString: "parse_opts"
|
||||
- beginString: "partial_cmp"
|
||||
- beginString: "partial_max"
|
||||
- beginString: "partial_min"
|
||||
- beginString: "pipe"
|
||||
- beginString: "pow"
|
||||
- beginString: "powf32"
|
||||
- beginString: "powf64"
|
||||
- beginString: "powif32"
|
||||
- beginString: "powif64"
|
||||
- beginString: "pref_align_of"
|
||||
- beginString: "prefix"
|
||||
- beginString: "print"
|
||||
- beginString: "print_args"
|
||||
- beginString: "println"
|
||||
- beginString: "println_args"
|
||||
- beginString: "quote"
|
||||
- beginString: "radix"
|
||||
- beginString: "raise_fd_limit"
|
||||
- beginString: "random"
|
||||
- beginString: "range"
|
||||
- beginString: "range_inclusive"
|
||||
- beginString: "range_step"
|
||||
- beginString: "range_step_inclusive"
|
||||
- beginString: "read"
|
||||
- beginString: "read_and_zero"
|
||||
- beginString: "readdir"
|
||||
- beginString: "readlink"
|
||||
- beginString: "record_os_managed_stack_bounds"
|
||||
- beginString: "record_rust_managed_stack_bounds "
|
||||
- beginString: "record_sp_limit"
|
||||
- beginString: "ref_slice"
|
||||
- beginString: "register"
|
||||
- beginString: "rename"
|
||||
- beginString: "replace"
|
||||
- beginString: "return_address"
|
||||
- beginString: "rintf32"
|
||||
- beginString: "rintf64"
|
||||
- beginString: "rmdir"
|
||||
- beginString: "rmdir_recursive"
|
||||
- beginString: "roundf32"
|
||||
- beginString: "roundf64"
|
||||
- beginString: "run"
|
||||
- beginString: "run_test"
|
||||
- beginString: "run_tests_console"
|
||||
- beginString: "rust_begin_unwind"
|
||||
- beginString: "sample"
|
||||
- beginString: "set_logger"
|
||||
- beginString: "set_memory"
|
||||
- beginString: "set_stderr"
|
||||
- beginString: "set_stdout"
|
||||
- beginString: "signum"
|
||||
- beginString: "sinf32"
|
||||
- beginString: "sinf64"
|
||||
- beginString: "size_of"
|
||||
- beginString: "size_of_val"
|
||||
- beginString: "sleep"
|
||||
- beginString: "sockaddr_to_addr"
|
||||
- beginString: "sqrtf32"
|
||||
- beginString: "sqrtf64"
|
||||
- beginString: "standard_error"
|
||||
- beginString: "start"
|
||||
- beginString: "stat"
|
||||
- beginString: "stderr"
|
||||
- beginString: "stderr_raw"
|
||||
- beginString: "stdin"
|
||||
- beginString: "stdin_raw"
|
||||
- beginString: "stdout"
|
||||
- beginString: "stdout_raw"
|
||||
- beginString: "swap"
|
||||
- beginString: "symbol"
|
||||
- beginString: "symlink"
|
||||
- beginString: "sync_channel"
|
||||
- beginString: "task_rng"
|
||||
- beginString: "test_main"
|
||||
- beginString: "test_main_static"
|
||||
- beginString: "to_digit"
|
||||
- beginString: "to_lowercase"
|
||||
- beginString: "to_str_digits"
|
||||
- beginString: "to_str_exact"
|
||||
- beginString: "to_str_exp_digits"
|
||||
- beginString: "to_str_exp_exact"
|
||||
- beginString: "to_str_hex"
|
||||
- beginString: "to_str_radix_special"
|
||||
- beginString: "to_string"
|
||||
- beginString: "to_uppercase"
|
||||
- beginString: "transmute"
|
||||
- beginString: "transmute_copy"
|
||||
- beginString: "truncf32"
|
||||
- beginString: "truncf64"
|
||||
- beginString: "try_finally"
|
||||
- beginString: "try_unwrap"
|
||||
- beginString: "type_id"
|
||||
- beginString: "u16_add_with_overflow"
|
||||
- beginString: "u16_mul_with_overflow"
|
||||
- beginString: "u16_sub_with_overflow"
|
||||
- beginString: "u32_add_with_overflow"
|
||||
- beginString: "u32_mul_with_overflow"
|
||||
- beginString: "u32_sub_with_overflow"
|
||||
- beginString: "u64_add_with_overflow"
|
||||
- beginString: "u64_from_be_bytes"
|
||||
- beginString: "u64_mul_with_overflow"
|
||||
- beginString: "u64_sub_with_overflow"
|
||||
- beginString: "u64_to_be_bytes"
|
||||
- beginString: "u64_to_le_bytes"
|
||||
- beginString: "u8_add_with_overflow"
|
||||
- beginString: "u8_mul_with_overflow"
|
||||
- beginString: "u8_sub_with_overflow"
|
||||
- beginString: "uninit"
|
||||
- beginString: "unlink"
|
||||
- beginString: "unreachable"
|
||||
- beginString: "utime"
|
||||
- beginString: "volatile_copy_memory"
|
||||
- beginString: "volatile_copy_nonoverlapping_memory"
|
||||
- beginString: "volatile_load"
|
||||
- beginString: "volatile_set_memory"
|
||||
- beginString: "volatile_store"
|
||||
- beginString: "walk_dir"
|
||||
- beginString: "weak_rng"
|
||||
- beginString: "width"
|
||||
- beginString: "winsorize"
|
||||
- beginString: "write"
|
||||
- beginString: "write_5_number_summary"
|
||||
- beginString: "write_boxplot"
|
||||
- beginString: "zero"
|
||||
- beginString: "zero_memory"
|
||||
- beginString: "zeroed"
|
||||
values:
|
||||
- beginString: "#!["
|
||||
endString: "]"
|
||||
- beginString: "#["
|
||||
endString: "]"
|
||||
- beginString: "AcqRel"
|
||||
- beginString: "Acquire"
|
||||
- beginString: "AddrConfig"
|
||||
- beginString: "AF_INET"
|
||||
- beginString: "AF_INET6"
|
||||
- beginString: "AF_UNIX"
|
||||
- beginString: "AlignCenter"
|
||||
- beginString: "AlignLeft"
|
||||
- beginString: "AlignRight"
|
||||
- beginString: "AlignUnknown"
|
||||
- beginString: "All"
|
||||
- beginString: "ALL_PERMISSIONS"
|
||||
- beginString: "AllArch"
|
||||
- beginString: "AlwaysColor"
|
||||
- beginString: "Append"
|
||||
- beginString: "ARCH"
|
||||
- beginString: "Archs"
|
||||
- beginString: "Arm"
|
||||
- beginString: "AutoColor"
|
||||
- beginString: "BackgroundColor"
|
||||
- beginString: "BITS"
|
||||
- beginString: "BLACK"
|
||||
- beginString: "Blink"
|
||||
- beginString: "BLUE"
|
||||
- beginString: "Bold"
|
||||
- beginString: "BRIGHT_BLACK"
|
||||
- beginString: "BRIGHT_BLUE"
|
||||
- beginString: "BRIGHT_CYAN"
|
||||
- beginString: "BRIGHT_MAGENTA"
|
||||
- beginString: "BRIGHT_RED"
|
||||
- beginString: "BRIGHT_WHITE"
|
||||
- beginString: "BRIGHT_YELLOW"
|
||||
- beginString: "BrokenPipe"
|
||||
- beginString: "BYTES"
|
||||
- beginString: "CanonName"
|
||||
- beginString: "CloseAsynchronously"
|
||||
- beginString: "Closed"
|
||||
- beginString: "CloseSynchronously"
|
||||
- beginString: "ConnectionAborted"
|
||||
- beginString: "ConnectionFailed"
|
||||
- beginString: "ConnectionRefused"
|
||||
- beginString: "ConnectionReset"
|
||||
- beginString: "CreatePipe"
|
||||
- beginString: "CYAN"
|
||||
- beginString: "Datagram"
|
||||
- beginString: "DeviceNSPrefix"
|
||||
- beginString: "DigAll"
|
||||
- beginString: "DigExact"
|
||||
- beginString: "DIGITS"
|
||||
- beginString: "DigMax"
|
||||
- beginString: "Dim"
|
||||
- beginString: "Disconnected"
|
||||
- beginString: "DiskPrefix"
|
||||
- beginString: "DLL_EXTENSION"
|
||||
- beginString: "DLL_PREFIX"
|
||||
- beginString: "DLL_SUFFIX"
|
||||
- beginString: "DontClose"
|
||||
- beginString: "DynBenchFn"
|
||||
- beginString: "DynMetricFn"
|
||||
- beginString: "DynTestFn"
|
||||
- beginString: "DynTestName"
|
||||
- beginString: "E"
|
||||
- beginString: "Empty"
|
||||
- beginString: "EndOfFile"
|
||||
- beginString: "EPSILON"
|
||||
- beginString: "Equal"
|
||||
- beginString: "Err"
|
||||
- beginString: "ErrAlreadyExists"
|
||||
- beginString: "ErrCreateFileMappingW"
|
||||
- beginString: "ErrFdNotAvail"
|
||||
- beginString: "ErrInvalidFd"
|
||||
- beginString: "ErrMapViewOfFile"
|
||||
- beginString: "ErrNoMapSupport"
|
||||
- beginString: "ErrNoMem"
|
||||
- beginString: "ErrUnaligned"
|
||||
- beginString: "ErrUnknown"
|
||||
- beginString: "ErrUnsupOffset"
|
||||
- beginString: "ErrUnsupProt"
|
||||
- beginString: "ErrVirtualAlloc"
|
||||
- beginString: "ErrZeroLength"
|
||||
- beginString: "EXE_EXTENSION"
|
||||
- beginString: "EXE_SUFFIX"
|
||||
- beginString: "ExitSignal"
|
||||
- beginString: "ExitStatus"
|
||||
- beginString: "ExpBin"
|
||||
- beginString: "ExpDec"
|
||||
- beginString: "ExpNone"
|
||||
- beginString: "false"
|
||||
- beginString: "FAMILY"
|
||||
- beginString: "FileNotFound"
|
||||
- beginString: "FlagAlternate"
|
||||
- beginString: "FlagSignAwareZeroPad"
|
||||
- beginString: "FlagSignMinus"
|
||||
- beginString: "FlagSignPlus"
|
||||
- beginString: "ForeguroundColor"
|
||||
- beginString: "FPInfinite"
|
||||
- beginString: "FPNaN"
|
||||
- beginString: "FPNormal"
|
||||
- beginString: "FPSubnormal"
|
||||
- beginString: "FPZero"
|
||||
- beginString: "FRAC_1_PI"
|
||||
- beginString: "FRAC_1_SQRT2"
|
||||
- beginString: "FRAC_2_PI"
|
||||
- beginString: "FRAC_2_SQRTPI"
|
||||
- beginString: "FRAC_PI_2"
|
||||
- beginString: "FRAC_PI_3"
|
||||
- beginString: "FRAC_PI_4"
|
||||
- beginString: "FRAC_PI_6"
|
||||
- beginString: "FRAC_PI_8"
|
||||
- beginString: "Full"
|
||||
- beginString: "Global"
|
||||
- beginString: "Greater"
|
||||
- beginString: "GREEN"
|
||||
- beginString: "GREEN_BLOCKED"
|
||||
- beginString: "GROUP_EXECUTE"
|
||||
- beginString: "GROUP_READ"
|
||||
- beginString: "GROUP_RWX"
|
||||
- beginString: "GROUP_WRITE"
|
||||
- beginString: "GroupExecute"
|
||||
- beginString: "GroupRead"
|
||||
- beginString: "GroupRWX"
|
||||
- beginString: "GroupWrite"
|
||||
- beginString: "Ignored"
|
||||
- beginString: "Improvement"
|
||||
- beginString: "INFINITY"
|
||||
- beginString: "InheritFd"
|
||||
- beginString: "INIT_ATOMIC_BOOL"
|
||||
- beginString: "INIT_ATOMIC_INT"
|
||||
- beginString: "INIT_ATOMIC_UINT"
|
||||
- beginString: "InvalidDay"
|
||||
- beginString: "InvalidDayOfMonth"
|
||||
- beginString: "InvalidDayOfWeek"
|
||||
- beginString: "InvalidDayOfYear"
|
||||
- beginString: "InvalidFormatSpecifier"
|
||||
- beginString: "InvalidHour"
|
||||
- beginString: "InvalidInput"
|
||||
- beginString: "InvalidMinute"
|
||||
- beginString: "InvalidMonth"
|
||||
- beginString: "InvalidSecond"
|
||||
- beginString: "InvalidTime"
|
||||
- beginString: "InvalidYear"
|
||||
- beginString: "InvalidZoneOffset"
|
||||
- beginString: "IoUnavailable"
|
||||
- beginString: "Ipv4Addr"
|
||||
- beginString: "Ipv6Addr"
|
||||
- beginString: "Italic"
|
||||
- beginString: "KeyValueKey"
|
||||
- beginString: "Lazy"
|
||||
- beginString: "Less"
|
||||
- beginString: "LikelyNoise"
|
||||
- beginString: "LN_10"
|
||||
- beginString: "LN_2"
|
||||
- beginString: "Local"
|
||||
- beginString: "LOCKED"
|
||||
- beginString: "LOG10_E"
|
||||
- beginString: "LOG2_E"
|
||||
- beginString: "LoneSurrogate"
|
||||
- beginString: "MAGENTA"
|
||||
- beginString: "MANTISSA_DIGITS"
|
||||
- beginString: "MAX"
|
||||
- beginString: "MAX_10_EXP"
|
||||
- beginString: "MAX_EXP"
|
||||
- beginString: "MAX_VALUE"
|
||||
- beginString: "MetricAdded"
|
||||
- beginString: "MetricRemoved"
|
||||
- beginString: "MIN"
|
||||
- beginString: "MIN_10_EXP"
|
||||
- beginString: "MIN_EXP"
|
||||
- beginString: "MIN_POS_VALUE"
|
||||
- beginString: "MIN_VALUE"
|
||||
- beginString: "MinMax"
|
||||
- beginString: "Mips"
|
||||
- beginString: "Mipsel"
|
||||
- beginString: "MismatchedFileTypeForOperation"
|
||||
- beginString: "MissingFormatConverter"
|
||||
- beginString: "MustDieSignal"
|
||||
- beginString: "MUTEX_INIT"
|
||||
- beginString: "NAN"
|
||||
- beginString: "NATIVE_BLOCKED"
|
||||
- beginString: "NEG_INFINITY"
|
||||
- beginString: "NeverColor"
|
||||
- beginString: "NewTimer"
|
||||
- beginString: "NoElements"
|
||||
- beginString: "None"
|
||||
- beginString: "NoProgress"
|
||||
- beginString: "NotConnected"
|
||||
- beginString: "NotNull"
|
||||
- beginString: "Now"
|
||||
- beginString: "Null"
|
||||
- beginString: "NumericHost"
|
||||
- beginString: "NumericServ"
|
||||
- beginString: "Occupied"
|
||||
- beginString: "Ok"
|
||||
- beginString: "ONCE_INIT"
|
||||
- beginString: "OneElement"
|
||||
- beginString: "Open"
|
||||
- beginString: "OsAndroid"
|
||||
- beginString: "OsDragonfly"
|
||||
- beginString: "OsFreebsd"
|
||||
- beginString: "OsiOS"
|
||||
- beginString: "OsLinux"
|
||||
- beginString: "OsMacos"
|
||||
- beginString: "OsWindows"
|
||||
- beginString: "OTHER_EXECUTE"
|
||||
- beginString: "OTHER_READ"
|
||||
- beginString: "OTHER_RWX"
|
||||
- beginString: "OTHER_WRITE"
|
||||
- beginString: "OtherExecute"
|
||||
- beginString: "OtherIoError"
|
||||
- beginString: "OtherRead"
|
||||
- beginString: "OtherRWX"
|
||||
- beginString: "OtherWrite"
|
||||
- beginString: "Owned"
|
||||
- beginString: "Passive"
|
||||
- beginString: "PathAlreadyExists"
|
||||
- beginString: "PathDoesntExist"
|
||||
- beginString: "PERLD"
|
||||
- beginString: "PERLS"
|
||||
- beginString: "PERLW"
|
||||
- beginString: "PermissionDenied"
|
||||
- beginString: "PI"
|
||||
- beginString: "PI_2"
|
||||
- beginString: "PleaseExitSignal"
|
||||
- beginString: "RADIX"
|
||||
- beginString: "Raw"
|
||||
- beginString: "Read"
|
||||
- beginString: "ReadWrite"
|
||||
- beginString: "RecvDisconnected"
|
||||
- beginString: "RED"
|
||||
- beginString: "Regression"
|
||||
- beginString: "Relaxed"
|
||||
- beginString: "Release"
|
||||
- beginString: "RemoveTimer"
|
||||
- beginString: "ResourceUnavailable"
|
||||
- beginString: "Reverse"
|
||||
- beginString: "RustArch"
|
||||
- beginString: "ScalarValue"
|
||||
- beginString: "Secure"
|
||||
- beginString: "SeekCur"
|
||||
- beginString: "SeekEnd"
|
||||
- beginString: "SeekSet"
|
||||
- beginString: "SEP"
|
||||
- beginString: "SEP2"
|
||||
- beginString: "SEP2_BYTE"
|
||||
- beginString: "SEP_BYTE"
|
||||
- beginString: "SeqCst"
|
||||
- beginString: "Shared"
|
||||
- beginString: "ShortWrite"
|
||||
- beginString: "SignAll"
|
||||
- beginString: "SignNeg"
|
||||
- beginString: "SignNone"
|
||||
- beginString: "Slice"
|
||||
- beginString: "Some"
|
||||
- beginString: "SQRT2"
|
||||
- beginString: "Standout"
|
||||
- beginString: "StaticBenchFn"
|
||||
- beginString: "StaticMetricFn"
|
||||
- beginString: "StaticTestFn"
|
||||
- beginString: "StaticTestName"
|
||||
- beginString: "Stream"
|
||||
- beginString: "SYSNAME"
|
||||
- beginString: "TCP"
|
||||
- beginString: "TimedOut"
|
||||
- beginString: "TrBench"
|
||||
- beginString: "TrFailed"
|
||||
- beginString: "TrIgnored"
|
||||
- beginString: "TrMetrics"
|
||||
- beginString: "TrOk"
|
||||
- beginString: "true"
|
||||
- beginString: "Truncate"
|
||||
- beginString: "TypeBlockSpecial"
|
||||
- beginString: "TypeDirectory"
|
||||
- beginString: "TypeFile"
|
||||
- beginString: "TypeNamedPipe"
|
||||
- beginString: "TypeSymlink"
|
||||
- beginString: "TypeUnknown"
|
||||
- beginString: "UDP"
|
||||
- beginString: "UNCPrefix"
|
||||
- beginString: "Underline"
|
||||
- beginString: "UnexpectedCharacter"
|
||||
- beginString: "UNICODE_CLASSES"
|
||||
- beginString: "UNICODE_VERSION"
|
||||
- beginString: "USER_DIR"
|
||||
- beginString: "USER_EXEC"
|
||||
- beginString: "USER_EXECUTE"
|
||||
- beginString: "USER_FILE"
|
||||
- beginString: "USER_READ"
|
||||
- beginString: "USER_RWX"
|
||||
- beginString: "USER_WRITE"
|
||||
- beginString: "UserExecute"
|
||||
- beginString: "UserRead"
|
||||
- beginString: "UserRWX"
|
||||
- beginString: "UserWrite"
|
||||
- beginString: "V4Mapped"
|
||||
- beginString: "Vacant"
|
||||
- beginString: "VerbatimDiskPrefix"
|
||||
- beginString: "VerbatimPrefix"
|
||||
- beginString: "VerbatimUNCPrefix"
|
||||
- beginString: "WHITE"
|
||||
- beginString: "Write"
|
||||
- beginString: "WriteError"
|
||||
- beginString: "X86"
|
||||
- beginString: "X86_64"
|
||||
- beginString: "YELLOW"
|
||||
keywords:
|
||||
- beginString: "&(?=\\w)"
|
||||
regularExpression: true
|
||||
- beginString: "as"
|
||||
- beginString: "box"
|
||||
- beginString: "break"
|
||||
- beginString: "continue"
|
||||
- beginString: "crate"
|
||||
- beginString: "else"
|
||||
- beginString: "enum"
|
||||
- beginString: "extern"
|
||||
- beginString: "fn"
|
||||
- beginString: "for"
|
||||
- beginString: "if"
|
||||
- beginString: "impl"
|
||||
- beginString: "in"
|
||||
- beginString: "let"
|
||||
- beginString: "loop"
|
||||
- beginString: "match"
|
||||
- beginString: "mod"
|
||||
- beginString: "mut"
|
||||
- beginString: "priv"
|
||||
- beginString: "proc"
|
||||
- beginString: "pub"
|
||||
- beginString: "ref"
|
||||
- beginString: "return"
|
||||
- beginString: "static"
|
||||
- beginString: "struct"
|
||||
- beginString: "trait"
|
||||
- beginString: "type"
|
||||
- beginString: "unsafe"
|
||||
- beginString: "use"
|
||||
- beginString: "while"
|
||||
attributes:
|
||||
- beginString: "assert!"
|
||||
- beginString: "assert_eq!"
|
||||
- beginString: "at"
|
||||
- beginString: "at_exit"
|
||||
- beginString: "at_utc"
|
||||
- beginString: "begin_unwind"
|
||||
- beginString: "begin_unwind_fmt"
|
||||
- beginString: "bitflags!"
|
||||
- beginString: "bytes!"
|
||||
- beginString: "cfg!"
|
||||
- beginString: "cleanup"
|
||||
- beginString: "clone"
|
||||
- beginString: "col!"
|
||||
- beginString: "concat!"
|
||||
- beginString: "concat_idents!"
|
||||
- beginString: "debug!"
|
||||
- beginString: "debug_assert!"
|
||||
- beginString: "debug_assert_eq!"
|
||||
- beginString: "declare_lint!"
|
||||
- beginString: "decrement"
|
||||
- beginString: "default_sched_threads"
|
||||
- beginString: "empty_tm"
|
||||
- beginString: "env!"
|
||||
- beginString: "error!"
|
||||
- beginString: "fail!"
|
||||
- beginString: "file!"
|
||||
- beginString: "format!"
|
||||
- beginString: "format_args!"
|
||||
- beginString: "get_time"
|
||||
- beginString: "include_bin!"
|
||||
- beginString: "include_str!"
|
||||
- beginString: "increment"
|
||||
- beginString: "info!"
|
||||
- beginString: "init"
|
||||
- beginString: "line!"
|
||||
- beginString: "lint_array!"
|
||||
- beginString: "lint_initializer!"
|
||||
- beginString: "local_data_key!"
|
||||
- beginString: "log!"
|
||||
- beginString: "log_enabled"
|
||||
- beginString: "log_enabled!"
|
||||
- beginString: "min_stack"
|
||||
- beginString: "module_path!"
|
||||
- beginString: "now"
|
||||
- beginString: "now_utc"
|
||||
- beginString: "option_env!"
|
||||
- beginString: "precise_time_ns"
|
||||
- beginString: "precise_time_s"
|
||||
- beginString: "print!"
|
||||
- beginString: "println!"
|
||||
- beginString: "put"
|
||||
- beginString: "regex!"
|
||||
- beginString: "register_diagnostic!"
|
||||
- beginString: "register_diagnostics!"
|
||||
- beginString: "running_on_valgrind"
|
||||
- beginString: "select!"
|
||||
- beginString: "span_err!"
|
||||
- beginString: "span_note!"
|
||||
- beginString: "span_warn!"
|
||||
- beginString: "strftime"
|
||||
- beginString: "stringify!"
|
||||
- beginString: "strptime"
|
||||
- beginString: "take"
|
||||
- beginString: "try!"
|
||||
- beginString: "tzset"
|
||||
- beginString: "unimplemented!"
|
||||
- beginString: "unreachable!"
|
||||
- beginString: "vec!"
|
||||
- beginString: "wait_for_other_tasks"
|
||||
- beginString: "warn!"
|
||||
- beginString: "write!"
|
||||
- beginString: "writeln!"
|
||||
strings:
|
||||
- beginString: "\""
|
||||
endString: "\""
|
||||
- beginString: "b\""
|
||||
- beginString: "b?r#+\""
|
||||
endString: "\"#+"
|
||||
regularExpression: true
|
||||
- beginString: "br\""
|
||||
- beginString: "r\""
|
||||
types:
|
||||
- beginString: "AnyLines"
|
||||
- beginString: "bool"
|
||||
- beginString: "Bytes"
|
||||
- beginString: "c_char"
|
||||
- beginString: "c_double"
|
||||
- beginString: "c_float"
|
||||
- beginString: "c_int"
|
||||
- beginString: "c_long"
|
||||
- beginString: "c_longlong"
|
||||
- beginString: "c_schar"
|
||||
- beginString: "c_short"
|
||||
- beginString: "c_uchar"
|
||||
- beginString: "c_uint"
|
||||
- beginString: "c_ulong"
|
||||
- beginString: "c_ulonglong"
|
||||
- beginString: "c_ushort"
|
||||
- beginString: "Callback"
|
||||
- beginString: "char"
|
||||
- beginString: "clock_t"
|
||||
- beginString: "Color"
|
||||
- beginString: "Components"
|
||||
- beginString: "DecodeResult"
|
||||
- beginString: "Edges"
|
||||
- beginString: "EncodeResult "
|
||||
- beginString: "EnvMap"
|
||||
- beginString: "f32"
|
||||
- beginString: "f64"
|
||||
- beginString: "fd_t"
|
||||
- beginString: "GlueFn"
|
||||
- beginString: "i16"
|
||||
- beginString: "i32"
|
||||
- beginString: "i64"
|
||||
- beginString: "i8"
|
||||
- beginString: "int"
|
||||
- beginString: "intmax_t"
|
||||
- beginString: "intptr_t"
|
||||
- beginString: "IoResult"
|
||||
- beginString: "Items"
|
||||
- beginString: "Iterate"
|
||||
- beginString: "Keys"
|
||||
- beginString: "MetricDiff"
|
||||
- beginString: "MonitorMsg"
|
||||
- beginString: "MoveItems"
|
||||
- beginString: "Nodes"
|
||||
- beginString: "OptRes"
|
||||
- beginString: "Port"
|
||||
- beginString: "ptrdiff_t"
|
||||
- beginString: "Result"
|
||||
- beginString: "SendStr"
|
||||
- beginString: "SetAlgebraItems"
|
||||
- beginString: "SetItems"
|
||||
- beginString: "SetMoveItems"
|
||||
- beginString: "size_t"
|
||||
- beginString: "slice"
|
||||
- beginString: "stock_t"
|
||||
- beginString: "str"
|
||||
- beginString: "StrComponents"
|
||||
- beginString: "suseconds_t"
|
||||
- beginString: "time_t"
|
||||
- beginString: "tuple"
|
||||
- beginString: "u16"
|
||||
- beginString: "u32"
|
||||
- beginString: "u64"
|
||||
- beginString: "u8"
|
||||
- beginString: "uint"
|
||||
- beginString: "uintmax_t"
|
||||
- beginString: "uintptr_t"
|
||||
- beginString: "Values"
|
||||
- beginString: "wchar_t"
|
||||
- beginString: "Words"
|
||||
variables:
|
||||
- beginString: "\\$\\w+"
|
||||
regularExpression: true
|
||||
- beginString: "self"
|
||||
- beginString: "super"
|
||||
commentDelimiters:
|
||||
inlineDelimiter: "//"
|
||||
beginDelimiter: "/*"
|
||||
endDelimiter: "*/"
|
||||
characters:
|
||||
- beginString: "'\\S+'"
|
||||
regularExpression: true
|
||||
completions: []
|
@ -2,6 +2,15 @@
|
||||
changelog
|
||||
==========================
|
||||
|
||||
2.0.0-beta.3
|
||||
--------------------------
|
||||
|
||||
### new
|
||||
|
||||
- “Rust” シンタックス定義を追加
|
||||
|
||||
|
||||
|
||||
2.0.0-beta.2
|
||||
--------------------------
|
||||
|
||||
|