all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#59006: [PATCH] Configure clang-format to use tabs
@ 2022-11-03 21:37 Matt Armstrong
  0 siblings, 0 replies; only message in thread
From: Matt Armstrong @ 2022-11-03 21:37 UTC (permalink / raw)
  To: 59006

[-- Attachment #1: Type: text/plain, Size: 95 bytes --]

Tags: patch

Without this change clang-format will untabify, rather than tabify as it
should.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Configure-clang-format-to-use-tabs.patch --]
[-- Type: text/patch, Size: 679 bytes --]

From f577765e86b11902babaf50975b93f71357a5203 Mon Sep 17 00:00:00 2001
From: Matt Armstrong <matt@rfc20.org>
Date: Thu, 3 Nov 2022 14:34:03 -0700
Subject: [PATCH] Configure clang-format to use tabs

* .clang-format (UseTab): Set to "Always", to match
the (indent-tabs-mode . t) in .dir-locals.el
---
 .clang-format | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.clang-format b/.clang-format
index ac9f95c88a8..8a8391c2e47 100644
--- a/.clang-format
+++ b/.clang-format
@@ -21,6 +21,7 @@ MaxEmptyLinesToKeep: 1
 PenaltyBreakBeforeFirstCallParameter: 2000
 SpaceAfterCStyleCast: true
 SpaceBeforeParens: Always
+UseTab: Always
 
 # Local Variables:
 # mode: yaml
-- 
2.35.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-03 21:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-03 21:37 bug#59006: [PATCH] Configure clang-format to use tabs Matt Armstrong

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.