From a96a466c189ab98187273255e29699e8cea7fb57 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 12 Sep 2023 13:57:29 +0400 Subject: [PATCH] gotta run --- config/emacs/emacs.org | 25 ++++++++++--------------- config/emacs/init.el | 24 ++++++++++-------------- 2 files changed, 20 insertions(+), 29 deletions(-) diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index 01650a60..895d74bd 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -44,8 +44,7 @@ M-x org-bable-tangle #+begin_src emacs-lisp ;; Font - (set-face-attribute `default nil :font "JetBrains Mono" :height 125) - + (set-face-attribute `default nil :font "JetBrains Mono" :height 100) #+end_src * Package setup @@ -372,25 +371,21 @@ make sure to setup authinfo **** Language Servers #+begin_src emacs-lisp (defun sakomacs/lsp-mode-setup () - (setq lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols)) - (lsp-headerline-breadcrumb-mode)) + (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 - :commands (lsp lsp-deferred) - :hook (lsp-mode . sakomacs/lsp-mode-setup) - :init - (setq lsp-keymap-prefix "C-c l") - :config - (lsp-enable-which-key-integration t)) + (use-package lsp-mode + :commands (lsp lsp-deferred) + :hook (lsp-mode . sakomacs/lsp-mode-setup) + :init + (setq lsp-keymap-prefix "C-c l") + :config + (lsp-enable-which-key-integration t)) #+end_src **** Better lsp mode ui #+begin_src emacs-lisp (use-package lsp-ui :hook (lsp-mode . lsp-ui-mode) - :custom - (lsp-ui-doc-position 'bottom)) #+end_src **** Languages ***** Typescript diff --git a/config/emacs/init.el b/config/emacs/init.el index 2b5ca6ba..2c421aa4 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -21,7 +21,7 @@ (global-set-key (kbd "") 'keyboard-escape-quit) ;; Font -(set-face-attribute `default nil :font "JetBrains Mono" :height 125) +(set-face-attribute `default nil :font "JetBrains Mono" :height 100) ;; Package related stuqff (require `package) @@ -307,23 +307,19 @@ (setq auth-sources '("~/.authinfo")) (defun sakomacs/lsp-mode-setup () -(setq lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols)) -(lsp-headerline-breadcrumb-mode)) + (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 - :commands (lsp lsp-deferred) - :hook (lsp-mode . sakomacs/lsp-mode-setup) - :init - (setq lsp-keymap-prefix "C-c l") - :config - (lsp-enable-which-key-integration t)) + (use-package lsp-mode + :commands (lsp lsp-deferred) + :hook (lsp-mode . sakomacs/lsp-mode-setup) + :init + (setq lsp-keymap-prefix "C-c l") + :config + (lsp-enable-which-key-integration t)) (use-package lsp-ui :hook (lsp-mode . lsp-ui-mode) - :custom - (lsp-ui-doc-position 'bottom)) (use-package js2-mode :mode "\\.js\\'"