diff options
| author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-08-19 01:53:55 +0200 |
|---|---|---|
| committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-10-04 23:07:47 +0200 |
| commit | e7e539f20c50bd276d63a1c279e2bc8706df8a5c (patch) | |
| tree | 10496f7efbaf97309e045cf3c639b8d4dab5428e /doc | |
| parent | bfafc42fc3e6ae33eec68f0eae07739df6ae5c2b (diff) | |
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.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/sciteco.7.template | 13 |
1 files changed, 13 insertions, 0 deletions
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. |
