mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-22 09:53:10 -05:00
Minor updates to straight, js2-mode, and restclient
This commit is contained in:
parent
7828928001
commit
d190a24a8e
1 changed files with 5 additions and 3 deletions
|
@ -83,7 +83,7 @@
|
|||
(unless (file-exists-p bootstrap-file)
|
||||
(with-current-buffer
|
||||
(url-retrieve-synchronously
|
||||
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
|
||||
"https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
|
||||
'silent 'inhibit-cookies)
|
||||
(goto-char (point-max))
|
||||
(eval-print-last-sexp)))
|
||||
|
@ -354,7 +354,8 @@
|
|||
(use-package js2-mode
|
||||
:config
|
||||
(add-to-list 'interpreter-mode-alist '("#!/usr/bin/env node" . js2-mode))
|
||||
(setq js2-mode-show-strict-warnings nil)
|
||||
;(setq js2-strict-missing-semi-warning t)
|
||||
(setq js2-mode-show-strict-warnings t)
|
||||
:hook (js-mode . js2-minor-mode))
|
||||
|
||||
(use-package typescript-mode
|
||||
|
@ -365,7 +366,8 @@
|
|||
|
||||
(use-package restclient
|
||||
:init
|
||||
(use-package company-restclient))
|
||||
(use-package company-restclient)
|
||||
:mode ("\\.http\\'" . restclient-mode))
|
||||
|
||||
(use-package rainbow-mode
|
||||
:hook
|
||||
|
|
Loading…
Reference in a new issue