activate eglod mode for Deno projects
This commit is contained in:
parent
aa4a69d90f
commit
84d1937284
17
init.el
17
init.el
@ -108,7 +108,7 @@
|
|||||||
("account" "%(binary) -f %(ledger-file) reg %(account)")))
|
("account" "%(binary) -f %(ledger-file) reg %(account)")))
|
||||||
'(org-agenda-files '("~/Documents/agenda.org"))
|
'(org-agenda-files '("~/Documents/agenda.org"))
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
'(company-ledger flycheck-ledger ledger-mode ellama 0blayout magit magit-annex magit-commit-mark magit-delta magit-diff-flycheck magit-filenotify magit-find-file magit-gerrit magit-gh-pulls magit-gitflow magit-imerge magit-lfs magit-org-todos magit-p4 magit-patch-changelog magit-popup magit-rbr magit-reviewboard magit-stats magit-stgit magit-svn magit-tbdiff magit-todos magit-topgit magit-vcsh magithub mermaid-mode mermaid-ts-mode ob-mermaid rust-mode company-web company elfeed-autotag elfeed-curate elfeed-dashboard elfeed-goodies elfeed-org elfeed-protocol elfeed-score elfeed-summary elfeed-tube-mpv elfeed-web elfeed-webkit smex typescript-mode deno-fmt flycheck-deno ob-deno flycheck emms racket-mode pdf-tools))
|
'(gptel company-ledger flycheck-ledger ledger-mode ellama 0blayout magit magit-annex magit-commit-mark magit-delta magit-diff-flycheck magit-filenotify magit-find-file magit-gerrit magit-gh-pulls magit-gitflow magit-imerge magit-lfs magit-org-todos magit-p4 magit-patch-changelog magit-popup magit-rbr magit-reviewboard magit-stats magit-stgit magit-svn magit-tbdiff magit-todos magit-topgit magit-vcsh magithub mermaid-mode mermaid-ts-mode ob-mermaid rust-mode company-web company elfeed-autotag elfeed-curate elfeed-dashboard elfeed-goodies elfeed-org elfeed-protocol elfeed-score elfeed-summary elfeed-tube-mpv elfeed-web elfeed-webkit smex typescript-mode deno-fmt flycheck-deno ob-deno flycheck emms racket-mode pdf-tools))
|
||||||
'(safe-local-variable-values '((my-variables . value)))
|
'(safe-local-variable-values '((my-variables . value)))
|
||||||
'(warning-suppress-log-types '((comp))))
|
'(warning-suppress-log-types '((comp))))
|
||||||
'(warning-suppress-types '((comp) (comp) (comp)))
|
'(warning-suppress-types '((comp) (comp) (comp)))
|
||||||
@ -129,15 +129,15 @@
|
|||||||
(shell . t)))
|
(shell . t)))
|
||||||
|
|
||||||
;; Deno config with eglot
|
;; Deno config with eglot
|
||||||
;; (add-to-list 'eglot-server-programs '((js-mode typescript-mode) . (eglot-deno "deno" "lsp")))
|
(add-to-list 'eglot-server-programs '((js-mode typescript-mode) . (eglot-deno "deno" "lsp")))
|
||||||
|
|
||||||
;; (defclass eglot-deno (eglot-lsp-server) ()
|
(defclass eglot-deno (eglot-lsp-server) ()
|
||||||
;; :documentation "A custom class for deno lsp.")
|
:documentation "A custom class for deno lsp.")
|
||||||
|
|
||||||
;; (cl-defmethod eglot-initialization-options ((server eglot-deno))
|
(cl-defmethod eglot-initialization-options ((server eglot-deno))
|
||||||
;; "Passes through required deno initialization options"
|
"Passes through required deno initialization options"
|
||||||
;; (list :enable t
|
(list :enable t
|
||||||
;; :lint t))
|
:lint t))
|
||||||
|
|
||||||
;; Remap list buffers =C-x C-b= with the ibuffer command
|
;; Remap list buffers =C-x C-b= with the ibuffer command
|
||||||
(global-set-key [remap list-buffers] 'ibuffer)
|
(global-set-key [remap list-buffers] 'ibuffer)
|
||||||
@ -155,4 +155,3 @@
|
|||||||
(require 'ocp-indent)
|
(require 'ocp-indent)
|
||||||
|
|
||||||
;;; init.el ends here
|
;;; init.el ends here
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user