From 53224d9fa60d397863fa4e8a43f35ec2e80111e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= <sumneko@hotmail.com>
Date: Sat, 13 Aug 2022 02:41:58 +0800
Subject: [PATCH] default `editor.quickSuggestions`

---
 package.json        | 11 ++++++++++-
 package/package.lua |  9 +++++++++
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/package.json b/package.json
index f7a4a2d..ec6b0ef 100644
--- a/package.json
+++ b/package.json
@@ -2881,7 +2881,16 @@
 					]
 				}
 			}
-		]
+		],
+		"configurationDefaults": {
+			"[lua]": {
+				"editor.quickSuggestions": {
+					"other": "on",
+					"comments": "inline",
+					"strings": "on"
+				}
+			}
+		}
 	},
 	"description": "Lua Language Server coded by Lua",
 	"displayName": "Lua",
diff --git a/package/package.lua b/package/package.lua
index 01e6a02..56c8d10 100644
--- a/package/package.lua
+++ b/package/package.lua
@@ -61,6 +61,15 @@ return {
                 },
             },
         },
+        configurationDefaults = {
+            ["[lua]"] = {
+                ["editor.quickSuggestions"] = {
+                    comments = "inline",
+                    other = "on",
+                    strings = "on",
+                },
+            },
+        },
     },
     capabilities = {
         untrustedWorkspaces = {
-- 
GitLab