Update init.el

This commit is contained in:
Taryel Hlontsi 2024-05-01 20:12:28 +02:00
parent e9f5463f26
commit 8774c6ffec
1 changed files with 8 additions and 6 deletions

14
init.el
View File

@ -7,7 +7,7 @@
'("b99e334a4019a2caa71e1d6445fc346c6f074a05fcbb989800ecbe54474ae1b0" default))
'(initial-frame-alist '((fullscreen . maximized)))
'(package-selected-packages
'(docker-compose-mode zig-mode treesit ef-themes dockerfile-mode dap-mode julia-ts-mode lsp-julia julia-mode marginalia vertico tide which-key use-package pyenv-mode flycheck exec-path-from-shell elpy doom-themes doom-modeline all-the-icons)))
'(json-mode orderless prettier-js magit docker-compose-mode zig-mode treesit ef-themes dockerfile-mode dap-mode julia-ts-mode lsp-julia julia-mode marginalia vertico tide which-key use-package pyenv-mode flycheck exec-path-from-shell elpy doom-themes doom-modeline all-the-icons)))
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
@ -24,7 +24,7 @@
(use-package vertico
:ensure t
:config
(add-hook 'rfn-eshadow-update-overlay-hook #'vertico-directory-tidy))
(add-hook 'rfn-eshadow-update-overlay-hook 'vertico-directory-tidy))
(use-package marginalia
:ensure t)
@ -61,7 +61,7 @@
(scroll-bar-mode -1)
(set-face-attribute 'default nil :font "Hack Nerd Font Mono" :height 110)
;;(set-face-attribute 'default nil :font "Hack Nerd Font Mono" :height 110)
;;(set-face-attribute 'default nil :font "VictorMono Nerd Font Mono" :height 110)
;;(setq x-antialiasing-factor nil)
@ -99,16 +99,18 @@
(t "GNU Emacs 👾")))))
(use-package elpy
:ensure t)
:ensure t
:config
(remove-hook 'elpy-modules 'elpy-module-flymake))
(use-package exec-path-from-shell
:ensure t)
:ensure t)
(elpy-enable)
(exec-path-from-shell-copy-env "PATH")
;; black or 'standard' (flake8 ?) code formatter:
;; black or standard (flake8 ?) code formatter:
;; (add-hook 'elpy-mode-hook (lambda ()
;; (add-hook 'before-save-hook
;; 'elpy-format-code nil t)))