[Mlir-commits] [mlir] e213e5a - [mlir:PDLL] Drop space as a completion commit character

River Riddle llvmlistbot at llvm.org
Wed May 18 00:24:05 PDT 2022


Author: River Riddle
Date: 2022-05-18T00:23:47-07:00
New Revision: e213e5a999dbaa3c1aa97a6f81b77a3358b00b2a

URL: https://github.com/llvm/llvm-project/commit/e213e5a999dbaa3c1aa97a6f81b77a3358b00b2a
DIFF: https://github.com/llvm/llvm-project/commit/e213e5a999dbaa3c1aa97a6f81b77a3358b00b2a.diff

LOG: [mlir:PDLL] Drop space as a completion commit character

This causes annoyances when attempting to use space as
a trigger character (to start a different completion).

Added: 
    

Modified: 
    mlir/lib/Tools/mlir-pdll-lsp-server/LSPServer.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Tools/mlir-pdll-lsp-server/LSPServer.cpp b/mlir/lib/Tools/mlir-pdll-lsp-server/LSPServer.cpp
index 311f6042ae836..5f4967ffb8e3a 100644
--- a/mlir/lib/Tools/mlir-pdll-lsp-server/LSPServer.cpp
+++ b/mlir/lib/Tools/mlir-pdll-lsp-server/LSPServer.cpp
@@ -115,9 +115,9 @@ void LSPServer::onInitialize(const InitializeParams &params,
       {"completionProvider",
        llvm::json::Object{
            {"allCommitCharacters",
-            {" ", "\t", "(", ")", "[", "]", "{",  "}", "<",
-             ">", ":",  ";", ",", "+", "-", "/",  "*", "%",
-             "^", "&",  "#", "?", ".", "=", "\"", "'", "|"}},
+            {"\t", "(", ")", "[", "]", "{",  "}", "<", ">",
+             ":",  ";", ",", "+", "-", "/",  "*", "%", "^",
+             "&",  "#", "?", ".", "=", "\"", "'", "|"}},
            {"resolveProvider", false},
            {"triggerCharacters",
             {".", ">", "(", "{", ",", "<", ":", "[", " ", "\"", "/"}},


        


More information about the Mlir-commits mailing list