Fix startup errors when bootstrapping
This commit is contained in:
parent
ea26efed48
commit
99d8cbedb4
@ -825,10 +825,9 @@ I put lots of stuff in Dropbox, but the actual folder location differs on my dif
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(defun get-dropbox-directory ()
|
||||
(cond
|
||||
((file-exists-p (expand-file-name "~/Dropbox"))
|
||||
(expand-file-name "~/Dropbox"))
|
||||
((file-exists-p (expand-file-name "~/Dropbox (Personal)"))
|
||||
(expand-file-name "~/Dropbox (Personal)"))))
|
||||
(expand-file-name "~/Dropbox (Personal)"))
|
||||
(t (expand-file-name "~/Dropbox"))))
|
||||
|
||||
#+END_SRC
|
||||
|
||||
@ -2874,13 +2873,13 @@ Emacs support for the Language Server Protocol
|
||||
:general
|
||||
(lsp-mode-map "C-c h" 'hydra-lsp/body)
|
||||
((normal visual motion) lsp-mode-map "K" #'lsp-describe-thing-at-point)
|
||||
((normal visual motion) "gl" lsp-command-map)
|
||||
:hook
|
||||
((lsp-mode . (lambda ()
|
||||
(let ((lsp-keymap-prefix "gl"))
|
||||
(lsp-enable-which-key-integration)))))
|
||||
:config
|
||||
(setq lsp-prefer-flymake nil)
|
||||
(general-def '(normal visual motion) "gl" lsp-command-map)
|
||||
:commands lsp-mode lsp lsp-deferred
|
||||
:custom
|
||||
(lsp-enable-snippet nil)
|
||||
|
Loading…
Reference in New Issue
Block a user