2019-02-22 05:08:27 +08:00
|
|
|
;;; tools/lsp/config.el -*- lexical-binding: t; -*-
|
|
|
|
|
2020-04-02 01:57:04 +08:00
|
|
|
(defvar +lsp-defer-shutdown 3
|
|
|
|
"If non-nil, defer shutdown of LSP servers for this many seconds after last
|
|
|
|
workspace buffer is closed.
|
|
|
|
|
|
|
|
This delay prevents premature server shutdown when a user still intends on
|
|
|
|
working on that project after closing the last buffer.")
|
|
|
|
|
2020-05-29 03:30:20 +08:00
|
|
|
|
|
|
|
;;
|
|
|
|
;;; Implementations
|
|
|
|
|
2020-05-28 17:03:49 +08:00
|
|
|
(if (featurep! +eglot)
|
2020-05-28 19:13:00 +08:00
|
|
|
(load! "+eglot")
|
|
|
|
(load! "+lsp"))
|