Skip to content

Commit 8543cfd

Browse files
fix: complete with quotes
1 parent 6f7a787 commit 8543cfd

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

crates/pgt_completions/src/providers/policies.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
use pgt_schema_cache::SchemaCache;
2-
use pgt_text_size::{TextRange, TextSize};
32
use pgt_treesitter::TreesitterContext;
43

54
use crate::{

crates/pgt_lsp/src/capabilities.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,12 @@ pub(crate) fn server_capabilities(capabilities: &ClientCapabilities) -> ServerCa
3737
// The request is used to get more information about a simple CompletionItem.
3838
resolve_provider: None,
3939

40-
trigger_characters: Some(vec![".".to_owned(), " ".to_owned(), "(".to_owned()]),
40+
trigger_characters: Some(vec![
41+
".".to_owned(),
42+
" ".to_owned(),
43+
"(".to_owned(),
44+
"\"".to_owned(),
45+
]),
4146

4247
// No character will lead to automatically inserting the selected completion-item
4348
all_commit_characters: None,

0 commit comments

Comments
 (0)