gotta run
This commit is contained in:
parent
9255d43139
commit
a96a466c18
2 changed files with 20 additions and 29 deletions
|
@ -44,8 +44,7 @@ M-x org-bable-tangle
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; Font
|
;; Font
|
||||||
(set-face-attribute `default nil :font "JetBrains Mono" :height 125)
|
(set-face-attribute `default nil :font "JetBrains Mono" :height 100)
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Package setup
|
* Package setup
|
||||||
|
@ -372,25 +371,21 @@ make sure to setup authinfo
|
||||||
**** Language Servers
|
**** Language Servers
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(defun sakomacs/lsp-mode-setup ()
|
(defun sakomacs/lsp-mode-setup ()
|
||||||
(setq lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols))
|
(setq lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols))
|
||||||
(lsp-headerline-breadcrumb-mode))
|
(lsp-headerline-breadcrumb-mode))
|
||||||
|
|
||||||
:hook (lsp-mode . sakomacs/lsp-mode-setup)
|
(use-package lsp-mode
|
||||||
|
:commands (lsp lsp-deferred)
|
||||||
(use-package lsp-mode
|
:hook (lsp-mode . sakomacs/lsp-mode-setup)
|
||||||
:commands (lsp lsp-deferred)
|
:init
|
||||||
:hook (lsp-mode . sakomacs/lsp-mode-setup)
|
(setq lsp-keymap-prefix "C-c l")
|
||||||
:init
|
:config
|
||||||
(setq lsp-keymap-prefix "C-c l")
|
(lsp-enable-which-key-integration t))
|
||||||
:config
|
|
||||||
(lsp-enable-which-key-integration t))
|
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Better lsp mode ui
|
**** Better lsp mode ui
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package lsp-ui
|
(use-package lsp-ui
|
||||||
:hook (lsp-mode . lsp-ui-mode)
|
:hook (lsp-mode . lsp-ui-mode)
|
||||||
:custom
|
|
||||||
(lsp-ui-doc-position 'bottom))
|
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Languages
|
**** Languages
|
||||||
***** Typescript
|
***** Typescript
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
||||||
|
|
||||||
;; Font
|
;; Font
|
||||||
(set-face-attribute `default nil :font "JetBrains Mono" :height 125)
|
(set-face-attribute `default nil :font "JetBrains Mono" :height 100)
|
||||||
|
|
||||||
;; Package related stuqff
|
;; Package related stuqff
|
||||||
(require `package)
|
(require `package)
|
||||||
|
@ -307,23 +307,19 @@
|
||||||
(setq auth-sources '("~/.authinfo"))
|
(setq auth-sources '("~/.authinfo"))
|
||||||
|
|
||||||
(defun sakomacs/lsp-mode-setup ()
|
(defun sakomacs/lsp-mode-setup ()
|
||||||
(setq lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols))
|
(setq lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols))
|
||||||
(lsp-headerline-breadcrumb-mode))
|
(lsp-headerline-breadcrumb-mode))
|
||||||
|
|
||||||
:hook (lsp-mode . sakomacs/lsp-mode-setup)
|
(use-package lsp-mode
|
||||||
|
:commands (lsp lsp-deferred)
|
||||||
(use-package lsp-mode
|
:hook (lsp-mode . sakomacs/lsp-mode-setup)
|
||||||
:commands (lsp lsp-deferred)
|
:init
|
||||||
:hook (lsp-mode . sakomacs/lsp-mode-setup)
|
(setq lsp-keymap-prefix "C-c l")
|
||||||
:init
|
:config
|
||||||
(setq lsp-keymap-prefix "C-c l")
|
(lsp-enable-which-key-integration t))
|
||||||
:config
|
|
||||||
(lsp-enable-which-key-integration t))
|
|
||||||
|
|
||||||
(use-package lsp-ui
|
(use-package lsp-ui
|
||||||
:hook (lsp-mode . lsp-ui-mode)
|
:hook (lsp-mode . lsp-ui-mode)
|
||||||
:custom
|
|
||||||
(lsp-ui-doc-position 'bottom))
|
|
||||||
|
|
||||||
(use-package js2-mode
|
(use-package js2-mode
|
||||||
:mode "\\.js\\'"
|
:mode "\\.js\\'"
|
||||||
|
|
Loading…
Reference in a new issue