[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/zig-mode 604484c 039/104: M-x untabify
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/zig-mode 604484c 039/104: M-x untabify |
Date: |
Sun, 29 Aug 2021 11:36:59 -0400 (EDT) |
branch: elpa/zig-mode
commit 604484c5fa666be76becea72d5b85c40a1215f62
Author: Xu Chunyang <mail@xuchunyang.me>
Commit: Xu Chunyang <mail@xuchunyang.me>
M-x untabify
The whole base is using spaces for indentation, let's respect that.
---
zig-mode.el | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/zig-mode.el b/zig-mode.el
index 2fbb0c3..26db290 100644
--- a/zig-mode.el
+++ b/zig-mode.el
@@ -266,8 +266,8 @@
;; Multiline strings
("\\(\\\\\\)\\\\"
(1 (prog1 "|"
- (goto-char (match-end 0))
- (zig-syntax-propertize-to-newline-if-in-multiline-str end)))))
+ (goto-char (match-end 0))
+ (zig-syntax-propertize-to-newline-if-in-multiline-str end)))))
(point) end))
(defun zig-mode-syntactic-face-function (state)
@@ -287,15 +287,15 @@
(defun zig-re-structure-def-imenu (stype)
"Construct a regular expression for strucutres definitions of type STYPE."
(concat (zig-re-word "const") "[[:space:]]+"
- (zig-re-grab zig-re-identifier)
- ".*"
- (zig-re-word stype)))
+ (zig-re-grab zig-re-identifier)
+ ".*"
+ (zig-re-word stype)))
(defvar zig-imenu-generic-expression
(append (mapcar #'(lambda (x)
- (list (capitalize x)
(zig-re-structure-def-imenu x) 1))
- '("enum" "struct" "union"))
- `(("Fn" ,(zig-re-definition "fn") 1))))
+ (list (capitalize x) (zig-re-structure-def-imenu x) 1))
+ '("enum" "struct" "union"))
+ `(("Fn" ,(zig-re-definition "fn") 1))))
;;;###autoload
(define-derived-mode zig-mode prog-mode "Zig"
- [nongnu] elpa/zig-mode 07efab0 095/104: Merge pull request #48 from noisegul/master, (continued)
- [nongnu] elpa/zig-mode 07efab0 095/104: Merge pull request #48 from noisegul/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode b6abeb4 093/104: Add a defvar to define if user wants to return to buffer after fmt., ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode df572da 099/104: Add opaque keyword, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode acf3ee8 104/104: Add GitHub Actions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 2842797 007/104: Fix builtins. Reorder tables., ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode e69ebc0 012/104: and, or, @panic., ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 9a252eb 016/104: Update README.md, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode ad9f398 028/104: Add some font-lock tests, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 2879253 029/104: Don't let backslashes escape newlines in multiline strings, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 4542a5d 036/104: add imenu support, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 604484c 039/104: M-x untabify,
ELPA Syncer <=
- [nongnu] elpa/zig-mode 67ad48b 045/104: fix multiline string properties rules regex, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode ab46e22 048/104: add some zig cli build commands, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode acebfb1 057/104: Add anyframe; remove promise, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode fc7fde3 056/104: Merge pull request #23 from joachimschmidt557/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode ad844c3 062/104: noasync -> nosuspend, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 2c45c45 059/104: Merge pull request #24 from joachimschmidt557/add-anyframe, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 22187f4 076/104: Merge pull request #32 from joachimschmidt557/remove-this, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 8721255 079/104: Merge pull request #34 from jdpage/shell-quoting, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode b7d9613 091/104: Account for braces inside of function parameters, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 41fa032 092/104: Account for paren-wrapped return type, ELPA Syncer, 2021/08/29