mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-22 09:53:10 -05:00
Merge branch 'main' of codeberg.org:andcscott/dotfiles
This commit is contained in:
commit
3d7b41e6c4
1 changed files with 18 additions and 9 deletions
|
@ -83,7 +83,7 @@
|
||||||
(unless (file-exists-p bootstrap-file)
|
(unless (file-exists-p bootstrap-file)
|
||||||
(with-current-buffer
|
(with-current-buffer
|
||||||
(url-retrieve-synchronously
|
(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)
|
'silent 'inhibit-cookies)
|
||||||
(goto-char (point-max))
|
(goto-char (point-max))
|
||||||
(eval-print-last-sexp)))
|
(eval-print-last-sexp)))
|
||||||
|
@ -288,7 +288,14 @@
|
||||||
(eval-when-compile
|
(eval-when-compile
|
||||||
(require 'cl-lib))
|
(require 'cl-lib))
|
||||||
(require 'dap-python)
|
(require 'dap-python)
|
||||||
(require 'dap-node))
|
(require 'dap-node)
|
||||||
|
:bind
|
||||||
|
(:map dap-mode-map
|
||||||
|
("<f5>" . dap-debug)
|
||||||
|
("<f10>" . dap-next)
|
||||||
|
("<f11>" . dap-step-in)
|
||||||
|
("S-<f5>" . dap-disconnect)
|
||||||
|
("C-S-<f5>" . dap-debug-restart)))
|
||||||
|
|
||||||
(use-package company
|
(use-package company
|
||||||
:config
|
:config
|
||||||
|
@ -299,12 +306,12 @@
|
||||||
(company-tooltip-align-annotations t)
|
(company-tooltip-align-annotations t)
|
||||||
:bind
|
:bind
|
||||||
(:map company-active-map
|
(:map company-active-map
|
||||||
("RET" . nil)
|
("RET" . nil)
|
||||||
("[return]" . nil)
|
("[return]" . nil)
|
||||||
("TAB" . company-complete-selection)
|
("TAB" . company-complete-selection)
|
||||||
("<tab>" . company-complete-selection)
|
("<tab>" . company-complete-selection)
|
||||||
("C-n" . company-select-next)
|
("C-n" . company-select-next)
|
||||||
("C-p" . company-select-previous)))
|
("C-p" . company-select-previous)))
|
||||||
|
|
||||||
;;; Languages
|
;;; Languages
|
||||||
|
|
||||||
|
@ -352,7 +359,8 @@
|
||||||
(use-package js2-mode
|
(use-package js2-mode
|
||||||
:config
|
:config
|
||||||
(add-to-list 'interpreter-mode-alist '("#!/usr/bin/env node" . js2-mode))
|
(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))
|
:hook (js-mode . js2-minor-mode))
|
||||||
|
|
||||||
(use-package typescript-mode
|
(use-package typescript-mode
|
||||||
|
@ -363,7 +371,8 @@
|
||||||
|
|
||||||
(use-package restclient
|
(use-package restclient
|
||||||
:init
|
:init
|
||||||
(use-package company-restclient))
|
(use-package company-restclient)
|
||||||
|
:mode ("\\.http\\'" . restclient-mode))
|
||||||
|
|
||||||
(use-package rainbow-mode
|
(use-package rainbow-mode
|
||||||
:hook
|
:hook
|
||||||
|
|
Loading…
Reference in a new issue