diff options
author | Azat Bahawi <azat@bahawi.net> | 2024-02-21 13:42:18 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2024-02-21 13:42:18 +0300 |
commit | c5c58f9294dfcae7b04ec9edfbef316481c756c6 (patch) | |
tree | a283889382344cb9b042de7d0aa094a9e238b91b /modules/common/emacs/doom/config.el | |
parent | 2024-02-20 (diff) |
2024-02-21
Diffstat (limited to '')
-rw-r--r-- | modules/common/emacs/doom/config.el | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/common/emacs/doom/config.el b/modules/common/emacs/doom/config.el index 70116f8..8fd2afc 100644 --- a/modules/common/emacs/doom/config.el +++ b/modules/common/emacs/doom/config.el @@ -122,6 +122,21 @@ (setq lsp-haskell-formatting-provider "ormolu") ;; +;;; Nickel +;; + +(use-package! nickel-mode + :config + (after! lsp-mode + (add-to-list 'lsp-language-id-configuration '(nickel-mode . "nickel") + (lsp-register-client (make-lsp-client + :new-connection (lsp-stdio-connection "nls") + :activation-fn (lsp-activate-on "nickel") + :server-id 'nls + :major-modes 'nickel-mode))) + (add-hook 'nickel-mode-hook 'lsp-deferred))) + +;; ;;; YAML ;; |