10sr 1 anno fa
parent
commit
32f946bc1e
Firmato da: 10sr ID Chiave GPG: 7BEC428194130EB2
1 ha cambiato i file con 17 aggiunte e 0 eliminazioni
  1. +17
    -0
      emacs.el

+ 17
- 0
emacs.el Vedi 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"


Caricamento…
Annulla
Salva