aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2023-12-22 14:04:42 -0300
committerMarcos Magueta <maguetamarcos@gmail.com>2023-12-22 14:04:42 -0300
commite74615ed1c37a7f70b066291ef7df52c861fc46f (patch)
tree147015f4f869453d24a2157b5482fb10d7e5755a
parent387af23bbbcb0f4bea528b52a91e95eefa9d039b (diff)
downloadMageMacs-e74615ed1c37a7f70b066291ef7df52c861fc46f.tar.gz
MageMacs-e74615ed1c37a7f70b066291ef7df52c861fc46f.zip
remove ws-butler and lsp-treemacs sync to prevent lsp-mode buff out of sync
-rw-r--r--.gitignore1
-rw-r--r--configuration.el23
-rw-r--r--theme.el7
3 files changed, 12 insertions, 19 deletions
diff --git a/.gitignore b/.gitignore
index cfeb420..9921138 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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))
diff --git a/theme.el b/theme.el
index 755a855..90134eb 100644
--- a/theme.el
+++ b/theme.el
@@ -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)