[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/dart-mode f5097c0 027/192: Add a dart-mode-map.
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/dart-mode f5097c0 027/192: Add a dart-mode-map. |
Date: |
Sun, 29 Aug 2021 11:01:44 -0400 (EDT) |
branch: elpa/dart-mode
commit f5097c032b0d620ce0b0aa02345578fadeabc4d6
Author: Nathan Weizenbaum <nweiz@google.com>
Commit: Nathan Weizenbaum <nweiz@google.com>
Add a dart-mode-map.
---
dart-mode.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dart-mode.el b/dart-mode.el
index 2db17e2..44649fc 100644
--- a/dart-mode.el
+++ b/dart-mode.el
@@ -190,6 +190,9 @@
(c-add-style "dart" dart-c-style)
+(defvar dart-mode-map (c-make-inherited-keymap)
+ "Keymap used in dart-mode buffers.")
+
;;; CC indentation support
@@ -310,6 +313,7 @@ Key bindings:
(set-syntax-table dart-mode-syntax-table)
(setq major-mode 'dart-mode
mode-name "Dart")
+ (use-local-map dart-mode-map)
(c-init-language-vars dart-mode)
(let ((c-default-style '((dart-mode . "dart"))))
(c-common-init 'dart-mode))
- [nongnu] elpa/dart-mode e41f41e 174/192: Fontify untyped parameters in anonymous functions, (continued)
- [nongnu] elpa/dart-mode e41f41e 174/192: Fontify untyped parameters in anonymous functions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 43975c9 192/192: Add syntax highlighting for keywords extension, late, required, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode ed80bc8 002/192: Set a bunch of CC-mode configuration vars., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 64eb399 003/192: Fix array literal indentation., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 91cc86c 005/192: Make "var" a typeless decl keyword., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 8098454 006/192: Initialize the syntax table., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 4e56274 013/192: Version 0.2., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 7e45699 018/192: Fix the Version header., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 2a66d38 020/192: Add more known bugs., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 51b9915 023/192: Fix optional argument fontification., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode f5097c0 027/192: Add a dart-mode-map.,
ELPA Syncer <=
- [nongnu] elpa/dart-mode 4232d23 041/192: Actually set the style when initializing the mode., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 2d00ec4 043/192: Properly indent multiline optional parameter lists., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode b1ba925 045/192: arglist-intro should be ++., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode f16c1c1 047/192: Fix an odd indentation bug., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 147f554 063/192: Merge pull request #11 from hterkelsen/dartanalyzer, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 89573d5 067/192: Use a pipe instead of a pty for the analysis server, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 35a794c 086/192: Add workaround for https://debbugs.gnu.org/cgi/bugreport.cgi?bug=18845 (#40), ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 9b11e8f 088/192: Another attempt at fixing byte compilation. (#42), ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 3a73a1f 090/192: Make dart-executable-path resilient to wrappers, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode b4e592f 098/192: Add more search commands, ELPA Syncer, 2021/08/29