Add python template for envrc files
Change tempel prefix from < to +
This commit is contained in:
parent
df1794e3fe
commit
49be9727a8
2
init.el
2
init.el
|
@ -786,7 +786,7 @@
|
|||
("M-*" . tempel-insert))
|
||||
:hook ((conf-mode prog-mode text-mode) . (lambda () (add-hook 'completion-at-point-functions 'tempel-complete nil t)))
|
||||
:custom
|
||||
(tempel-trigger-prefix "<"))
|
||||
(tempel-trigger-prefix "+"))
|
||||
|
||||
(require 'tramp)
|
||||
(setq org-publish-project-alist
|
||||
|
|
|
@ -203,6 +203,13 @@ python-base-mode
|
|||
(logg "logger = logging.getLogger(__name__)")
|
||||
(nimp "raise NotImplementedError")
|
||||
|
||||
envrc-file-mode
|
||||
|
||||
(python "CC=\"$(nix build nixpkgs#stdenv.cc.cc.lib --print-out-paths --no-link)\"" n
|
||||
"ZLIB=\"$(nix build nixpkgs#zlib --print-out-paths --no-link)\"" n
|
||||
"export LD_LIBRARY_PATH=\"$CC/lib\":\"$ZLIB/lib\"" n
|
||||
"source .venv/bin/activate")
|
||||
|
||||
;; Local Variables:
|
||||
;; mode: lisp-data
|
||||
;; outline-regexp: "[a-z]"
|
||||
|
|
Loading…
Reference in a new issue