From 38f4b4591d15987b40188ced9d15f20dab88adfb Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Fri, 1 Jul 2022 14:48:24 -0400 Subject: [PATCH] Do powerline setup better hopefully --- vimrc | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/vimrc b/vimrc index f1c1f83..3b3d32e 100644 --- a/vimrc +++ b/vimrc @@ -96,14 +96,11 @@ let g:vim_markdown_frontmatter = 1 let g:yapf_style = "pep8" if has("python3") - python3 << eopython -try: - from powerline.vim import setup as powerline_setup - powerline_setup() - del powerline_setup -except ImportError: - pass -eopython + python3 import sys + python3 sys.path.append("/usr/lib/python3/dist-packages") + python3 from powerline.vim import setup as powerline_setup + python3 powerline_setup() + python3 del powerline_setup endif packadd! dracula