summaryrefslogtreecommitdiff
path: root/.config/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs/init.el')
-rw-r--r--.config/emacs/init.el20
1 files changed, 17 insertions, 3 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index d58035d..654bdf5 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -312,10 +312,10 @@
:commands (lsp lsp-deferred)
:init
(setq lsp-keymap-prefix "C-c l"
- lsp-headerline-breadcrumb-enable f
- ;lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols)
+ lsp-headerline-breadcrumb-enable t
+ lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols)
lsp-lens-enable nil)
- ;(lsp-headerline-breadcrumb-mode)
+ (lsp-headerline-breadcrumb-mode)
:config
(lsp-enable-which-key-integration t)
:hook (
@@ -364,6 +364,20 @@
orig-result)))
(advice-add 'lsp-resolve-final-command :around #'lsp-booster--advice-final-command)
+;; flycheck
+(use-package flycheck
+ :diminish flycheck-mode
+ :config
+ (setq flycheck-error-message-buffer " *Flycheck error messages*")
+ (setq-default flycheck-emacs-lisp-load-path 'inherit)
+ (global-flycheck-mode 1))
+
+(use-package flycheck-pos-tip
+ :ensure t
+ :after flycheck
+ :config
+ (flycheck-pos-tip-mode))
+
;; - - hooks
(defun my-c-mode-common-hook ()
;; my customizations for all of c-mode, c++-mode, objc-mode, java-mode