From d1e8960be1288d50cb609839c31bd78c69d6e171 Mon Sep 17 00:00:00 2001 From: Marcos Magueta Date: Wed, 24 Jan 2024 15:00:19 -0300 Subject: enable catppuccin and fix flycheck --- configuration.el | 7 ++++++- theme.el | 12 +++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/configuration.el b/configuration.el index de4c812..117ff66 100644 --- a/configuration.el +++ b/configuration.el @@ -1,8 +1,13 @@ +(use-package flycheck + :straight t + :custom (flycheck-check-syntax-automatically '(save mode-enable))) + (use-package lsp-mode :straight t :hook ((lsp-mode . lsp-lens-mode) ;; Solves F# buffer out of sync - (lsp-mode . (lambda () (lsp-treemacs-sync-mode -1))))) + (lsp-mode . (lambda () (lsp-treemacs-sync-mode -1))) + (lsp-mode . (flymake-mode-off)))) (use-package dap-mode :straight t diff --git a/theme.el b/theme.el index fa332aa..441692a 100644 --- a/theme.el +++ b/theme.el @@ -1,11 +1,9 @@ (require 'use-package) -;; ;; (require 'catppuccin-theme) -;; (use-package catppuccin-theme -;; :straight t -;; :custom catppuccin-flavor 'mocha -;; :config (load-theme 'catppuccin t)) -;; ;; (catppuccin-reload) +(use-package catppuccin-theme + :straight t + :custom catppuccin-flavor 'latte + :config (load-theme 'catppuccin t)) ;; (use-package pastelmac-theme ;; :straight t @@ -26,7 +24,7 @@ ;; (use-package jazz-theme ;; :straight t) -(load-theme 'adwaita t) +;; (load-theme 'adwaita t) (use-package doom-modeline :straight t -- cgit v1.2.3