Update for python before complete rewrite

This commit is contained in:
Vladan Popovic 2021-05-11 09:31:13 +02:00
parent 526b9054e4
commit 491e53cb61
No known key found for this signature in database
GPG key ID: 39762748EB5A39D9
5 changed files with 14 additions and 9 deletions

View file

@ -3,9 +3,8 @@
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(ffap-machine-p-known (quote reject))
'(org-agenda-files (quote ("~/dev/personal.todo")))
'(package-selected-packages (quote (helm-lsp htmlize ein-mumamo rustic use-package))))
'(package-selected-packages
'(twilight-anti-bright-theme xref-rst which-key use-package undo-tree twilight-theme rustic rg pylint pygen py-autopep8 material-theme magit lsp-ui lsp-jedi jupyter jedi immaterial-theme helm-rg helm-lsp flycheck-rust evil elpygen elm-mode ein diminish company-jedi better-defaults auto-complete-rst)))
'(lsp-rust-analyzer-macro-expansion-method (quote rustic-analyzer-macro-expand))
'(rustic-lsp-server (quote rust-analyzer))
(custom-set-faces

View file

@ -22,13 +22,12 @@
;; Emacs customization / global plugin configuration
(require 'jenga-init)
(require 'jenga-magit)
(require 'jenga-org)
(require 'jenga-ui)
(require 'jenga-elm)
(require 'jenga-python)
(require 'jenga-rust)
(require 'jenga-systemd)
;;(add-hook 'find-file-hook #'load-module)

View file

@ -106,4 +106,10 @@
(when (executable-find "firefox")
(setq helm-google-suggest-use-curl-p t)))
(setq frame-title-format
(list (format "%s %%S: %%j " (system-name))
'(buffer-file-name "%f" (dired-directory dired-directory "%b"))))
(use-package better-defaults)
(provide 'jenga-init)

View file

@ -1,4 +1,4 @@
;;;; Python configuration.
;; Python configuration.
(use-package elpy
:ensure t
:init
@ -24,7 +24,7 @@
"jupyter")
:hook
(elpy-mode . (lambda () (highlight-indentation-mode -1)))
(elpy-mode . py-autopep8-enable-on-save)
;; (elpy-mode . py-autopep8-enable-on-save)
(elpy-mode . flycheck-mode)
(elpy-mode . jedi:setup)
(elpy-mode . jedi:ac-setup))

View file

@ -1,5 +1,6 @@
;; Use material theme on black background.
(use-package material-theme)
;; Use dark twilight.
(use-package twilight-theme)
(load-theme 'twilight t)
;;
;; ===============