diff options
author | ThanosApollo <[email protected]> | 2022-10-30 04:38:18 +0200 |
---|---|---|
committer | ThanosApollo <[email protected]> | 2022-10-30 04:38:18 +0200 |
commit | 68dd034b092f9dc064dd96f6c83c45a7a6250e03 (patch) | |
tree | df952cb7d4f6668c989069a83024e428430bc982 /.emacs.d/init.el | |
parent | dd2d4fac17865d1078a333e35fdd79af26ffdfb9 (diff) |
Add flycheck, javascript guide
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r-- | .emacs.d/init.el | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 508c8e6..787443d 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -299,18 +299,21 @@ (add-hook 'org-mode-hook (lambda () (add-hook 'after-save-hook #'apollo/org-babel-tangle-config))) -(defun apollo/lsp-mode-setup () - (setq lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols)) - (lsp-headerline-breadcrumb-mode)) - -(use-package lsp-mode - :commands (lsp lsp-deferred) - :hook (lsp-mode . apollo/lsp-mode-setup) - :init - (setq lsp-keymap-prefix "C-c l") ;; Or 'C-l', 's-l' - :config - (lsp-enable-which-key-integration t) - ) +;;instal flyckeck +(use-package flyckeck) +;;setup lsp-mode + (defun apollo/lsp-mode-setup () + (setq lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols)) + (lsp-headerline-breadcrumb-mode)) + + (use-package lsp-mode + :commands (lsp lsp-deferred) + :hook (lsp-mode . apollo/lsp-mode-setup) + :init + (setq lsp-keymap-prefix "C-c l") ;; Or 'C-l', 's-l' + :config + (lsp-enable-which-key-integration t) + ) (use-package lsp-ui :hook (lsp-mode . lsp-ui-mode) |