Merge branch 'master' of git.tuleu.science:atuleu/home
This commit is contained in:
5
.emacs
5
.emacs
@@ -262,8 +262,8 @@
|
|||||||
(defun atu/get-dotvenv ()
|
(defun atu/get-dotvenv ()
|
||||||
"Gets .venv from project root if any"
|
"Gets .venv from project root if any"
|
||||||
(when-let* ((root-dir (projectile-project-root))
|
(when-let* ((root-dir (projectile-project-root))
|
||||||
(venv (concat (file-name-as-directory root-dir) ".venv"))
|
(venv-file (concat (file-name-as-directory root-dir) ".venv"))
|
||||||
(venv-exists (file-exists-p venv))
|
(venv-exists (file-exists-p venv-file))
|
||||||
(venv-name (with-temp-buffer
|
(venv-name (with-temp-buffer
|
||||||
(insert-file-contents venv-file)
|
(insert-file-contents venv-file)
|
||||||
(nth 0 (split-string (buffer-string))))))
|
(nth 0 (split-string (buffer-string))))))
|
||||||
@@ -353,6 +353,7 @@
|
|||||||
(add-hook 'before-save-hook 'py-isort-before-save)))
|
(add-hook 'before-save-hook 'py-isort-before-save)))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; C/C++
|
;; C/C++
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|||||||
Reference in New Issue
Block a user