28 lines
675 B
EmacsLisp
28 lines
675 B
EmacsLisp
|
;; IDE features
|
||
|
|
||
|
;; Company-mode provides inline autocompletion
|
||
|
(use-package company
|
||
|
:hook (after-init . global-company-mode))
|
||
|
|
||
|
;; Flycheck gives you error squigglies
|
||
|
(use-package flycheck
|
||
|
:hook (after-init . global-flycheck-mode)
|
||
|
:custom
|
||
|
(flycheck-disabled-checkers '(emacs-lisp-checkdoc emacs-lisp)))
|
||
|
|
||
|
;; Quick file overview for supported modes
|
||
|
(use-package imenu
|
||
|
:straight (:type built-in)
|
||
|
:general
|
||
|
(leader-map "m" #'imenu))
|
||
|
|
||
|
;; Find definition/references
|
||
|
(use-package xref
|
||
|
:straight (:type built-in)
|
||
|
:general
|
||
|
(normal "M-." #'xref-find-definitions)
|
||
|
(normal "M-," #'xref-pop-marker-stack)
|
||
|
(normal "M-r" #'xref-find-references))
|
||
|
|
||
|
(provide 'init-ide)
|