From 9b904f5b7e9ea45b8ea5991f6eeb19c2f3949874 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 11 Aug 2026 21:20:17 +0200 Subject: LSP: save $SCITECO_LSP and $SCITECO_LSP_ROOT as part of buffer sessions If you have projects in different languages you can set different LSPs. The default will still come from ~/.teco_ini if you decide to set one. The default for $SCITECO_LSP_ROOT is set by session.tes' VCS integration based on the VCS root, but you could still overwrite it per session. --- doc/sciteco.1.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/sciteco.1.in') diff --git a/doc/sciteco.1.in b/doc/sciteco.1.in index 858bf6d..1e7fe3b 100644 --- a/doc/sciteco.1.in +++ b/doc/sciteco.1.in @@ -399,6 +399,8 @@ The language server spawning works with UNIX98 shell emulation as well (bit 8 in \fBED\fP flags), but will otherwise use the shell from \fBSHELL\fP or \fBCOMSPEC\fP. \fBSCITECO_LSP_ROOT\fP can be set to the root directory of the language server's workspace (defaults to current directory at the time of spawning). +Both \fBSCITECO_LSP\fP and \fBSCITECO_LSP_ROOT\fP are persisted in buffer +sessions (see \fBsession.tes\fP). . .LP .SCITECO_TOPIC "$GTK_CSD" -- cgit v1.2.3