Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix completion documentation being parsed as markdown twice #2146

Merged
merged 1 commit into from
Dec 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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