From e74615ed1c37a7f70b066291ef7df52c861fc46f Mon Sep 17 00:00:00 2001 From: Marcos Magueta Date: Fri, 22 Dec 2023 14:04:42 -0300 Subject: remove ws-butler and lsp-treemacs sync to prevent lsp-mode buff out of sync --- configuration.el | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) (limited to 'configuration.el') 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)) -- cgit v1.2.3