aboutsummaryrefslogtreecommitdiff
path: root/vim/plugin/nm_vim.py
diff options
context:
space:
mode:
Diffstat (limited to 'vim/plugin/nm_vim.py')
-rw-r--r--vim/plugin/nm_vim.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/vim/plugin/nm_vim.py b/vim/plugin/nm_vim.py
index 8494278..7f67189 100644
--- a/vim/plugin/nm_vim.py
+++ b/vim/plugin/nm_vim.py
@@ -664,7 +664,8 @@ def vim_get_tags():
"""
db = notmuch.Database()
tags = '\n'.join(db.get_all_tags())
- vim.command('let taglist = \'%s\''%tags)
+ cmd = (u'let taglist = \'%s\''%tags).encode('utf-8')
+ vim.command(cmd)
def vim_get_object(line, offset):
"""