summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2021-01-01 16:00:14 -0300
committerRoger Gonzalez <roger@rogs.me>2021-01-01 16:00:14 -0300
commit88a0e8f4b2e74a8215e392464d8ae0dff36af5bb (patch)
tree411558a9dae2464766b82d3992034a9860b4ff7f
parente4122a5d11ed30c9cac83090276da33d030538b1 (diff)
Changed some LSP configs in Emacs
-rw-r--r--.doom.d/config.el10
-rw-r--r--.doom.d/custom.el13
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)))))