diff options
| author | Brad Clawsie <brad@b7j0c.org> | 2021-08-10 15:52:16 -0500 |
|---|---|---|
| committer | Brad Clawsie <brad@b7j0c.org> | 2021-08-10 15:52:16 -0500 |
| commit | 1a3ddcf615b52100938bea086b9bac13027a03e1 (patch) | |
| tree | 178612cfaf1c8039ddb2074df21014619a41fe94 /dotemacs | |
| parent | 16f169f3866fa2e8b9cd6e34ef00e037dab9f8f1 (diff) | |
deno
Diffstat (limited to 'dotemacs')
| -rw-r--r-- | dotemacs | 27 |
1 files changed, 7 insertions, 20 deletions
@@ -1,8 +1,3 @@ - -;; Added by Package.el. This must come before configurations of -;; installed packages. Don't delete this line. If you don't want it, -;; just comment it out by adding a semicolon to the start of the line. -;; You may delete these explanatory comments. (package-initialize) (setq-default indent-tabs-mode nil) @@ -44,15 +39,6 @@ (lambda nil (concat "" " $ "))) ;; ------------------------------------------------------------- -;; various external modes -(require 'ibuffer) -(global-set-key (kbd "C-x C-b") 'ibuffer-other-window) -(setq ibuffer-default-sorting-mode 'major-mode) - -;; ido -(require 'ido) -(ido-mode t) - ;; melpa (require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) @@ -68,15 +54,16 @@ ;; .t files perl-mode (add-to-list 'auto-mode-alist '("\\.t\\'" . perl-mode)) -;; racket paredit support -(add-hook 'racket-mode-hook #'enable-paredit-mode) - -;; scheme support with paredit -(add-hook 'geiser-mode-hook #'enable-paredit-mode) - ;; run auto-fill whenever editing markdown (add-hook 'markdown-mode-hook 'auto-fill-mode) +;; deno/ts +(setq lsp-clients-deno-server "deno") +(setq lsp-clients-deno-enable-lint t) +(add-to-list 'auto-mode-alist '("\\.ts\\'" . typescript-mode)) +(add-hook 'typescript-mode-hook + (lambda () (deno-fmt-mode +1))) + ;; ------------------------------------------------------------- (defun insert-time () (interactive) |
