[mlir:LSP] Remove several more annoying completion commit characters

These characters are annoying in that they accept completions
that weren't intended, causing user frustration.
This commit is contained in:
River Riddle 2022-07-20 12:00:18 -07:00
parent f494f89b2a
commit 362c4e68c9
1 changed files with 7 additions and 1 deletions

View File

@ -100,7 +100,13 @@ void LSPServer::onInitialize(const InitializeParams &params,
{"completionProvider", {"completionProvider",
llvm::json::Object{ llvm::json::Object{
{"allCommitCharacters", {"allCommitCharacters",
{"\t", ";", ",", "+", "-", "/", "*", "&", "?", ".", "=", "|"}}, {
"\t",
";",
",",
".",
"=",
}},
{"resolveProvider", false}, {"resolveProvider", false},
{"triggerCharacters", {"triggerCharacters",
{".", "%", "^", "!", "#", "(", ",", "<", ":", "[", " ", "\"", "/"}}, {".", "%", "^", "!", "#", "(", ",", "<", ":", "[", " ", "\"", "/"}},