Skip to content

Commit

Permalink
fix over indent flake :(
Browse files Browse the repository at this point in the history
  • Loading branch information
predragnikolic committed Jan 24, 2024
1 parent 08f53ea commit fdfdbaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ def on_text_command(self, command_name: str, args: Optional[dict]) -> Optional[T
def on_post_text_command(self, command_name: str, args: Optional[Dict[str, Any]]) -> None:
format_on_paste = self.view.settings().get('lsp_format_on_paste', None)
format_on_paste_enabled = format_on_paste if isinstance(format_on_paste, bool) \
else userprefs().lsp_format_on_paste
else userprefs().lsp_format_on_paste
if command_name == 'paste' and format_on_paste_enabled:
self._did_paste = True
elif command_name in ("next_field", "prev_field") and args is None:
Expand Down

0 comments on commit fdfdbaf

Please sign in to comment.