From fb929b76cc70094741228928e09faa19984a5557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kim=20Silkeb=C3=A6kken?= Date: Wed, 30 Jan 2013 09:52:22 +0100 Subject: [PATCH] Fix vim matcher string comparison Refs 2f361711febaa822e4eb221f809b710cd650bf5b. --- powerline/matchers/vim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerline/matchers/vim.py b/powerline/matchers/vim.py index ee13de8f..7a971da6 100644 --- a/powerline/matchers/vim.py +++ b/powerline/matchers/vim.py @@ -10,4 +10,4 @@ def help(): def cmdwin(): - return bool(int(vim.eval('bufname("%") == "[Command Line]"'))) + return bool(int(vim.eval('bufname("%") is# "[Command Line]"')))