[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/cape 20cdb5b3f4 2/3: cape-keyword: Formatting
From: |
ELPA Syncer |
Subject: |
[elpa] externals/cape 20cdb5b3f4 2/3: cape-keyword: Formatting |
Date: |
Thu, 14 Jul 2022 09:57:22 -0400 (EDT) |
branch: externals/cape
commit 20cdb5b3f405f1b01c7380d8105dfb8bbc0a26ac
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
cape-keyword: Formatting
---
cape-keyword.el | 218 +++++++++++++++++++++++++++-----------------------------
1 file changed, 107 insertions(+), 111 deletions(-)
diff --git a/cape-keyword.el b/cape-keyword.el
index 1c2b490622..65f4c9ac53 100644
--- a/cape-keyword.el
+++ b/cape-keyword.el
@@ -45,24 +45,23 @@
"while" "xor" "xor_eq")
(c-mode ;; https://en.cppreference.com/w/c/keyword
"_Alignas" "_Alignof" "_Atomic" "_Bool" "_Complex" "_Generic" "_Imaginary"
- "_Noreturn" "_Static_assert" "_Thread_local"
- "auto" "break" "case" "char" "const" "continue" "default" "do"
- "double" "else" "enum" "extern" "float" "for" "goto" "if" "inline"
- "int" "long" "register" "restrict" "return" "short" "signed" "sizeof"
- "static" "struct" "switch" "typedef" "union" "unsigned" "void" "volatile"
- "while")
+ "_Noreturn" "_Static_assert" "_Thread_local" "auto" "break" "case" "char"
+ "const" "continue" "default" "do" "double" "else" "enum" "extern" "float"
+ "for" "goto" "if" "inline" "int" "long" "register" "restrict" "return"
+ "short" "signed" "sizeof" "static" "struct" "switch" "typedef" "union"
+ "unsigned" "void" "volatile" "while")
(csharp-mode
- "abstract" "add" "alias" "as" "base" "bool" "break" "byte" "case"
- "catch" "char" "checked" "class" "const" "continue" "decimal" "default"
- "delegate" "do" "double" "else" "enum" "event" "explicit" "extern"
- "false" "finally" "fixed" "float" "for" "foreach" "get" "global" "goto"
- "if" "implicit" "in" "int" "interface" "internal" "is" "lock" "long"
- "namespace" "new" "null" "object" "operator" "out" "override" "params"
- "partial" "private" "protected" "public" "readonly" "ref" "remove"
- "return" "sbyte" "sealed" "set" "short" "sizeof" "stackalloc" "static"
- "string" "struct" "switch" "this" "throw" "true" "try" "typeof" "uint"
- "ulong" "unchecked" "unsafe" "ushort" "using" "value" "var" "virtual"
- "void" "volatile" "where" "while" "yield")
+ "abstract" "add" "alias" "as" "base" "bool" "break" "byte" "case" "catch"
+ "char" "checked" "class" "const" "continue" "decimal" "default" "delegate"
+ "do" "double" "else" "enum" "event" "explicit" "extern" "false" "finally"
+ "fixed" "float" "for" "foreach" "get" "global" "goto" "if" "implicit" "in"
+ "int" "interface" "internal" "is" "lock" "long" "namespace" "new" "null"
+ "object" "operator" "out" "override" "params" "partial" "private"
+ "protected" "public" "readonly" "ref" "remove" "return" "sbyte" "sealed"
+ "set" "short" "sizeof" "stackalloc" "static" "string" "struct" "switch"
+ "this" "throw" "true" "try" "typeof" "uint" "ulong" "unchecked" "unsafe"
+ "ushort" "using" "value" "var" "virtual" "void" "volatile" "where" "while"
+ "yield")
(d-mode ;; http://www.digitalmars.com/d/2.0/lex.html
"abstract" "alias" "align" "asm"
"assert" "auto" "body" "bool" "break" "byte" "case" "cast" "catch"
@@ -78,65 +77,63 @@
"typedef" "typeid" "typeof" "ubyte" "ucent" "uint" "ulong" "union"
"unittest" "ushort" "version" "void" "volatile" "wchar" "while" "with")
(f90-mode ;; f90.el
- "abs" "abstract" "achar" "acos" "adjustl" "adjustr" "aimag" "aint"
- "align" "all" "all_prefix" "all_scatter" "all_suffix" "allocatable"
- "allocate" "allocated" "and" "anint" "any" "any_prefix" "any_scatter"
- "any_suffix" "asin" "assign" "assignment" "associate" "associated"
- "asynchronous" "atan" "atan2" "backspace" "bind" "bit_size" "block"
- "btest" "c_alert" "c_associated" "c_backspace" "c_bool"
- "c_carriage_return" "c_char" "c_double" "c_double_complex" "c_f_pointer"
- "c_f_procpointer" "c_float" "c_float_complex" "c_form_feed" "c_funloc"
- "c_funptr" "c_horizontal_tab" "c_int" "c_int16_t" "c_int32_t" "c_int64_t"
- "c_int8_t" "c_int_fast16_t" "c_int_fast32_t" "c_int_fast64_t"
- "c_int_fast8_t" "c_int_least16_t" "c_int_least32_t" "c_int_least64_t"
- "c_int_least8_t" "c_intmax_t" "c_intptr_t" "c_loc" "c_long"
- "c_long_double" "c_long_double_complex" "c_long_long" "c_new_line"
- "c_null_char" "c_null_funptr" "c_null_ptr" "c_ptr" "c_short"
- "c_signed_char" "c_size_t" "c_vertical_tab" "call" "case" "ceiling"
- "char" "character" "character_storage_size" "class" "close" "cmplx"
- "command_argument_count" "common" "complex" "conjg" "contains" "continue"
- "copy_prefix" "copy_scatter" "copy_suffix" "cos" "cosh" "count"
- "count_prefix" "count_scatter" "count_suffix" "cpu_time" "cshift"
- "cycle" "cyclic" "data" "date_and_time" "dble" "deallocate" "deferred"
- "digits" "dim" "dimension" "distribute" "do" "dot_product" "double"
- "dprod" "dynamic" "elemental" "else" "elseif" "elsewhere" "end" "enddo"
- "endfile" "endif" "entry" "enum" "enumerator" "eoshift" "epsilon" "eq"
- "equivalence" "eqv" "error_unit" "exit" "exp" "exponent" "extends"
- "extends_type_of" "external" "extrinsic" "false" "file_storage_size"
- "final" "floor" "flush" "forall" "format" "fraction" "function" "ge"
- "generic" "get_command" "get_command_argument" "get_environment_variable"
- "goto" "grade_down" "grade_up" "gt" "hpf_alignment" "hpf_distribution"
- "hpf_template" "huge" "iachar" "iall" "iall_prefix" "iall_scatter"
- "iall_suffix" "iand" "iany" "iany_prefix" "iany_scatter" "iany_suffix"
- "ibclr" "ibits" "ibset" "ichar" "ieee_arithmetic" "ieee_exceptions"
- "ieee_features" "ieee_get_underflow_mode" "ieee_set_underflow_mode"
- "ieee_support_underflow_control" "ieor" "if" "ilen" "implicit"
- "import" "include" "independent" "index" "inherit" "input_unit"
- "inquire" "int" "integer" "intent" "interface" "intrinsic" "ior"
- "iostat_end" "iostat_eor" "iparity" "iparity_prefix" "iparity_scatter"
- "iparity_suffix" "ishft" "ishftc" "iso_c_binding" "iso_fortran_env"
- "kind" "lbound" "le" "leadz" "len" "len_trim" "lge" "lgt" "lle" "llt"
- "log" "log10" "logical" "lt" "matmul" "max" "maxexponent" "maxloc"
- "maxval" "maxval_prefix" "maxval_scatter" "maxval_suffix" "merge"
- "min" "minexponent" "minloc" "minval" "minval_prefix" "minval_scatter"
- "minval_suffix" "mod" "module" "modulo" "move_alloc" "mvbits" "namelist"
- "ne" "nearest" "neqv" "new" "new_line" "nint" "non_intrinsic"
- "non_overridable" "none" "nopass" "not" "null" "nullify"
- "number_of_processors" "numeric_storage_size" "only" "onto" "open"
- "operator" "optional" "or" "output_unit" "pack" "parameter" "parity"
- "parity_prefix" "parity_scatter" "parity_suffix" "pass" "pause"
+ "abs" "abstract" "achar" "acos" "adjustl" "adjustr" "aimag" "aint" "align"
+ "all" "all_prefix" "all_scatter" "all_suffix" "allocatable" "allocate"
+ "allocated" "and" "anint" "any" "any_prefix" "any_scatter" "any_suffix"
+ "asin" "assign" "assignment" "associate" "associated" "asynchronous"
"atan"
+ "atan2" "backspace" "bind" "bit_size" "block" "btest" "c_alert"
+ "c_associated" "c_backspace" "c_bool" "c_carriage_return" "c_char"
+ "c_double" "c_double_complex" "c_f_pointer" "c_f_procpointer" "c_float"
+ "c_float_complex" "c_form_feed" "c_funloc" "c_funptr" "c_horizontal_tab"
+ "c_int" "c_int16_t" "c_int32_t" "c_int64_t" "c_int8_t" "c_int_fast16_t"
+ "c_int_fast32_t" "c_int_fast64_t" "c_int_fast8_t" "c_int_least16_t"
+ "c_int_least32_t" "c_int_least64_t" "c_int_least8_t" "c_intmax_t"
+ "c_intptr_t" "c_loc" "c_long" "c_long_double" "c_long_double_complex"
+ "c_long_long" "c_new_line" "c_null_char" "c_null_funptr" "c_null_ptr"
+ "c_ptr" "c_short" "c_signed_char" "c_size_t" "c_vertical_tab" "call"
"case"
+ "ceiling" "char" "character" "character_storage_size" "class" "close"
+ "cmplx" "command_argument_count" "common" "complex" "conjg" "contains"
+ "continue" "copy_prefix" "copy_scatter" "copy_suffix" "cos" "cosh" "count"
+ "count_prefix" "count_scatter" "count_suffix" "cpu_time" "cshift" "cycle"
+ "cyclic" "data" "date_and_time" "dble" "deallocate" "deferred" "digits"
+ "dim" "dimension" "distribute" "do" "dot_product" "double" "dprod"
+ "dynamic" "elemental" "else" "elseif" "elsewhere" "end" "enddo" "endfile"
+ "endif" "entry" "enum" "enumerator" "eoshift" "epsilon" "eq" "equivalence"
+ "eqv" "error_unit" "exit" "exp" "exponent" "extends" "extends_type_of"
+ "external" "extrinsic" "false" "file_storage_size" "final" "floor" "flush"
+ "forall" "format" "fraction" "function" "ge" "generic" "get_command"
+ "get_command_argument" "get_environment_variable" "goto" "grade_down"
+ "grade_up" "gt" "hpf_alignment" "hpf_distribution" "hpf_template" "huge"
+ "iachar" "iall" "iall_prefix" "iall_scatter" "iall_suffix" "iand" "iany"
+ "iany_prefix" "iany_scatter" "iany_suffix" "ibclr" "ibits" "ibset" "ichar"
+ "ieee_arithmetic" "ieee_exceptions" "ieee_features"
+ "ieee_get_underflow_mode" "ieee_set_underflow_mode"
+ "ieee_support_underflow_control" "ieor" "if" "ilen" "implicit" "import"
+ "include" "independent" "index" "inherit" "input_unit" "inquire" "int"
+ "integer" "intent" "interface" "intrinsic" "ior" "iostat_end" "iostat_eor"
+ "iparity" "iparity_prefix" "iparity_scatter" "iparity_suffix" "ishft"
+ "ishftc" "iso_c_binding" "iso_fortran_env" "kind" "lbound" "le" "leadz"
+ "len" "len_trim" "lge" "lgt" "lle" "llt" "log" "log10" "logical" "lt"
+ "matmul" "max" "maxexponent" "maxloc" "maxval" "maxval_prefix"
+ "maxval_scatter" "maxval_suffix" "merge" "min" "minexponent" "minloc"
+ "minval" "minval_prefix" "minval_scatter" "minval_suffix" "mod" "module"
+ "modulo" "move_alloc" "mvbits" "namelist" "ne" "nearest" "neqv" "new"
+ "new_line" "nint" "non_intrinsic" "non_overridable" "none" "nopass" "not"
+ "null" "nullify" "number_of_processors" "numeric_storage_size" "only"
+ "onto" "open" "operator" "optional" "or" "output_unit" "pack" "parameter"
+ "parity" "parity_prefix" "parity_scatter" "parity_suffix" "pass" "pause"
"pointer" "popcnt" "poppar" "precision" "present" "print" "private"
"procedure" "processors" "processors_shape" "product" "product_prefix"
- "product_scatter" "product_suffix" "program" "protected" "public"
- "pure" "radix" "random_number" "random_seed" "range" "read" "real"
- "realign" "recursive" "redistribute" "repeat" "reshape" "result"
- "return" "rewind" "rrspacing" "same_type_as" "save" "scale" "scan"
- "select" "selected_char_kind" "selected_int_kind" "selected_real_kind"
- "sequence" "set_exponent" "shape" "sign" "sin" "sinh" "size" "spacing"
- "spread" "sqrt" "stop" "subroutine" "sum" "sum_prefix" "sum_scatter"
- "sum_suffix" "system_clock" "tan" "tanh" "target" "template" "then"
- "tiny" "transfer" "transpose" "trim" "true" "type" "ubound" "unpack"
- "use" "value" "verify" "volatile" "wait" "where" "while" "with" "write")
+ "product_scatter" "product_suffix" "program" "protected" "public" "pure"
+ "radix" "random_number" "random_seed" "range" "read" "real" "realign"
+ "recursive" "redistribute" "repeat" "reshape" "result" "return" "rewind"
+ "rrspacing" "same_type_as" "save" "scale" "scan" "select"
+ "selected_char_kind" "selected_int_kind" "selected_real_kind" "sequence"
+ "set_exponent" "shape" "sign" "sin" "sinh" "size" "spacing" "spread"
"sqrt"
+ "stop" "subroutine" "sum" "sum_prefix" "sum_scatter" "sum_suffix"
+ "system_clock" "tan" "tanh" "target" "template" "then" "tiny" "transfer"
+ "transpose" "trim" "true" "type" "ubound" "unpack" "use" "value" "verify"
+ "volatile" "wait" "where" "while" "with" "write")
(go-mode ;; https://golang.org/ref/spec#Keywords,
https://golang.org/pkg/builtin/
"append" "bool" "break" "byte" "cap" "case" "chan" "close" "complex"
"complex128" "complex64" "const" "continue" "copy" "default" "defer"
@@ -151,8 +148,8 @@
"continue" "default" "do" "double" "else" "enum" "extends" "final"
"finally" "float" "for" "if" "implements" "import" "instanceof" "int"
"interface" "long" "native" "new" "package" "private" "protected" "public"
- "return" "short" "static" "strictfp" "super" "switch" "synchronized"
- "this" "throw" "throws" "transient" "try" "void" "volatile" "while")
+ "return" "short" "static" "strictfp" "super" "switch" "synchronized"
"this"
+ "throw" "throws" "transient" "try" "void" "volatile" "while")
(javascript-mode ;; https://tc39.github.io/ecma262/
"async" "await" "break" "case" "catch" "class" "const" "continue"
"debugger" "default" "delete" "do" "else" "enum" "export" "extends"
"false"
@@ -180,41 +177,40 @@
"tuple" "type" "using" "var" "when" "while" "xor" "yield")
(objc-mode
"@catch" "@class" "@encode" "@end" "@finally" "@implementation"
- "@interface" "@private" "@protected" "@protocol" "@public"
- "@selector" "@synchronized" "@throw" "@try" "alloc" "autorelease"
- "bycopy" "byref" "in" "inout" "oneway" "out" "release" "retain")
+ "@interface" "@private" "@protected" "@protocol" "@public" "@selector"
+ "@synchronized" "@throw" "@try" "alloc" "autorelease" "bycopy" "byref"
"in"
+ "inout" "oneway" "out" "release" "retain")
(perl-mode ;; cperl.el
"AUTOLOAD" "BEGIN" "CHECK" "CORE" "DESTROY" "END" "INIT" "__END__"
- "__FILE__" "__LINE__" "abs" "accept" "alarm" "and" "atan2" "bind"
- "binmode" "bless" "caller" "chdir" "chmod" "chomp" "chop" "chown" "chr"
- "chroot" "close" "closedir" "cmp" "connect" "continue" "cos"
- "crypt" "dbmclose" "dbmopen" "defined" "delete" "die" "do" "dump" "each"
- "else" "elsif" "endgrent" "endhostent" "endnetent" "endprotoent"
- "endpwent" "endservent" "eof" "eq" "eval" "exec" "exists" "exit" "exp"
- "fcntl" "fileno" "flock" "for" "foreach" "fork" "format" "formline"
- "ge" "getc" "getgrent" "getgrgid" "getgrnam" "gethostbyaddr"
- "gethostbyname" "gethostent" "getlogin" "getnetbyaddr" "getnetbyname"
- "getnetent" "getpeername" "getpgrp" "getppid" "getpriority"
- "getprotobyname" "getprotobynumber" "getprotoent" "getpwent" "getpwnam"
- "getpwuid" "getservbyname" "getservbyport" "getservent" "getsockname"
- "getsockopt" "glob" "gmtime" "goto" "grep" "gt" "hex" "if" "index" "int"
- "ioctl" "join" "keys" "kill" "last" "lc" "lcfirst" "le" "length"
- "link" "listen" "local" "localtime" "lock" "log" "lstat" "lt" "map"
- "mkdir" "msgctl" "msgget" "msgrcv" "msgsnd" "my" "ne" "next" "no"
- "not" "oct" "open" "opendir" "or" "ord" "our" "pack" "package" "pipe"
- "pop" "pos" "print" "printf" "push" "q" "qq" "quotemeta" "qw" "qx"
- "rand" "read" "readdir" "readline" "readlink" "readpipe" "recv" "redo"
- "ref" "rename" "require" "reset" "return" "reverse" "rewinddir" "rindex"
- "rmdir" "scalar" "seek" "seekdir" "select" "semctl" "semget" "semop"
- "send" "setgrent" "sethostent" "setnetent" "setpgrp" "setpriority"
+ "__FILE__" "__LINE__" "abs" "accept" "alarm" "and" "atan2" "bind"
"binmode"
+ "bless" "caller" "chdir" "chmod" "chomp" "chop" "chown" "chr" "chroot"
+ "close" "closedir" "cmp" "connect" "continue" "cos" "crypt" "dbmclose"
+ "dbmopen" "defined" "delete" "die" "do" "dump" "each" "else" "elsif"
+ "endgrent" "endhostent" "endnetent" "endprotoent" "endpwent" "endservent"
+ "eof" "eq" "eval" "exec" "exists" "exit" "exp" "fcntl" "fileno" "flock"
+ "for" "foreach" "fork" "format" "formline" "ge" "getc" "getgrent"
+ "getgrgid" "getgrnam" "gethostbyaddr" "gethostbyname" "gethostent"
+ "getlogin" "getnetbyaddr" "getnetbyname" "getnetent" "getpeername"
+ "getpgrp" "getppid" "getpriority" "getprotobyname" "getprotobynumber"
+ "getprotoent" "getpwent" "getpwnam" "getpwuid" "getservbyname"
+ "getservbyport" "getservent" "getsockname" "getsockopt" "glob" "gmtime"
+ "goto" "grep" "gt" "hex" "if" "index" "int" "ioctl" "join" "keys" "kill"
+ "last" "lc" "lcfirst" "le" "length" "link" "listen" "local" "localtime"
+ "lock" "log" "lstat" "lt" "map" "mkdir" "msgctl" "msgget" "msgrcv"
"msgsnd"
+ "my" "ne" "next" "no" "not" "oct" "open" "opendir" "or" "ord" "our" "pack"
+ "package" "pipe" "pop" "pos" "print" "printf" "push" "q" "qq" "quotemeta"
+ "qw" "qx" "rand" "read" "readdir" "readline" "readlink" "readpipe" "recv"
+ "redo" "ref" "rename" "require" "reset" "return" "reverse" "rewinddir"
+ "rindex" "rmdir" "scalar" "seek" "seekdir" "select" "semctl" "semget"
+ "semop" "send" "setgrent" "sethostent" "setnetent" "setpgrp" "setpriority"
"setprotoent" "setpwent" "setservent" "setsockopt" "shift" "shmctl"
"shmget" "shmread" "shmwrite" "shutdown" "sin" "sleep" "socket"
"socketpair" "sort" "splice" "split" "sprintf" "sqrt" "srand" "stat"
"study" "sub" "substr" "symlink" "syscall" "sysopen" "sysread" "system"
"syswrite" "tell" "telldir" "tie" "time" "times" "tr" "truncate" "uc"
"ucfirst" "umask" "undef" "unless" "unlink" "unpack" "unshift" "untie"
- "until" "use" "utime" "values" "vec" "wait" "waitpid"
- "wantarray" "warn" "while" "write" "x" "xor" "y")
+ "until" "use" "utime" "values" "vec" "wait" "waitpid" "wantarray" "warn"
+ "while" "write" "x" "xor" "y")
(php-mode ;; https://www.php.net/manual/reserved.php
"Closure" "Error" "Exception" "Generator" "Throwable" "__CLASS__"
"__DIR__"
"__FILE__" "__FUNCTION__" "__LINE__" "__METHOD__" "__NAMESPACE__"
@@ -241,14 +237,14 @@
(rust-mode ;; https://doc.rust-lang.org/grammar.html#keywords
"Self" "as" "box" "break" "const" "continue" "crate" "else" "enum"
"extern"
"false" "fn" "for" "if" "impl" "in" "let" "loop" "macro" "match" "mod"
- "move" "mut" "pub" "ref" "return" "self" "static" "struct" "super"
- "trait" "true" "type" "unsafe" "use" "where" "while")
+ "move" "mut" "pub" "ref" "return" "self" "static" "struct" "super" "trait"
+ "true" "type" "unsafe" "use" "where" "while")
(scala-mode
"abstract" "case" "catch" "class" "def" "do" "else" "extends" "false"
"final" "finally" "for" "forSome" "if" "implicit" "import" "lazy" "match"
- "new" "null" "object" "override" "package" "private" "protected"
- "return" "sealed" "super" "this" "throw" "trait" "true" "try" "type" "val"
- "var" "while" "with" "yield")
+ "new" "null" "object" "override" "package" "private" "protected" "return"
+ "sealed" "super" "this" "throw" "trait" "true" "try" "type" "val" "var"
+ "while" "with" "yield")
(swift-mode
"Protocol" "Self" "Type" "and" "as" "assignment" "associatedtype"
"associativity" "available" "break" "case" "catch" "class" "column"
@@ -269,9 +265,9 @@
"otherwise" "quote" "return" "switch" "throw" "true" "try" "type"
"typealias" "using" "while")
(thrift-mode ;;
https://github.com/apache/thrift/blob/master/contrib/thrift.el
- "binary" "bool" "byte" "const" "double" "enum" "exception" "extends"
- "i16" "i32" "i64" "include" "list" "map" "oneway" "optional" "required"
- "service" "set" "string" "struct" "throws" "typedef" "void")
+ "binary" "bool" "byte" "const" "double" "enum" "exception" "extends" "i16"
+ "i32" "i64" "include" "list" "map" "oneway" "optional" "required"
"service"
+ "set" "string" "struct" "throws" "typedef" "void")
;; Aliases
(js2-mode javascript-mode)
(js2-jsx-mode javascript-mode)