From 88a0e8f4b2e74a8215e392464d8ae0dff36af5bb Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Fri, 1 Jan 2021 16:00:14 -0300 Subject: Changed some LSP configs in Emacs --- .doom.d/config.el | 10 +++++++--- .doom.d/custom.el | 13 ------------- 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/.doom.d/config.el b/.doom.d/config.el index 06d88d77..c03ae932 100644 --- a/.doom.d/config.el +++ b/.doom.d/config.el @@ -21,9 +21,9 @@ ;; font string. You generally only need these two: ;; (setq doom-font (font-spec :family "monospace" :size 12 :weight 'semi-light) ;; doom-variable-pitch-font (font-spec :family "sans" :size 13)) -(setq doom-font (font-spec :family "Source Code Pro Medium" :size 15) +(setq doom-font (font-spec :family "Mononoki Nerd Font" :size 16) doom-variable-pitch-font (font-spec :family "sans") - doom-big-font (font-spec :family "Source Code Pro Medium" :size 24)) + doom-big-font (font-spec :family "Mononoki Nerd Font" :size 24)) (after! doom-themes (setq doom-themes-enable-bold t @@ -112,7 +112,7 @@ (helm-other-buffer '(helm-httpstatus-source) "*helm httpstatus*")) ;; Removes mouse from code -(mouse-avoidance-mode "animate") +;; (mouse-avoidance-mode "animate") ;; Basic: Turn off bugging yes-or-no-p (fset 'yes-or-no-p 'y-or-n-p) @@ -227,11 +227,15 @@ (after! lsp-mode :init (setq lsp-headerline-breadcrumb-enable t) + :custom + (setq lsp-ui-doc-enable t) ;; LSP eslint config (setq lsp-eslint-server-command '("node" "/home/roger/.vscode-oss/extensions/vscode-eslint-release-2.1.5/server/out/eslintServer.js" "--stdio"))) +(after! lsp-ui + (setq lsp-ui-doc-enable t)) ;; My own menu (map! :leader diff --git a/.doom.d/custom.el b/.doom.d/custom.el index 3dea2909..e69de29b 100644 --- a/.doom.d/custom.el +++ b/.doom.d/custom.el @@ -1,13 +0,0 @@ -(custom-set-variables - ;; custom-set-variables was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(package-selected-packages '(auto-virtualenv))) -(custom-set-faces - ;; custom-set-faces was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(font-lock-comment-face ((t (:slant italic)))) - '(font-lock-keyword-face ((t (:slant italic))))) -- cgit v1.2.3