Skip to content

Instantly share code, notes, and snippets.

@mgmarlow
Created February 20, 2023 00:12
Show Gist options
  • Save mgmarlow/10ef2617fb182fad733f708be763f48c to your computer and use it in GitHub Desktop.
Save mgmarlow/10ef2617fb182fad733f708be763f48c to your computer and use it in GitHub Desktop.
Deno and lsp-mode
;;; Directory Local Variables -*- no-byte-compile: t -*-
;;; For more information see (info "(emacs) Directory Variables")
;; Note: requires the following configuration so that local variables
;; run before the server is initialized:
;; https://emacs-lsp.github.io/lsp-mode/page/faq/#how-to-configure-a-server-with-local-variables
;;
;; (add-hook 'hack-local-variables-hook
;; (lambda () (when (derived-mode-p 'web-mode) (lsp))))
((nil . ((lsp-enabled-clients . (deno-ls)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment