Skip to content

Commit

Permalink
fix completion documentation being parsed as markdown twice (#2146)
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl authored Dec 21, 2022
1 parent f7afd40 commit 8da6bf7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions plugin/completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ def run_main() -> None:
if not self.view.is_valid():
return
if self.view.is_popup_visible():
update_lsp_popup(self.view, minihtml_content, md=True)
update_lsp_popup(self.view, minihtml_content, md=False)
else:
show_lsp_popup(
self.view,
minihtml_content,
flags=sublime.COOPERATE_WITH_AUTO_COMPLETE,
md=True,
md=False,
on_navigate=self._on_navigate)

sublime.set_timeout(run_main)
Expand Down
2 changes: 1 addition & 1 deletion plugin/core/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ def on_workspace_configuration(self, params: Dict, configuration: Any) -> Any:
:param params: A ConfigurationItem for which configuration is requested.
:param configuration: The pre-resolved configuration for given params using the settings object or None.
:returns The resolved configuration for given params.
:returns: The resolved configuration for given params.
"""
return configuration

Expand Down

0 comments on commit 8da6bf7

Please sign in to comment.