Skip to content

Commit

Permalink
Change flycheck-eglot to sideline-eglot
Browse files Browse the repository at this point in the history
  • Loading branch information
chuxubank committed Apr 6, 2024
1 parent b4c3c3c commit 0ad11f8
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
10 changes: 6 additions & 4 deletions cats/+eglot.el
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
c++-mode
c++-ts-mode
objc-mode
python-base-mode
;; kotlin-mode
;; kotlin-ts-mode
)
. eglot-ensure) ; See `eglot-server-programs'
:custom
(eglot-connect-timeout (* 30 60)))

(use-package flycheck-eglot
:hook (flycheck-mode . global-flycheck-eglot-mode))
(eglot-connect-timeout (* 30 60))
:mode-hydra
(prog-mode
("LSP"
(("e" eglot)))))
6 changes: 5 additions & 1 deletion cats/+python.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
(black . black)
(pylsp . python-lsp-server)
:custom
(python-indent-guess-indent-offset-verbose nil))
(python-indent-guess-indent-offset-verbose nil)
:mode-hydra
(python-base-mode
("LSP"
(("e" eglot "eglot")))))

(use-package pet
:delight " 󰌠"
Expand Down
9 changes: 9 additions & 0 deletions cats/+sideline.el
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,12 @@
(sideline-blame-commit-format " %s")
:config
(add-to-list 'sideline-backends-right #'sideline-blame))

(use-package sideline-eglot
:vc (sideline-eglot
:url "https://github.com/emacs-sideline/sideline-eglot"
:rev :newest)
:demand t
:after sideline eglot
:config
(add-to-list 'sideline-backends-right #'sideline-eglot))

0 comments on commit 0ad11f8

Please sign in to comment.