lsp: Use CompletionTriggerKind::TRIGGER_CHARACTER only for characters allowlisted by the server (#14734)

Fixes #13823


Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz
2024-07-18 14:53:31 +02:00
committed by GitHub
parent 76ce1a8f50
commit 3fb3148995
2 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ pub struct ExpandExcerptsDown {
#[derive(PartialEq, Clone, Deserialize, Default)]
pub struct ShowCompletions {
#[serde(default)]
pub(super) trigger: Option<char>,
pub(super) trigger: Option<String>,
}
impl_actions!(