瀏覽代碼

Update

master
10sr 1 年之前
父節點
當前提交
32f946bc1e
簽署人: 10sr GPG 金鑰 ID: 7BEC428194130EB2
共有 1 個檔案被更改,包括 17 行新增0 行删除
  1. +17
    -0
      emacs.el

+ 17
- 0
emacs.el 查看文件

@@ -2091,6 +2091,13 @@ ORIG-FUNC is the target function, and ARGS is the argument when it is called."
(add-to-list 'interpreter-mode-alist
'("node" . js-mode))

(add-hook 'js-mode-hook
(lambda ()
;; Stop current line highlighting
(set-variable 'js-indent-level 2 t)
))


(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)

(with-eval-after-load 'uniquify
@@ -3014,6 +3021,16 @@ ARGS are not used."
(require 'lsp-python-ms nil t))
(lsp)))

(set-variable 'awk-preview-default-program
"# C-c C-l: Update preview C-c C-c: Commit and exit
# C-c C-r: Resest to original C-c C-k: Abort
{
# Replace string
# gsub(BEFORE, AFTER, $0)
print NR, $0
}
")



(message "Emacs started at %s"


Loading…
取消
儲存