Skip to content

Commit

Permalink
build: add -ts- support to dir-locals
Browse files Browse the repository at this point in the history
  • Loading branch information
djcb committed Dec 24, 2022
1 parent ec1d6c4 commit 645956f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .dir-locals.el
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
;;; Directory Local Variables -*- no-byte-compile: t; -*-
;;; For more information see (info "(emacs) Directory Variables")
;;; -*- no-byte-compile: t; -*-
((nil . ((tab-width . 8)
(fill-column . 80)
;; (commment-fill-column . 80)
Expand All @@ -8,10 +7,18 @@
(c-mode . ((c-file-style . "linux")
(indent-tabs-mode . t)
(mode . bug-reference-prog)))
(c-ts-mode . ((indent-tabs-mode . t)
(c-ts-mode-indent-style . linux)
(c-ts-mode-indent-offset . 8)
(mode . bug-reference-prog)))
(c++-mode . ((c-file-style . "linux")
(fill-column . 100)
;; (comment-fill-column . 80)
(mode . bug-reference-prog)))
(c++-ts-mode . ((indent-tabs-mode . t)
(c-ts-mode-indent-style . linux)
(c-ts-mode-indent-offset . 8)
(mode . bug-reference-prog)))
(emacs-lisp-mode . ((indent-tabs-mode . nil)
(mode . bug-reference-prog)))
(lisp-data-mode . ((indent-tabs-mode . nil)))
Expand Down

0 comments on commit 645956f

Please sign in to comment.