gege-jdr-backend/.dir-locals.el
Lucien Cartier-Tilet c73ff3d581
Some checks failed
CI / tests (push) Failing after 3m18s
Publish Docker image / publish (push) Failing after 13s
Initial commit
2024-08-10 12:02:33 +02:00

16 lines
803 B
EmacsLisp

;;; Directory Local Variables -*- no-byte-compile: t -*-
;;; For more information see (info "(emacs) Directory Variables")
((sql-mode
.
((eval . (progn
(setq-local lsp-sqls-connections
`(((driver . "postgresql")
(dataSourceName .
,(format "host=%s port=%s user=%s password=%s dbname=%s sslmode=disable"
(getenv "DB_HOST")
(getenv "DB_PORT")
(getenv "DB_USER")
(getenv "DB_PASSWORD")
(getenv "DB_NAME")))))))))))