Add .env to custom configuration
This commit is contained in:
@@ -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))
|
||||
|
||||
12
modules/init-load-env-vars.el
Normal file
12
modules/init-load-env-vars.el
Normal 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
|
||||
Reference in New Issue
Block a user