[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/csharp-mode 85ae15d 252/459: Hacky formatting trick to
From: |
ELPA Syncer |
Subject: |
[elpa] externals/csharp-mode 85ae15d 252/459: Hacky formatting trick to make codedoc work with Omnisharp defaults |
Date: |
Sun, 22 Aug 2021 13:59:38 -0400 (EDT) |
branch: externals/csharp-mode
commit 85ae15d83bf6ffc26fc6d82031aa556ef64bec29
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>
Hacky formatting trick to make codedoc work with Omnisharp defaults
This addresses https://github.com/josteink/csharp-mode/issues/116.
---
csharp-mode.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/csharp-mode.el b/csharp-mode.el
index 5d97466..04c49ec 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -2283,7 +2283,7 @@ your `csharp-mode-hook' function:
;; contains only an open-curly. In this case, insert a
;; summary element pair.
(preceding-line-is-empty
- (setq text-to-insert "/ <summary>\n/// \n/// </summary>"
+ (setq text-to-insert "/ <summary>\n /// \n /// </summary>"
flavor 1) )
;; The preceding word closed a summary element. In this case,
@@ -2291,13 +2291,13 @@ your `csharp-mode-hook' function:
;; insert a remarks element.
((and (string-equal word-back "summary") (eq char0 ?/) (eq
char1 ?<))
(if (not (and (string-equal word-fore "remarks") (eq char-0
?<)))
- (setq text-to-insert "/ <remarks>\n/// <para>\n///
\n/// </para>\n/// </remarks>"
+ (setq text-to-insert "/ <remarks>\n /// <para>\n ///
\n /// </para>\n /// </remarks>"
flavor 2)))
;; The preceding word closed the remarks section. In this
case,
;; insert an example element.
((and (string-equal word-back "remarks") (eq char0 ?/) (eq
char1 ?<))
- (setq text-to-insert "/ <example>\n/// \n/// </example>"
+ (setq text-to-insert "/ <example>\n /// \n /// </example>"
flavor 3))
;; The preceding word closed the example section. In this
@@ -2339,7 +2339,7 @@ your `csharp-mode-hook' function:
(if (string-equal word-back "remarks")
(setq spacer (concat spacer " ")))
- (setq text-to-insert (format "/%s<para>\n///%s
\n///%s</para>"
+ (setq text-to-insert (format "/%s<para>\n ///%s \n
///%s</para>"
spacer spacer spacer)
flavor 6)))
- [elpa] externals/csharp-mode b87332e 222/459: Update documentation for Emacs 25., (continued)
- [elpa] externals/csharp-mode b87332e 222/459: Update documentation for Emacs 25., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 4516a18 223/459: Fix indentation of generic type-initializers., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode ed7c30c 224/459: WIP: Fix checkdoc- and package-lint errors, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode bbd2888 232/459: Merge branch 'mattiasb-fix-warnings', ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode bc6a419 237/459: Update changelog., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 8ab3cc8 239/459: Dirty hack to force type-initializer indentation., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode d39d9ac 241/459: Revert "Make csharp-mode-map inherit from prog-mode-map", ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 0027f9c 246/459: Issue #112: Allow whitespace after the `#` in a directive., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode bd54e4d 250/459: Add csharp group definition, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 331b45d 251/459: Try fix/update CI-settings, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 85ae15d 252/459: Hacky formatting trick to make codedoc work with Omnisharp defaults,
ELPA Syncer <=
- [elpa] externals/csharp-mode 461cd87 254/459: Fix compilation error on Emacs 26., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode ba7a81a 253/459: Advise c-inside-bracelist-p (#122), ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 5bfd3d2 257/459: Fix fontification of namespaces in using-statements., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 561c359 258/459: Fix fontification in Emacs27., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode c66916e 259/459: Update version/meta-data., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 239527c 263/459: Protect dmode from ccmode monkeypatch (#134), ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode f3aff25 261/459: Try to properly silence warnings., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 643c63e 268/459: Highlight "value" as a constant., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode fcd092d 266/459: Add Emacs 26 to CI., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 2381280 269/459: Remove excess (incorrect) comment., ELPA Syncer, 2021/08/22