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. ;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(ffap-machine-p-known (quote reject)) '(package-selected-packages
'(org-agenda-files (quote ("~/dev/personal.todo"))) '(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)))
'(package-selected-packages (quote (helm-lsp htmlize ein-mumamo rustic use-package))))
'(lsp-rust-analyzer-macro-expansion-method (quote rustic-analyzer-macro-expand)) '(lsp-rust-analyzer-macro-expansion-method (quote rustic-analyzer-macro-expand))
'(rustic-lsp-server (quote rust-analyzer)) '(rustic-lsp-server (quote rust-analyzer))
(custom-set-faces (custom-set-faces

View File

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

View File

@ -106,4 +106,10 @@
(when (executable-find "firefox") (when (executable-find "firefox")
(setq helm-google-suggest-use-curl-p t))) (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) (provide 'jenga-init)

View File

@ -1,4 +1,4 @@
;;;; Python configuration. ;; Python configuration.
(use-package elpy (use-package elpy
:ensure t :ensure t
:init :init
@ -24,7 +24,7 @@
"jupyter") "jupyter")
:hook :hook
(elpy-mode . (lambda () (highlight-indentation-mode -1))) (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 . flycheck-mode)
(elpy-mode . jedi:setup) (elpy-mode . jedi:setup)
(elpy-mode . jedi:ac-setup)) (elpy-mode . jedi:ac-setup))

View File

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