Skip to content

Commit

Permalink
Fix gq
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardroche committed Apr 22, 2017
1 parent 7c68b89 commit 15c569c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -6,6 +6,7 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt

### Fixed

* Fixed: `gq` error
* Fixed: error using registers
* Fixed: error when searching
* Fixed: running last ex command "!!" not working
Expand Down
4 changes: 2 additions & 2 deletions xactions.py
Expand Up @@ -114,8 +114,8 @@ def __init__(self, *args, **kwargs):

def run(self, edit, mode=None, count=1, motion=None):
def wrap_command():
hasWrapPlus = view.settings().get('WrapPlus.include_line_ending')
if hasWrapPlus == None:
hasWrapPlus = self.view.settings().get('WrapPlus.include_line_ending')
if hasWrapPlus is None:
return 'wrap_lines'
else:
return 'wrap_lines_plus'
Expand Down

0 comments on commit 15c569c

Please sign in to comment.