浏览代码

emacs: use powershell

master
Alison G. Watson 1年前
父节点
当前提交
c97adc7859
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. +7
    -0
      emacs/init.el

+ 7
- 0
emacs/init.el 查看文件

@@ -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


正在加载...
取消
保存