summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin/hackernews.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/hackernews.vim b/plugin/hackernews.vim
index 3d0d80b..8516747 100644
--- a/plugin/hackernews.vim
+++ b/plugin/hackernews.vim
@@ -16,7 +16,7 @@ endif
" Import Python code
execute "python import sys"
-execute "python sys.path.append('" . expand("<sfile>:p:h") . "')"
+execute "python sys.path.append(r'" . expand("<sfile>:p:h") . "')"
execute "python from hackernews import hacker_news, hacker_news_link"