diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-01-02 14:14:55 +0000 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-01-02 14:14:55 +0000 |
commit | 6d8e161d9ebdfc4757832ebee8eb864dfdbae266 (patch) | |
tree | 8f7a406dfaf713ee116aa0d3fd55db2e9cdbd18a /init.el | |
parent | 9cd75d313429f86f90dda0ac382556201f10df63 (diff) |
Some ledger-mode config
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -890,6 +890,16 @@ If failed try to complete the common part with `company-complete-common'" (add-hook 'c-mode-hook 'irony-mode) (add-hook 'irony-mode-hook 'irony-cdb-autosetup-compile-options)) +(use-package ledger-mode + :mode ("\\.ledger\\'") + :config + (add-hook 'ledger-mode-hook + (lambda () + (setq-local tab-always-indent 'complete) + (setq-local completion-cycle-threshold t) + (setq-local ledger-complete-in-steps t))) + :custom (ledger-clear-whole-transactions t)) + (setq lsp-gopls-staticcheck t) (setq lsp-eldoc-render-all t) (setq lsp-gopls-complete-unimported t) |