Update for python before complete rewrite
This commit is contained in:
parent
526b9054e4
commit
491e53cb61
5 changed files with 14 additions and 9 deletions
|
@ -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
|
||||||
|
|
3
init.el
3
init.el
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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))
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
;;
|
;;
|
||||||
;; ===============
|
;; ===============
|
||||||
|
|
Loading…
Reference in a new issue