Browse Source

Use editorconfig for some mode definitions

pull/15/head
10sr 8 years ago
parent
commit
cdfaf6a8d9
2 changed files with 1 additions and 7 deletions
  1. +1
    -0
      .editorconfig
  2. +0
    -7
      emacs.el

+ 1
- 0
.editorconfig View File

@@ -22,6 +22,7 @@ indent_style = tab


[{shrc,profile,xinitrc,xprograms,*.sh}] [{shrc,profile,xinitrc,xprograms,*.sh}]
indent_size = 4 indent_size = 4
emacs_mode = sh


[*.yml] [*.yml]
indent_size = 2 indent_size = 2

+ 0
- 7
emacs.el View File

@@ -937,13 +937,6 @@ found, otherwise returns nil."
"color-245") "color-245")
) )


(setq auto-mode-alist
`(("autostart\\'" . sh-mode)
("xinitrc\\'" . sh-mode)
("xprograms\\'" . sh-mode)
("PKGBUILD\\'" . sh-mode)
,@auto-mode-alist))

;; TODO: check if this is required ;; TODO: check if this is required
(when (autoload-eval-lazily 'groovy-mode nil (when (autoload-eval-lazily 'groovy-mode nil
(defvar groovy-mode-map (make-sparse-keymap)) (defvar groovy-mode-map (make-sparse-keymap))


Loading…
Cancel
Save