diff options
| author | tslil clingman <> | 2021-06-30 21:35:09 -0400 |
|---|---|---|
| committer | tslil clingman <> | 2021-06-30 21:35:09 -0400 |
| commit | 8281c600a8d712f2045dfc48f4bc17c21d135cc3 (patch) | |
| tree | c0b443c7de754b0d7010848d09a136a4ac0876ad | |
| parent | fcf87f24706f56735d6e713baa95d128ded38cc5 (diff) | |
switched from irony to LSP implemented by clangd
| -rw-r--r-- | emacs/inits/20-programming.el | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/emacs/inits/20-programming.el b/emacs/inits/20-programming.el index 95df93d..d7e81e2 100644 --- a/emacs/inits/20-programming.el +++ b/emacs/inits/20-programming.el @@ -1,4 +1,4 @@ -;; Time-stamp: <2021-06-29 17h23 EDT (hobbies)> +;; Time-stamp: <2021-06-30 21h34 EDT (hobbies)> ;; ----------------------------------------------------------------------------- ;; General setup @@ -83,16 +83,6 @@ ;; gdb-many-windows nil ;; gdb-show-main nil) -(use-package irony - :ensure t - :defer t - :hook (irony-mode . (lambda () - (irony-cdb-autosetup-compile-options)))) - -(use-package flycheck-irony - :ensure t - :defer t) - (use-package cc-mode :defer t :bind (:map c-mode-map @@ -101,9 +91,8 @@ (auto-fill-mode) (set-fill-column 70) (abbrev-mode 0) - (irony-mode) - (flycheck-mode) - (flycheck-irony-setup) + (flycheck-mode 1) + (lsp) ;; clangd seems pretty good! (c-toggle-hungry-state 1) (c-toggle-electric-state 1) (c-toggle-syntactic-indentation 1))) @@ -196,11 +185,6 @@ :ensure t :defer t) -(use-package flycheck-rust - :after flycheck - :ensure t - :defer t) - (use-package rust-mode :ensure t :defer t |
