|
|
@ -166,7 +166,7 @@ Emacs variables are dynamically scoped. That's unusual for most languages, so di |
|
|
|
|
|
|
|
Some windows specific stuff |
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
(when (eq system-type 'windows-nt) |
|
|
|
(when *sys/windows* |
|
|
|
(remove-hook 'find-file-hooks 'vc-refresh-state) |
|
|
|
(progn |
|
|
|
(setq gc-cons-threshold (* 511 1024 1024) |
|
|
@ -735,7 +735,7 @@ Manage projects and jump quickly between its files |
|
|
|
https://github.com/emacs-lsp/lsp-mode#install-language-server |
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
(if (string-equal system-type "gnu/linux") |
|
|
|
(if *sys/linux* |
|
|
|
(defun my/postactivatehook () |
|
|
|
(setq lsp-python-ms-extra-paths pyvenv-virtual-env)) |
|
|
|
|
|
|
@ -773,21 +773,21 @@ deactivate |
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
(if (string-equal system-type "gnu/linux") |
|
|
|
(use-package beancount |
|
|
|
:load-path "user-global/elisp" |
|
|
|
; :ensure t |
|
|
|
:defer t |
|
|
|
:mode |
|
|
|
("\\.beancount$" . beancount-mode) |
|
|
|
:init |
|
|
|
(add-hook 'beancount-mode-hook 'company/beancount-mode-hook) |
|
|
|
(use-package beancount |
|
|
|
:if *sys/linux* |
|
|
|
:load-path "user-global/elisp" |
|
|
|
; :ensure t |
|
|
|
:defer t |
|
|
|
:mode |
|
|
|
("\\.beancount$" . beancount-mode) |
|
|
|
:init |
|
|
|
(add-hook 'beancount-mode-hook 'company/beancount-mode-hook) |
|
|
|
; (add-hook 'beancount-mode-hook (pyvenv-activate "/opt/beancount")) |
|
|
|
; (setenv "PATH" |
|
|
|
; (concat "/opt/beancount/bin:" |
|
|
|
; (getenv "PATH"))) |
|
|
|
:config |
|
|
|
(setq beancount-filename-main "/home/marc/Archiv/Finanzen/Transaktionen/transactions.beancount"))) |
|
|
|
:config |
|
|
|
(setq beancount-filename-main "/home/marc/Archiv/Finanzen/Transaktionen/transactions.beancount")) |
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
To support org-babel, check if it can find the symlink to ob-beancount.el |
|
|
|