Browse Source

emacs: use css-mode, lua-mode, python

master
Alison Watson 9 months ago
parent
commit
69d1565bbb
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      emacs/init.el

+ 13
- 0
emacs/init.el View File

@@ -101,6 +101,15 @@
:init
(defvaralias 'js-indent-level 'tab-width))

(use-package css-mode
:init
(defvaralias 'css-indent-offset 'tab-width))

(use-package lua-mode
:ensure t
:init
(setq lua-indent-nested-block-content-align nil))

(use-package json-mode
:ensure t
:after js
@@ -127,6 +136,10 @@
(mmm-add-mode-ext-class 'ruby-mode nil 'here-doc)
(mmm-add-mode-ext-class 'rust-mode nil 'rust-doc))

(use-package python
:init
(defvaralias 'python-indent-offset 'tab-width))

(use-package cc-mode
:mode (("\\.zsc\\'" . c-mode)
("\\.zc\\'" . c-mode))


Loading…
Cancel
Save