Add .env to custom configuration

This commit is contained in:
Jesús
2022-03-05 04:06:33 +08:00
parent 3ddd2efd64
commit aba5e59b02
8 changed files with 32 additions and 12 deletions

View File

@@ -16,11 +16,11 @@
:custom
(lsp-clients-angular-language-server-command
'("node"
("~/virtualenvs/ndjs/lib/node_modules/@angular/language-server")
(getenv "ANGULAR_SERVER_DIR")
"--ngProbeLocations"
("~/virtualenvs/ndjs/lib/node_modules")
(getenv "NODEJS_MODULE_DIR")
"--tsProbeLocations"
("~/virtualenvs/ndjs/lib/node_modules")
(getenv "NODEJS_MODULE_DIR")
"--stdio"))
(lsp-diagnostics-provider :none)
:commands (lsp lsp-deferred))

View File

@@ -0,0 +1,12 @@
;;; init-load-env-vars.el --- .Emacs Configuration -*- lexical-binding: t -*-
;;; Commentary:
;;
;;; Code:
;; load-env-vars
(use-package load-env-vars
:config
(load-env-vars "~/.emacs.d/.env"))
(provide 'init-load-env-vars)
;;; init-load-env-vars.el ends here