From e7e539f20c50bd276d63a1c279e2bc8706df8a5c Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Wed, 19 Aug 2026 01:53:55 +0200 Subject: LSP: auto-complete symbols via the textDocument/completion request This currently only works in insert commands after enabling the immediate editing modifier via CTRL+G and if the LSP was already launched (e.g. by an explicit `FT$`). File name completions are still performed with an activated ^G modifier only if the LSP is shut down. Just like for file names, the modifier is automatically cancelled after a successful completion - there is little sense in completing several symbols in a row. --- doc/sciteco.7.template | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc') diff --git a/doc/sciteco.7.template b/doc/sciteco.7.template index b3b2aaa..4b6987a 100644 --- a/doc/sciteco.7.template +++ b/doc/sciteco.7.template @@ -654,9 +654,22 @@ effectively opening the corresponding \fIwomanpage\fP, except if the \(lq{\(rq terminator is used. T} T{ +Auto complete via LSP +T};9;^I, Tab;T{ +Text insertion arguments +.br +(modifier \fIenabled\fP and language server started) +T};T{ +Auto completes the symbol at the current buffer position using the +language server protocol (LSP). +See also \fBFT\fP command. +T} +T{ Indent to next tab stop T};9;^I, Tab;T{ Text insertion arguments +.br +(modifier \fIdisabled\fP) T};T{ Expands to spaces so that following text is inserted at the next tab stop into the buffer. -- cgit v1.2.3