Allow users to specify which commands get Tab completions

This commit is contained in:
Oliver Blanthorn 2020-10-18 15:28:43 +01:00
parent b3d7700388
commit 809eb1ffda
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3
2 changed files with 2 additions and 1 deletions

View file

@ -68,7 +68,7 @@ export class BufferCompletionSource extends Completions.CompletionSourceFuse {
constructor(private _parent) { constructor(private _parent) {
super( super(
["tab", "tabclose", "tabdetach", "tabduplicate", "tabmove"], config.get("completions","Tab","excmds").split(" "),
"BufferCompletionSource", "BufferCompletionSource",
"Tabs", "Tabs",
) )

View file

@ -1005,6 +1005,7 @@ export class default_config {
* Whether to automatically select the closest matching completion * Whether to automatically select the closest matching completion
*/ */
autoselect: "true", autoselect: "true",
excmds: "tab tabclose tabdetach tabduplicate tabmove",
}, },
Rss: { Rss: {
autoselect: "true", autoselect: "true",