emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/zig-mode a4f1e11 022/104: Just disable syntactic indentati


From: ELPA Syncer
Subject: [nongnu] elpa/zig-mode a4f1e11 022/104: Just disable syntactic indentation (it's broken)
Date: Sun, 29 Aug 2021 11:36:56 -0400 (EDT)

branch: elpa/zig-mode
commit a4f1e118a9303a06342d4849e55c4897675986e9
Author: Andrea Orru <andrea@orru.io>
Commit: Andrea Orru <andrea@orru.io>

    Just disable syntactic indentation (it's broken)
---
 zig-mode.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/zig-mode.el b/zig-mode.el
index ddb14f6..2b63514 100644
--- a/zig-mode.el
+++ b/zig-mode.el
@@ -1,6 +1,6 @@
 ;;; zig-mode.el --- A major mode for the Zig programming language -*- 
lexical-binding: t -*-
 
-;; Version: 0.0.4
+;; Version: 0.0.5
 ;; Author: Andrea Orru <andreaorru1991@gmail.com>, Andrew Kelley 
<superjoe30@gmail.com>
 ;; Keywords: zig, languages
 ;; Package-Requires: ((emacs "24"))
@@ -142,6 +142,7 @@
 (define-derived-mode zig-mode c-mode "Zig"
   "A major mode for the zig programming language."
   (set (make-local-variable 'c-basic-offset) 4)
+  (set (make-local-variable 'c-syntactic-indentation) nil)
   (setq font-lock-defaults '(zig-font-lock-keywords)))
 
 ;;;###autoload



reply via email to

[Prev in Thread] Current Thread [Next in Thread]