summaryrefslogtreecommitdiff
path: root/book/src
diff options
context:
space:
mode:
authorCossonLeo2021-10-18 06:14:50 +0000
committerGitHub2021-10-18 06:14:50 +0000
commit9ac0c951615d624041836cdd7afd869391c72fff (patch)
treeace936ce161eaa56bbf59590a2c0270d03ca5cd8 /book/src
parenta03b12530c8231111184dbb35b57bfb1727f4d60 (diff)
Improve completion trigger (#838)
* improve idle completion trigger * add completion-trigger-len to book * rename semantics_completion to language_server_completion and optimize idle completion trigger
Diffstat (limited to 'book/src')
-rw-r--r--book/src/configuration.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/book/src/configuration.md b/book/src/configuration.md
index d47f95d9..7d6ff28f 100644
--- a/book/src/configuration.md
+++ b/book/src/configuration.md
@@ -21,6 +21,7 @@ To override global configuration parameters, create a `config.toml` file located
| `auto-pairs` | Enable automatic insertion of pairs to parenthese, brackets, etc. | `true` |
| `auto-completion` | Enable automatic pop up of auto-completion. | `true` |
| `idle-timeout` | Time in milliseconds since last keypress before idle timers trigger. Used for autocompletion, set to 0 for instant. | `400` |
+| `completion-trigger-len` | The min-length of word under cursor to trigger autocompletion | `2` |
## LSP