use c-ts-mode and c++-ts-mode when available

This commit is contained in:
zedhugh committed 2023-10-10 01:54:36 +08:00
1 parent 2f3efabd0e
commit 64ef980ff2
3 files changed
+16 -1

No files matched your search

+1
View File
@@ -115,6 +115,7 @@
(setq fill-column 80)))
(add-hook 'c-mode-common-hook #'display-fill-column-indicator-mode)
(add-hook 'c-ts-base-mode-hook #'display-fill-column-indicator-mode)
(unless (featurep 'server) (require 'server))
(unless (server-running-p) (server-start))