aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRobin Haberkorn <rhaberkorn@fmsbw.de>2026-08-11 21:20:17 +0200
committerRobin Haberkorn <rhaberkorn@fmsbw.de>2026-08-11 21:26:38 +0200
commit9b904f5b7e9ea45b8ea5991f6eeb19c2f3949874 (patch)
treeefc110266a892ac4362160129476af47a8fbb46a
parent1b43702731178ae8c2e4d5155e20ae1be6aa49c0 (diff)
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.
-rw-r--r--doc/sciteco.1.in2
-rw-r--r--fallback.teco_inibin2640 -> 2705 bytes
-rw-r--r--lib/session.tesbin3299 -> 3607 bytes
3 files changed, 2 insertions, 0 deletions
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"
diff --git a/fallback.teco_ini b/fallback.teco_ini
index bd92c29..d2472fb 100644
--- a/fallback.teco_ini
+++ b/fallback.teco_ini
Binary files differ
diff --git a/lib/session.tes b/lib/session.tes
index 6f3c7cc..084a918 100644
--- a/lib/session.tes
+++ b/lib/session.tes
Binary files differ