mirror of
https://codeberg.org/scip/config-general-mode.git
synced 2025-12-18 04:50:57 +01:00
-outline stuff, didnt work anyway
This commit is contained in:
@@ -99,6 +99,7 @@
|
|||||||
(require 'sh-script)
|
(require 'sh-script)
|
||||||
(require 'cc-mode)
|
(require 'cc-mode)
|
||||||
|
|
||||||
|
|
||||||
;;;; Customizables
|
;;;; Customizables
|
||||||
|
|
||||||
;; our group
|
;; our group
|
||||||
@@ -375,12 +376,6 @@ The flag `kill-whole-line' will be followed."
|
|||||||
(config-general--fl-end-eof . 'config-general-constant-face))))
|
(config-general--fl-end-eof . 'config-general-constant-face))))
|
||||||
|
|
||||||
(defun config-general--init-minors ()
|
(defun config-general--init-minors ()
|
||||||
;; enable simple outlining
|
|
||||||
(setq outline-heading-alist '(("##" . 1)
|
|
||||||
("###" . 2)
|
|
||||||
("####" . 3)
|
|
||||||
("#####" . 4)))
|
|
||||||
(outline-minor-mode t)
|
|
||||||
;; from shell-script-mode, turn << into here-doc
|
;; from shell-script-mode, turn << into here-doc
|
||||||
(sh-electric-here-document-mode 1)
|
(sh-electric-here-document-mode 1)
|
||||||
;; Inserting a brace or quote automatically inserts the matching pair
|
;; Inserting a brace or quote automatically inserts the matching pair
|
||||||
|
|||||||
Reference in New Issue
Block a user