[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/drupal-mode 043644e85d 109/308: Set correct comment style
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/drupal-mode 043644e85d 109/308: Set correct comment style for inline comments. |
Date: |
Tue, 25 Jan 2022 10:59:35 -0500 (EST) |
branch: elpa/drupal-mode
commit 043644e85dd596778b615f8fd3a9ce0c048c779d
Author: Arne Jørgensen <arne@arnested.dk>
Commit: Arne Jørgensen <arne@arnested.dk>
Set correct comment style for inline comments.
---
drupal-mode.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drupal-mode.el b/drupal-mode.el
index 372f63ab75..c061ffa8af 100644
--- a/drupal-mode.el
+++ b/drupal-mode.el
@@ -253,6 +253,11 @@ function arguments.")
#'drupal-eldoc-documentation-function)
(eldoc-mode 1))
+ ;; Set correct comment style for inline comments.
+ (setq comment-start "//")
+ (setq comment-padding " ")
+ (setq comment-end "")
+
;; Setup cc-mode style stuff.
(when (derived-mode-p 'c-mode)
(c-add-language 'drupal-mode 'c-mode)
- [nongnu] elpa/drupal-mode 947b893b37 274/308: Handle case where `c-default-style` is a string, (continued)
- [nongnu] elpa/drupal-mode 947b893b37 274/308: Handle case where `c-default-style` is a string, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode f93cdfe1b2 278/308: Use proper indent for continuation lines, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 9d793aa112 286/308: Add support for gxref/xref, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode dc82e5430c 295/308: Handle .info.yml files, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode a1c77dca8b 300/308: Prefer HTTPS URLs wherever we can, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 83ee02f80a 024/308: Renamed `drupal-root' to `drupal-rootdir'., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 4ef339db0a 045/308: Don't locate standard for each buffer., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 808d1f1768 080/308: Use `eldoc-mode' for function argument tips., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode ca7773df72 102/308: Added `drupal-mode-beginning-of-line' for .info files., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode f17e7088ca 107/308: Provide Drupal projects as webjump sites., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 043644e85d 109/308: Set correct comment style for inline comments.,
ELPA Syncer <=
- [nongnu] elpa/drupal-mode dfd4582048 115/308: Fixed argument insert in `drupal-insert-hook'., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode dcea92f3a9 117/308: Added autoinsert skeleton for .test files., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 6dd8edc402 121/308: Eliminated compiler warnings., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 16632d6cf7 133/308: Fixed drush version detection for Drush 7., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 58fb25a914 138/308: Added .cask to .gitignore., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode d04b119de7 141/308: Properly add our checkers to flycheck-checkers instead of enforcing it., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 5eb72aba82 162/308: Merge branch 'release/0.3.1' into develop, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 0eac30704b 167/308: Don't delete `'trailing` form `whitespace-style` after all., ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 3c32d7e938 169/308: `flycheck-declare-checker` is now `flycheck-define-checker`, ELPA Syncer, 2022/01/25
- [nongnu] elpa/drupal-mode 3cf6d3a8a9 173/308: Updated phpcs patterns to new flycheck format., ELPA Syncer, 2022/01/25