[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/d-mode 5ccf545 007/346: Added keywords, improved indentati
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/d-mode 5ccf545 007/346: Added keywords, improved indentation of 'template'. |
Date: |
Sun, 29 Aug 2021 10:59:55 -0400 (EDT) |
branch: elpa/d-mode
commit 5ccf54552926700d5ba28e90a6f9f958e9af9119
Author: Leandro Motta Barros <lmb@stackedboxes.org>
Commit: Leandro Motta Barros <lmb@stackedboxes.org>
Added keywords, improved indentation of 'template'.
---
d-mode.el | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/d-mode.el b/d-mode.el
index 8997829..cbb9153 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -142,27 +142,28 @@ operators."
;; Built-in basic types
(c-lang-defconst c-primitive-type-kwds
- d '("bit" "byte" "ubyte" "char" "delegate" "double" "float" "function"
- "int" "long" "ubyte" "short" "uint" "ulong" "ushort" "cent" "ucent"
- "real" "ireal" "ifloat" "creal" "cfloat" "cdouble"
- "wchar" "dchar" "void"))
+ d '("bit" "bool" "byte" "ubyte" "char" "delegate" "double" "float"
+ "function" "int" "long" "ubyte" "short" "uint" "ulong" "ushort"
+ "cent" "ucent" "real" "ireal" "ifloat" "creal" "cfloat" "cdouble"
+ "wchar" "dchar" "void" "string" "wstring" "dstring"))
;; Keywords that can prefix normal declarations of identifiers
(c-lang-defconst c-modifier-kwds
- d '("auto" "abstract" "const" "deprecated" "extern"
- "final" "immutable" "lazy" "private" "protected" "public"
- "scope" "static" "synchronized" "volatile" "mixin"))
+ d '("__gshared" "auto" "abstract" "const" "deprecated" "extern"
+ "final" "immutable" "inout" "lazy" "mixin" "private" "protected"
+ "public" "scope" "shared" "static" "synchronized" "volatile" ))
(c-lang-defconst c-class-decl-kwds
;; Keywords introducing declarations where the following block (if any)
;; contains another declaration level that should be considered a class.
- d '("class" "struct" "union" "interface" "template"))
+ d '("class" "struct" "union" "interface"))
;; (c-lang-defconst c-brace-list-decl-kwds
;; d '("enum"))
(c-lang-defconst c-type-modifier-kwds
- d '("const" "immutable" "lazy" "volatile" "invariant" "enum")
+ d '("__gshared" "const" "immutable" "inout" "lazy" "shared" "volatile"
+ "invariant" "enum")
)
(c-lang-defconst c-type-prefix-kwds
;; Keywords where the following name - if any - is a type name, and
@@ -276,7 +277,8 @@ operators."
(c-lang-defconst c-other-kwds
;; Keywords not accounted for by any other `*-kwds' language constant.
- d '("assert"))
+ d '("__gshared" "__traits" "assert" "cast" "is" "nothrow" "pure" "ref"
+ "sizeof" "template" "typeid" "typeof"))
(defcustom d-font-lock-extra-types nil
- [nongnu] branch elpa/d-mode created (now 199743d), ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 7807fca 002/346: Fixes for Emacs 23 from http://www.prowiki.org/wiki4d/wiki.cgi?EditorSupport/EmacsDMode., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 0d74ef6 003/346: RW takes responsibility for being maintainer of the code., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 74b825b 004/346: Initial commit, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode f0947a2 005/346: Merge /tmp/russel/Emacs-D-Mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode c68bc67 001/346: The Epoch., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 8b467a3 006/346: Extend the README.md a little., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode f6d79da 009/346: Update the version number psot release., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode e15f60d 016/346: Merge branch 'master' of https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 5ccf545 007/346: Added keywords, improved indentation of 'template'.,
ELPA Syncer <=
- [nongnu] elpa/d-mode e0dac81 010/346: changed d-mode to a proper derived mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode a587c35 014/346: Merge pull request #3 from roysc/patch-derive, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode c4a8921 018/346: Added '^^=' to assignement operators, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 0268bde 022/346: Added __vector as a keyword in the same categories at const and shared., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 72d2022 026/346: improve d-mode imenu method name indexing, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 9a17cb1 036/346: Add more D attributes to c-protection-kwds. Handle initializers in c-protection-kwds workaround., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode a1dccad 017/346: Added override to c-modifier-kwds. Changed functionp to fboundp, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode d2a3306 011/346: remove commented lines, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 68ee0fe 012/346: Parent mode is conditional for compatibility, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 685f825 013/346: Parent mode is conditional for compatibility, ELPA Syncer, 2021/08/29