From 8774c6ffecdfbedf7d0752c8ae584aa9bd2b6a19 Mon Sep 17 00:00:00 2001 From: Taryel Hlontsi Date: Wed, 1 May 2024 20:12:28 +0200 Subject: [PATCH] Update init.el --- init.el | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/init.el b/init.el index cbee428..8c007a1 100644 --- a/init.el +++ b/init.el @@ -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)))