mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Disable dtrt-indent in pascal-mode
Throws wrong-type-argument number-or-marker-p errors otherwise, because dtrt-indent--for-each-indentation calls dtrt-indent--skip-to-end-of-match with four nil arguments (presumably because there is no pascal entry in dtrt-indent-language-syntax-table) and there is no fall back to its default entry.
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
;;; core-editor.el -*- lexical-binding: t; -*-
|
||||
|
||||
(defvar doom-detect-indentation-excluded-modes '(fundamental-mode so-long-mode)
|
||||
(defvar doom-detect-indentation-excluded-modes
|
||||
'(fundamental-mode pascal-mode so-long-mode)
|
||||
"A list of major modes in which indentation should be automatically
|
||||
detected.")
|
||||
|
||||
|
Reference in New Issue
Block a user