File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class ImportMuttFinder(QueryFinder):
1717
1818 def __init__ (
1919 self ,
20- message : str = "{{uni.get_text() }}: found" ,
20+ message : str = "{{uni.text }}: found" ,
2121 severity : DiagnosticSeverity = DiagnosticSeverity .Information ,
2222 ):
2323 r"""Init.
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ def hover(params: TextDocumentPositionParams) -> Hover | None:
103103 )
104104 if uni is None :
105105 return None
106- text = uni .get_text ()
106+ text = uni .text
107107 result = None
108108 if uni .node .range .start_point [1 ] == 0 :
109109 result = get_schema ()["properties" ].get (text )
@@ -115,7 +115,7 @@ def hover(params: TextDocumentPositionParams) -> Hover | None:
115115 return None
116116 return Hover (
117117 MarkupContent (MarkupKind .Markdown , result ["description" ]),
118- uni .get_range () ,
118+ uni .range ,
119119 )
120120
121121 @self .feature (TEXT_DOCUMENT_COMPLETION )
@@ -134,7 +134,7 @@ def completions(params: CompletionParams) -> CompletionList:
134134 )
135135 if uni is None :
136136 return CompletionList (False , [])
137- text = uni .get_text ()
137+ text = uni .text
138138 if uni .node .range .start_point [1 ] == 0 :
139139 return CompletionList (
140140 False ,
You can’t perform that action at this time.
0 commit comments