diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | configuration.el | 23 | ||||
| -rw-r--r-- | theme.el | 7 |
3 files changed, 12 insertions, 19 deletions
@@ -1,4 +1,5 @@ elpa +.eln-cache .cask auto-save-list recentf diff --git a/configuration.el b/configuration.el index d44bcf2..e021025 100644 --- a/configuration.el +++ b/configuration.el @@ -16,16 +16,11 @@ :ensure t) (yas-reload-all)) -(use-package elsa +(use-package flycheck-elsa :ensure t :hook - (emacs-lisp-mode . (lambda () (flycheck-elsa-setup))) - :config - (use-package flycheck-elsa - :ensure t - :hook - ((emacs-lisp-mode . flycheck-mode) - (emacs-lisp-mode . flymake-mode)))) + ((emacs-lisp-mode . flycheck-mode) + (emacs-lisp-mode . flymake-mode))) (use-package flycheck :ensure t @@ -36,14 +31,10 @@ (use-package lsp-mode :ensure t :hook ((lsp-mode . lsp-lens-mode) - ;; (before-save . (lambda () (progn - (interactive) - ;; (when (eq major-mode 'fsharp-mode) - ;; (lsp-format-buffer))))) - ) - ;; (let ((format-option (read-string "Format buffer? (y/n) "))) - ;; (when (string= format-option "y") - ;; (lsp-format-buffer)))))))) + ;; Solves F# buffer out of sync + (lsp-mode . (lambda () (progn + (ws-butler-mode -1) + (lsp-treemacs-sync-mode -1))))) :config (use-package lsp-treemacs :ensure t)) @@ -3,7 +3,7 @@ ;; (require 'catppuccin-theme) (use-package catppuccin-theme :ensure t - :custom catppuccin-flavor 'latte + :custom catppuccin-flavor 'mocha :config (load-theme 'catppuccin t)) ;; (catppuccin-reload) @@ -38,7 +38,7 @@ (setq-default cursor-type 'box) (fringe-mode '(7 . 0)) (scroll-bar-mode -1) -(menu-bar-mode t) +(menu-bar-mode -1) (tool-bar-mode -1) (toggle-scroll-bar -1) (display-battery-mode -1) @@ -52,6 +52,7 @@ '(rainbow-delimiters-depth-5-face ((t (:foreground "Purple")))) '(rainbow-delimiters-depth-6-face ((t (:foreground "dark green")))) '(rainbow-delimiters-depth-9-face ((t (:foreground "indian red")))) - '(default ((t (:inherit nil :stipple nil :inverse-video nil :box nil :strike-through nil :extend nil :overline nil :underline nil :slant normal :weight normal :height 120 :width normal :foundry "nil" :family "Cascadia Mono"))))) + ;; '(default ((t (:inherit nil :stipple nil :inverse-video nil :box nil :strike-through nil :extend nil :overline nil :underline nil :slant normal :weight normal :height 120 :width normal :foundry "nil" :family "Cascadia Mono")))) + ) (provide 'theme) |
