Browse Source

Update

master
10sr 2 years ago
parent
commit
32f946bc1e
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 17 additions and 0 deletions
  1. +17
    -0
      emacs.el

+ 17
- 0
emacs.el View File

@@ -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…
Cancel
Save