what did i do here
This commit is contained in:
parent
666929bfca
commit
c15812be7a
|
@ -368,10 +368,25 @@ make sure to setup authinfo
|
||||||
(setq auth-sources '("~/.authinfo"))
|
(setq auth-sources '("~/.authinfo"))
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Lsp-mode
|
*** Lsp-mode
|
||||||
|
**** Lsp-Mode hook
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(defun efs/lsp-mode-setup ()
|
||||||
|
(setq lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols))
|
||||||
|
(lsp-headerline-breadcrumb-mode))
|
||||||
|
|
||||||
|
:hook (lsp-mode . efs/lsp-mode-setup)
|
||||||
|
#+end_src
|
||||||
**** Language Servers
|
**** Language Servers
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
(defun sakomacs/lsp-mode-setup ()
|
||||||
|
(setq lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols))
|
||||||
|
(lsp-headerline-breadcrumb-mode))
|
||||||
|
|
||||||
|
:hook (lsp-mode . sakomacs/lsp-mode-setup)
|
||||||
|
|
||||||
(use-package lsp-mode
|
(use-package lsp-mode
|
||||||
:commands (lsp lsp-deferred)
|
:commands (lsp lsp-deferred)
|
||||||
|
:hook (lsp-mode . sakomacs/lsp-mode-setup)
|
||||||
:init
|
:init
|
||||||
(setq lsp-keymap-prefix "C-c l")
|
(setq lsp-keymap-prefix "C-c l")
|
||||||
:config
|
:config
|
||||||
|
@ -384,6 +399,22 @@ make sure to setup authinfo
|
||||||
:mode "\\.js\\'"
|
:mode "\\.js\\'"
|
||||||
:hook (js2-mode . lsp-deferred))
|
:hook (js2-mode . lsp-deferred))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
*** Company Mode (Better Autocompletion)
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package company
|
||||||
|
:after lsp-mode
|
||||||
|
:hook (lsp-mode . company-mode)
|
||||||
|
:bind (:map company-active-map
|
||||||
|
("<tab>" . company-complete-selection))
|
||||||
|
(:map lsp-mode-map
|
||||||
|
("<tab>" . company-indent-or-complete-common))
|
||||||
|
:custom
|
||||||
|
(company-minimum-prefix-length 1)
|
||||||
|
(company-idle-delay 0.0))
|
||||||
|
|
||||||
|
(use-package company-box
|
||||||
|
:hook (company-mode . company-box-mode))
|
||||||
|
#+end_src
|
||||||
* Org Mode Configuration Setup
|
* Org Mode Configuration Setup
|
||||||
** Babel Languages
|
** Babel Languages
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
|
@ -88,7 +88,7 @@
|
||||||
(setq doom-themes-enable-bold t ; if nil, bold is universally disabled
|
(setq doom-themes-enable-bold t ; if nil, bold is universally disabled
|
||||||
doom-themes-enable-italic t) ; if nil, italics is universally disabled
|
doom-themes-enable-italic t) ; if nil, italics is universally disabled
|
||||||
;; load the theme
|
;; load the theme
|
||||||
(load-theme 'doom-monokai-pro t)
|
(load-theme 'doom-challenger-deep t)
|
||||||
|
|
||||||
;; Enable flashing mode-line on errors
|
;; Enable flashing mode-line on errors
|
||||||
(doom-themes-visual-bell-config))
|
(doom-themes-visual-bell-config))
|
||||||
|
@ -306,8 +306,21 @@
|
||||||
:after magit)
|
:after magit)
|
||||||
(setq auth-sources '("~/.authinfo"))
|
(setq auth-sources '("~/.authinfo"))
|
||||||
|
|
||||||
|
(defun efs/lsp-mode-setup ()
|
||||||
|
(setq lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols))
|
||||||
|
(lsp-headerline-breadcrumb-mode))
|
||||||
|
|
||||||
|
:hook (lsp-mode . efs/lsp-mode-setup)
|
||||||
|
|
||||||
|
(defun sakomacs/lsp-mode-setup ()
|
||||||
|
(setq lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols))
|
||||||
|
(lsp-headerline-breadcrumb-mode))
|
||||||
|
|
||||||
|
:hook (lsp-mode . sakomacs/lsp-mode-setup)
|
||||||
|
|
||||||
(use-package lsp-mode
|
(use-package lsp-mode
|
||||||
:commands (lsp lsp-deferred)
|
:commands (lsp lsp-deferred)
|
||||||
|
:hook (lsp-mode . sakomacs/lsp-mode-setup)
|
||||||
:init
|
:init
|
||||||
(setq lsp-keymap-prefix "C-c l")
|
(setq lsp-keymap-prefix "C-c l")
|
||||||
:config
|
:config
|
||||||
|
@ -317,6 +330,20 @@
|
||||||
:mode "\\.js\\'"
|
:mode "\\.js\\'"
|
||||||
:hook (js2-mode . lsp-deferred))
|
:hook (js2-mode . lsp-deferred))
|
||||||
|
|
||||||
|
(use-package company
|
||||||
|
:after lsp-mode
|
||||||
|
:hook (lsp-mode . company-mode)
|
||||||
|
:bind (:map company-active-map
|
||||||
|
("<tab>" . company-complete-selection))
|
||||||
|
(:map lsp-mode-map
|
||||||
|
("<tab>" . company-indent-or-complete-common))
|
||||||
|
:custom
|
||||||
|
(company-minimum-prefix-length 1)
|
||||||
|
(company-idle-delay 0.0))
|
||||||
|
|
||||||
|
(use-package company-box
|
||||||
|
:hook (company-mode . company-box-mode))
|
||||||
|
|
||||||
(org-babel-do-load-languages
|
(org-babel-do-load-languages
|
||||||
'org-babel-load-languages
|
'org-babel-load-languages
|
||||||
'((emacs-lisp . t)
|
'((emacs-lisp . t)
|
||||||
|
|
Loading…
Reference in a new issue