diff options
Diffstat (limited to 'config/doom')
-rw-r--r-- | config/doom/config.org | 10 | ||||
-rw-r--r-- | config/doom/custom.el | 33 |
2 files changed, 40 insertions, 3 deletions
diff --git a/config/doom/config.org b/config/doom/config.org index 3d203aa..b0487a0 100644 --- a/config/doom/config.org +++ b/config/doom/config.org @@ -161,7 +161,7 @@ this new window. "p" #'cal-sync-push "f" #'cal-sync-import-file)) :config - (setq cal-sync-url "https://cloud.oscarnajera.com/remote.php/dav/calendars/oscar" + (setq cal-sync-url "https://oscar@cloud.oscarnajera.com/remote.php/dav/calendars/oscar" cal-sync-calendar-id "personal-1" org-icalendar-date-time-format ":%Y%m%dT%H%M%SZ")) #+end_src @@ -564,3 +564,11 @@ Emacs mode for managing ledger text files #+begin_src emacs-lisp (use-package! mpc) #+end_src + +#+begin_src emacs-lisp :tangle "packages.el" +;; (package! journalctl-mode) +#+end_src + +#+begin_src emacs-lisp +;; (use-package! journalctl-mode) +#+end_src diff --git a/config/doom/custom.el b/config/doom/custom.el index 9ea349e..b870478 100644 --- a/config/doom/custom.el +++ b/config/doom/custom.el @@ -6,9 +6,38 @@ '(ignored-local-variable-values '((grep-find-ignored-directories ".git" ".venv" "node_modules" ".mypy_cache" ".pytest_cache" "SCCS" "RCS" "CVS" "MCVS" ".src" ".svn" ".git" ".hg" ".bzr" "_MTN" "_darcs" "{arch}") (grep-find-ignored-files "*.min.js" "*.standalone.js" "*.map" "*.gz" ".#*" "*.o" "*~" "*.bin" "*.lbin" "*.so" "*.a" "*.ln" "*.blg" "*.bbl" "*.elc" "*.lof" "*.glo" "*.idx" "*.lot" "*.fmt" "*.tfm" "*.class" "*.fas" "*.lib" "*.mem" "*.x86f" "*.sparcf" "*.dfsl" "*.pfsl" "*.d64fsl" "*.p64fsl" "*.lx64fsl" "*.lx32fsl" "*.dx64fsl" "*.dx32fsl" "*.fx64fsl" "*.fx32fsl" "*.sx64fsl" "*.sx32fsl" "*.wx64fsl" "*.wx32fsl" "*.fasl" "*.ufsl" "*.fsl" "*.dxl" "*.lo" "*.la" "*.gmo" "*.mo" "*.toc" "*.aux" "*.cp" "*.fn" "*.ky" "*.pg" "*.tp" "*.vr" "*.cps" "*.fns" "*.kys" "*.pgs" "*.tps" "*.vrs" "*.pyc" "*.pyo"))) - '(package-selected-packages '(youtube-sub-extractor elpher adoc-mode logview)) + '(package-selected-packages '(elpher adoc-mode logview)) '(safe-local-variable-values - '((cider-default-cljs-repl . shadow) + '((eval eval-after-load "yapfify" + '(defun yapfify-call-bin + (input-buffer output-buffer start-line end-line) + "Call process yapf on INPUT-BUFFER saving the output to OUTPUT-BUFFER. + +Return the exit code. START-LINE and END-LINE specify region to +format." + (with-current-buffer input-buffer + (call-process-region + (point-min) + (point-max) + (concat + (projectile-locate-dominating-file default-directory dir-locals-file) + "scripts/run-pipenv") + nil output-buffer nil "run" "yapf" "-l" + (concat + (number-to-string start-line) + "-" + (number-to-string end-line)))))) + (eval setq flycheck-python-pylint-executable + (concat + (projectile-locate-dominating-file default-directory dir-locals-file) + "scripts/run-pylint")) + (eval setq flycheck-python-mypy-executable + (concat + (projectile-locate-dominating-file default-directory dir-locals-file) + "scripts/run-mypy")) + (grep-find-ignored-directories ".git" ".venv" "node_modules" ".mypy_cache" ".pytest_cache" "SCCS" "RCS" "CVS" "MCVS" ".src" ".svn" ".git" ".hg" ".bzr" "_MTN" "_darcs" "{arch}") + (grep-find-ignored-files "*.min.js" "*.standalone.js" "*.map" "*.gz" ".#*" "*.o" "*~" "*.bin" "*.lbin" "*.so" "*.a" "*.ln" "*.blg" "*.bbl" "*.elc" "*.lof" "*.glo" "*.idx" "*.lot" "*.fmt" "*.tfm" "*.class" "*.fas" "*.lib" "*.mem" "*.x86f" "*.sparcf" "*.dfsl" "*.pfsl" "*.d64fsl" "*.p64fsl" "*.lx64fsl" "*.lx32fsl" "*.dx64fsl" "*.dx32fsl" "*.fx64fsl" "*.fx32fsl" "*.sx64fsl" "*.sx32fsl" "*.wx64fsl" "*.wx32fsl" "*.fasl" "*.ufsl" "*.fsl" "*.dxl" "*.lo" "*.la" "*.gmo" "*.mo" "*.toc" "*.aux" "*.cp" "*.fn" "*.ky" "*.pg" "*.tp" "*.vr" "*.cps" "*.fns" "*.kys" "*.pgs" "*.tps" "*.vrs" "*.pyc" "*.pyo") + (cider-default-cljs-repl . shadow) (cider-shadow-cljs-default-options . "app") (cider-preferred-build-tool . clojure-cli) (cider-clojure-cli-global-options . "-A:dev") |