diff options
| author | Marcos Magueta <maguetamarcos@gmail.com> | 2023-12-22 14:04:42 -0300 |
|---|---|---|
| committer | Marcos Magueta <maguetamarcos@gmail.com> | 2023-12-22 14:04:42 -0300 |
| commit | e74615ed1c37a7f70b066291ef7df52c861fc46f (patch) | |
| tree | 147015f4f869453d24a2157b5482fb10d7e5755a /configuration.el | |
| parent | 387af23bbbcb0f4bea528b52a91e95eefa9d039b (diff) | |
| download | MageMacs-e74615ed1c37a7f70b066291ef7df52c861fc46f.tar.gz MageMacs-e74615ed1c37a7f70b066291ef7df52c861fc46f.zip | |
remove ws-butler and lsp-treemacs sync to prevent lsp-mode buff out of sync
Diffstat (limited to 'configuration.el')
| -rw-r--r-- | configuration.el | 23 |
1 files changed, 7 insertions, 16 deletions
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)) |
