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

12
init.el
View File

@ -7,7 +7,7 @@
'("b99e334a4019a2caa71e1d6445fc346c6f074a05fcbb989800ecbe54474ae1b0" default)) '("b99e334a4019a2caa71e1d6445fc346c6f074a05fcbb989800ecbe54474ae1b0" default))
'(initial-frame-alist '((fullscreen . maximized))) '(initial-frame-alist '((fullscreen . maximized)))
'(package-selected-packages '(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) (require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
@ -24,7 +24,7 @@
(use-package vertico (use-package vertico
:ensure t :ensure t
:config :config
(add-hook 'rfn-eshadow-update-overlay-hook #'vertico-directory-tidy)) (add-hook 'rfn-eshadow-update-overlay-hook 'vertico-directory-tidy))
(use-package marginalia (use-package marginalia
:ensure t) :ensure t)
@ -61,7 +61,7 @@
(scroll-bar-mode -1) (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) ;;(set-face-attribute 'default nil :font "VictorMono Nerd Font Mono" :height 110)
;;(setq x-antialiasing-factor nil) ;;(setq x-antialiasing-factor nil)
@ -99,7 +99,9 @@
(t "GNU Emacs 👾"))))) (t "GNU Emacs 👾")))))
(use-package elpy (use-package elpy
:ensure t) :ensure t
:config
(remove-hook 'elpy-modules 'elpy-module-flymake))
(use-package exec-path-from-shell (use-package exec-path-from-shell
:ensure t) :ensure t)
@ -108,7 +110,7 @@
(exec-path-from-shell-copy-env "PATH") (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 'elpy-mode-hook (lambda ()
;; (add-hook 'before-save-hook ;; (add-hook 'before-save-hook
;; 'elpy-format-code nil t))) ;; 'elpy-format-code nil t)))