Skip to content
Browse files

Hotfix ropeautocomplete and version 0.2.4

  • Loading branch information...
1 parent 7adaa26 commit bcc5b6cc29ea36a9f52dbf735440b020327bac7d @klen klen committed
Showing with 4 additions and 3 deletions.
  1. +2 −1 Changelog.rst
  2. +2 −2 pylibs/ropevim.py
View
3 Changelog.rst
@@ -1,11 +1,12 @@
Changelog
=========
-## 2011-10-17 0.2.3
+## 2011-10-17 0.2.4
-------------------
* Add current work path to sys.path
* Add 'g:pymode' option (disable/enable pylint and rope)
* Fix pylint copyright
+* Hotfix rope autocomplete
## 2011-10-15 0.2.1
-------------------
View
4 pylibs/ropevim.py
@@ -288,7 +288,7 @@ def _extended_completion(self, proposal):
# we are using extended complete and return dicts instead of strings.
# `ci` means "completion item". see `:help complete-items`
word, _, menu = map(lambda x: x.strip(), proposal.name.partition(':'))
- ci = dict(word = word, menu = menu)
+ ci = dict(word = word, menu = menu or '')
kind = ''.join(s if s not in 'aeyuo' else '' for s in proposal.type)[:3]
if proposal.scope == 'parameter_keyword':
@@ -301,7 +301,7 @@ def _extended_completion(self, proposal):
ci['kind'] = kind
ci['menu'] = menu.replace('"', '\\"')
- return repr(ci)
+ return repr(ci).replace(": u'", ": '")
def _vim_name(name):

0 comments on commit bcc5b6c

Please sign in to comment.
Something went wrong with that request. Please try again.