Browse Source

emacs: use powershell

master
Alison G. Watson 9 months ago
parent
commit
c97adc7859
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      emacs/init.el

+ 7
- 0
emacs/init.el View File

@@ -95,6 +95,11 @@
:foreground "#92ebf0"))

;; major modes
(use-package powershell
:ensure t
:init
(defvaralias 'powershell-indent 'tab-width))

(use-package json-mode
:ensure t)

@@ -221,6 +226,8 @@
:ensure t
:after (fish-mode glsl-mode rust-mode)
:config
(smart-tabs-add-language-support powershell powershell-mode-hook
((powershell-indent-line . powershell-indent)))
(smart-tabs-add-language-support rust rust-mode-hook
((rust-mode-indent-line . rust-indent-offset)))
(smart-tabs-add-language-support fish fish-mode-hook


Loading…
Cancel
Save