From 20ea53630bd50ecf05f42d44a227ecd8e78fffac Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Sat, 18 Jun 2011 18:46:04 +1200 Subject: [PATCH] Add "scriptencoding" directive to avoid encoding issues --- plugin/tagbar.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugin/tagbar.vim b/plugin/tagbar.vim index 234d0dc..bcb1b94 100644 --- a/plugin/tagbar.vim +++ b/plugin/tagbar.vim @@ -18,6 +18,10 @@ " use of this software. " ============================================================================ +if has('multi_byte') + scriptencoding utf-8 +endif + if &cp || exists('g:loaded_tagbar') finish endif