diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-09-20 15:26:47 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-09-20 15:26:47 +0300 |
commit | 837fc97b30a41d766dd53a2370f6cb1d26364f9a (patch) | |
tree | 63ae83af789930c9a2035b9f9e43fbee166ab27b /modules/common | |
parent | 2023-09-16 (diff) |
2023-09-20
Diffstat (limited to 'modules/common')
-rw-r--r-- | modules/common/emacs/default.nix | 2 | ||||
-rw-r--r-- | modules/common/emacs/doom/config.el | 11 | ||||
-rw-r--r-- | modules/common/vscode.nix | 2 |
3 files changed, 2 insertions, 13 deletions
diff --git a/modules/common/emacs/default.nix b/modules/common/emacs/default.nix index ed25536..1d205b9 100644 --- a/modules/common/emacs/default.nix +++ b/modules/common/emacs/default.nix @@ -92,7 +92,7 @@ in { jre # :lang plantuml libtool # :term vterm libxml2 # :lang data - nixd # :lang (nix +lsp) + nil # :lang (nix +lsp) nodePackages.bash-language-server # :lang (sh +lsp) nodePackages.eslint # :lang (json +lsp) nodePackages.js-beautify # :lang web diff --git a/modules/common/emacs/doom/config.el b/modules/common/emacs/doom/config.el index e7e0bd4..015954b 100644 --- a/modules/common/emacs/doom/config.el +++ b/modules/common/emacs/doom/config.el @@ -79,17 +79,6 @@ (setq lsp-haskell-formatting-provider "ormolu") ;; -;;; Nix -;; - -(after! lsp-mode - (add-to-list 'lsp-language-id-configuration '(nix-mode . "nix")) - (lsp-register-client - (make-lsp-client :new-connection (lsp-stdio-connection '("nixd")) - :major-modes '(nix-mode) - :server-id 'nix))) - -;; ;;; YAML ;; diff --git a/modules/common/vscode.nix b/modules/common/vscode.nix index d90d301..ab55acc 100644 --- a/modules/common/vscode.nix +++ b/modules/common/vscode.nix @@ -178,7 +178,7 @@ in { nix = { enableLanguageServer = true; - serverPath = "${pkgs.rnix-lsp}/bin/rnix-lsp"; + serverPath = "${pkgs.nil}/bin/nil"; }; python = with pkgs.python311Packages; { |