diff --git a/autoload/airline.vim b/autoload/airline.vim index 8a07d99..d0b21b0 100644 --- a/autoload/airline.vim +++ b/autoload/airline.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + let g:airline_statusline_funcrefs = get(g:, 'airline_statusline_funcrefs', []) let s:sections = ['a','b','c','gutter','x','y','z', 'error', 'warning'] diff --git a/autoload/airline/builder.vim b/autoload/airline/builder.vim index ad9029a..19830e4 100644 --- a/autoload/airline/builder.vim +++ b/autoload/airline/builder.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + let s:prototype = {} function! s:prototype.split(...) @@ -58,7 +60,7 @@ function! s:prototype.build() if is_empty " need to fix highlighting groups, since we " have skipped a section, we actually need - " the previous previous group and so the + " the previous previous group and so the " seperator goes from the previous previous group " to the current group let pgroup = group diff --git a/autoload/airline/debug.vim b/autoload/airline/debug.vim index 3273b0c..18fc126 100644 --- a/autoload/airline/debug.vim +++ b/autoload/airline/debug.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + function! airline#debug#profile1() profile start airline-profile-switch.log profile func * diff --git a/autoload/airline/extensions.vim b/autoload/airline/extensions.vim index f37bf27..9bb42e7 100644 --- a/autoload/airline/extensions.vim +++ b/autoload/airline/extensions.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + let s:ext = {} let s:ext._theme_funcrefs = [] diff --git a/autoload/airline/extensions/branch.vim b/autoload/airline/extensions/branch.vim index 0618a44..c402d40 100644 --- a/autoload/airline/extensions/branch.vim +++ b/autoload/airline/extensions/branch.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + let s:has_fugitive = exists('*fugitive#head') let s:has_lawrencium = exists('*lawrencium#statusline') let s:has_vcscommand = get(g:, 'airline#extensions#branch#use_vcscommand', 0) && exists('*VCSCommandGetStatusLine') diff --git a/autoload/airline/extensions/bufferline.vim b/autoload/airline/extensions/bufferline.vim index 31d77aa..8ca825f 100644 --- a/autoload/airline/extensions/bufferline.vim +++ b/autoload/airline/extensions/bufferline.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + if !exists('*bufferline#get_status_string') finish endif diff --git a/autoload/airline/extensions/capslock.vim b/autoload/airline/extensions/capslock.vim index 32aaf39..d79c24e 100644 --- a/autoload/airline/extensions/capslock.vim +++ b/autoload/airline/extensions/capslock.vim @@ -1,5 +1,8 @@ " MIT License. Copyright (c) 2014 Mathias Andersson. " vim: et ts=2 sts=2 sw=2 + +scriptencoding utf-8 + if !exists('*CapsLockStatusline') finish endif diff --git a/autoload/airline/extensions/commandt.vim b/autoload/airline/extensions/commandt.vim index fe6bbf9..93c6572 100644 --- a/autoload/airline/extensions/commandt.vim +++ b/autoload/airline/extensions/commandt.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + if !get(g:, 'command_t_loaded', 0) finish endif diff --git a/autoload/airline/extensions/csv.vim b/autoload/airline/extensions/csv.vim index c051ad6..b95aacd 100644 --- a/autoload/airline/extensions/csv.vim +++ b/autoload/airline/extensions/csv.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + if !get(g:, 'loaded_csv', 0) && !exists(':Table') finish endif diff --git a/autoload/airline/extensions/ctrlp.vim b/autoload/airline/extensions/ctrlp.vim index c4f856b..3781108 100644 --- a/autoload/airline/extensions/ctrlp.vim +++ b/autoload/airline/extensions/ctrlp.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + if !get(g:, 'loaded_ctrlp', 0) finish endif diff --git a/autoload/airline/extensions/ctrlspace.vim b/autoload/airline/extensions/ctrlspace.vim index 166cd92..57183d7 100644 --- a/autoload/airline/extensions/ctrlspace.vim +++ b/autoload/airline/extensions/ctrlspace.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + let s:spc = g:airline_symbols.space let s:padding = s:spc . s:spc . s:spc diff --git a/autoload/airline/extensions/default.vim b/autoload/airline/extensions/default.vim index ec305c5..b808296 100644 --- a/autoload/airline/extensions/default.vim +++ b/autoload/airline/extensions/default.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + let s:section_use_groups = get(g:, 'airline#extensions#default#section_use_groupitems', 1) let s:section_truncate_width = get(g:, 'airline#extensions#default#section_truncate_width', { \ 'b': 79, diff --git a/autoload/airline/extensions/eclim.vim b/autoload/airline/extensions/eclim.vim index 9f5a17d..44f1bb5 100644 --- a/autoload/airline/extensions/eclim.vim +++ b/autoload/airline/extensions/eclim.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + if !exists(':ProjectCreate') finish endif diff --git a/autoload/airline/extensions/example.vim b/autoload/airline/extensions/example.vim index d744bea..c81f6c3 100644 --- a/autoload/airline/extensions/example.vim +++ b/autoload/airline/extensions/example.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + " we don't actually want this loaded :P finish diff --git a/autoload/airline/extensions/hunks.vim b/autoload/airline/extensions/hunks.vim index 2d265f8..02a8ff4 100644 --- a/autoload/airline/extensions/hunks.vim +++ b/autoload/airline/extensions/hunks.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + if !get(g:, 'loaded_signify', 0) && !get(g:, 'loaded_gitgutter', 0) && !get(g:, 'loaded_changes', 0) && !get(g:, 'loaded_quickfixsigns', 0) finish endif diff --git a/autoload/airline/extensions/netrw.vim b/autoload/airline/extensions/netrw.vim index fcd312d..7af76d6 100644 --- a/autoload/airline/extensions/netrw.vim +++ b/autoload/airline/extensions/netrw.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + if !exists(':NetrwSettings') finish endif diff --git a/autoload/airline/extensions/nrrwrgn.vim b/autoload/airline/extensions/nrrwrgn.vim index 78a1daa..4629915 100644 --- a/autoload/airline/extensions/nrrwrgn.vim +++ b/autoload/airline/extensions/nrrwrgn.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + if !get(g:, 'loaded_nrrw_rgn', 0) finish endif diff --git a/autoload/airline/extensions/obsession.vim b/autoload/airline/extensions/obsession.vim index 31792df..ca0fc16 100644 --- a/autoload/airline/extensions/obsession.vim +++ b/autoload/airline/extensions/obsession.vim @@ -1,5 +1,7 @@ " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + if !exists('*ObsessionStatus') finish endif diff --git a/autoload/airline/extensions/po.vim b/autoload/airline/extensions/po.vim index 6e5b6bc..705f5a1 100644 --- a/autoload/airline/extensions/po.vim +++ b/autoload/airline/extensions/po.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + function! airline#extensions#po#apply(...) if &ft ==# 'po' call airline#extensions#prepend_to_section('z', '%{airline#extensions#po#stats()}') diff --git a/autoload/airline/extensions/promptline.vim b/autoload/airline/extensions/promptline.vim index 770a573..9b76a1a 100644 --- a/autoload/airline/extensions/promptline.vim +++ b/autoload/airline/extensions/promptline.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + if !exists(':PromptlineSnapshot') finish endif diff --git a/autoload/airline/extensions/quickfix.vim b/autoload/airline/extensions/quickfix.vim index 0378650..b081342 100644 --- a/autoload/airline/extensions/quickfix.vim +++ b/autoload/airline/extensions/quickfix.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + let g:airline#extensions#quickfix#quickfix_text = 'Quickfix' let g:airline#extensions#quickfix#location_text = 'Location' diff --git a/autoload/airline/extensions/syntastic.vim b/autoload/airline/extensions/syntastic.vim index 0c0c53c..adf5460 100644 --- a/autoload/airline/extensions/syntastic.vim +++ b/autoload/airline/extensions/syntastic.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + if !exists(':SyntasticCheck') finish endif diff --git a/autoload/airline/extensions/tabline.vim b/autoload/airline/extensions/tabline.vim index 04a7159..058b9c3 100644 --- a/autoload/airline/extensions/tabline.vim +++ b/autoload/airline/extensions/tabline.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + let s:formatter = get(g:, 'airline#extensions#tabline#formatter', 'default') let s:show_buffers = get(g:, 'airline#extensions#tabline#show_buffers', 1) let s:show_tabs = get(g:, 'airline#extensions#tabline#show_tabs', 1) diff --git a/autoload/airline/extensions/tabline/autoshow.vim b/autoload/airline/extensions/tabline/autoshow.vim index 32bcf54..a6782a8 100644 --- a/autoload/airline/extensions/tabline/autoshow.vim +++ b/autoload/airline/extensions/tabline/autoshow.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + let s:show_buffers = get(g:, 'airline#extensions#tabline#show_buffers', 1) let s:buf_min_count = get(g:, 'airline#extensions#tabline#buffer_min_count', 0) let s:tab_min_count = get(g:, 'airline#extensions#tabline#tab_min_count', 0) diff --git a/autoload/airline/extensions/tabline/buflist.vim b/autoload/airline/extensions/tabline/buflist.vim index 6ee23ed..ef00e8e 100644 --- a/autoload/airline/extensions/tabline/buflist.vim +++ b/autoload/airline/extensions/tabline/buflist.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + let s:excludes = get(g:, 'airline#extensions#tabline#excludes', []) let s:exclude_preview = get(g:, 'airline#extensions#tabline#exclude_preview', 1) diff --git a/autoload/airline/extensions/tabline/formatters/default.vim b/autoload/airline/extensions/tabline/formatters/default.vim index e57eaa0..308d7f1 100644 --- a/autoload/airline/extensions/tabline/formatters/default.vim +++ b/autoload/airline/extensions/tabline/formatters/default.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + let s:fmod = get(g:, 'airline#extensions#tabline#fnamemod', ':~:.') let s:fnamecollapse = get(g:, 'airline#extensions#tabline#fnamecollapse', 1) let s:fnametruncate = get(g:, 'airline#extensions#tabline#fnametruncate', 0) diff --git a/autoload/airline/extensions/tabline/formatters/unique_tail.vim b/autoload/airline/extensions/tabline/formatters/unique_tail.vim index 3954f49..d9c7d6a 100644 --- a/autoload/airline/extensions/tabline/formatters/unique_tail.vim +++ b/autoload/airline/extensions/tabline/formatters/unique_tail.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + function! airline#extensions#tabline#formatters#unique_tail#format(bufnr, buffers) let duplicates = {} let tails = {} diff --git a/autoload/airline/extensions/tabline/tabs.vim b/autoload/airline/extensions/tabline/tabs.vim index 586c8a6..63beee1 100644 --- a/autoload/airline/extensions/tabline/tabs.vim +++ b/autoload/airline/extensions/tabline/tabs.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + let s:show_close_button = get(g:, 'airline#extensions#tabline#show_close_button', 1) let s:show_tab_type = get(g:, 'airline#extensions#tabline#show_tab_type', 1) let s:show_tab_nr = get(g:, 'airline#extensions#tabline#show_tab_nr', 1) diff --git a/autoload/airline/extensions/tagbar.vim b/autoload/airline/extensions/tagbar.vim index da8abf6..7e7665a 100644 --- a/autoload/airline/extensions/tagbar.vim +++ b/autoload/airline/extensions/tagbar.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + if !exists(':TagbarToggle') finish endif diff --git a/autoload/airline/extensions/tmuxline.vim b/autoload/airline/extensions/tmuxline.vim index 0e55588..078d5dc 100644 --- a/autoload/airline/extensions/tmuxline.vim +++ b/autoload/airline/extensions/tmuxline.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + if !exists(':Tmuxline') finish endif diff --git a/autoload/airline/extensions/undotree.vim b/autoload/airline/extensions/undotree.vim index aa24bef..36f8b9b 100644 --- a/autoload/airline/extensions/undotree.vim +++ b/autoload/airline/extensions/undotree.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + if !exists(':UndotreeToggle') finish endif diff --git a/autoload/airline/extensions/unicode.vim b/autoload/airline/extensions/unicode.vim index 38a2141..30cb796 100644 --- a/autoload/airline/extensions/unicode.vim +++ b/autoload/airline/extensions/unicode.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + if !get(g:, 'loaded_unicodePlugin', 0) finish endif diff --git a/autoload/airline/extensions/unite.vim b/autoload/airline/extensions/unite.vim index 33cee27..9467a7d 100644 --- a/autoload/airline/extensions/unite.vim +++ b/autoload/airline/extensions/unite.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + if !get(g:, 'loaded_unite', 0) finish endif diff --git a/autoload/airline/extensions/virtualenv.vim b/autoload/airline/extensions/virtualenv.vim index 00a0c02..0364434 100644 --- a/autoload/airline/extensions/virtualenv.vim +++ b/autoload/airline/extensions/virtualenv.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + let s:spc = g:airline_symbols.space function! airline#extensions#virtualenv#init(ext) diff --git a/autoload/airline/extensions/whitespace.vim b/autoload/airline/extensions/whitespace.vim index 375a890..4c322dc 100644 --- a/autoload/airline/extensions/whitespace.vim +++ b/autoload/airline/extensions/whitespace.vim @@ -3,6 +3,8 @@ " http://got-ravings.blogspot.com/2008/10/vim-pr0n-statusline-whitespace-flags.html +scriptencoding utf-8 + let s:show_message = get(g:, 'airline#extensions#whitespace#show_message', 1) let s:symbol = get(g:, 'airline#extensions#whitespace#symbol', g:airline_symbols.whitespace) let s:default_checks = ['indent', 'trailing', 'mixed-indent-file'] diff --git a/autoload/airline/extensions/windowswap.vim b/autoload/airline/extensions/windowswap.vim index 7f26057..fde010d 100644 --- a/autoload/airline/extensions/windowswap.vim +++ b/autoload/airline/extensions/windowswap.vim @@ -1,5 +1,7 @@ " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + if !exists('g:loaded_windowswap') finish endif diff --git a/autoload/airline/extensions/wordcount.vim b/autoload/airline/extensions/wordcount.vim index 1a403ed..c0a821b 100644 --- a/autoload/airline/extensions/wordcount.vim +++ b/autoload/airline/extensions/wordcount.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + let s:filetypes = get(g:, 'airline#extensions#wordcount#filetypes', '\vhelp|markdown|rst|org|text|asciidoc') let s:format = get(g:, 'airline#extensions#wordcount#format', '%d words') let s:formatter = get(g:, 'airline#extensions#wordcount#formatter', 'default') diff --git a/autoload/airline/extensions/wordcount/formatters/default.vim b/autoload/airline/extensions/wordcount/formatters/default.vim index e652c9e..bb49c3f 100644 --- a/autoload/airline/extensions/wordcount/formatters/default.vim +++ b/autoload/airline/extensions/wordcount/formatters/default.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + function! airline#extensions#wordcount#formatters#default#format() let words = string(s:wordcount()) if empty(words) diff --git a/autoload/airline/extensions/ycm.vim b/autoload/airline/extensions/ycm.vim index 98defc5..a254b4b 100644 --- a/autoload/airline/extensions/ycm.vim +++ b/autoload/airline/extensions/ycm.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2015 Evgeny Firsov. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + let s:spc = g:airline_symbols.space let s:error_symbol = get(g:, 'airline#extensions#ycm#error_symbol', 'E:') let s:warning_symbol = get(g:, 'airline#extensions#ycm#warning_symbol', 'W:') diff --git a/autoload/airline/highlighter.vim b/autoload/airline/highlighter.vim index 58a481b..83560c9 100644 --- a/autoload/airline/highlighter.vim +++ b/autoload/airline/highlighter.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + let s:is_win32term = (has('win32') || has('win64')) && !has('gui_running') && (empty($CONEMUBUILD) || &term !=? 'xterm') let s:separators = {} diff --git a/autoload/airline/init.vim b/autoload/airline/init.vim index 1e824c6..e2a21eb 100644 --- a/autoload/airline/init.vim +++ b/autoload/airline/init.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + function! s:check_defined(variable, default) if !exists(a:variable) let {a:variable} = a:default diff --git a/autoload/airline/msdos.vim b/autoload/airline/msdos.vim index 92e9bb5..0757de5 100644 --- a/autoload/airline/msdos.vim +++ b/autoload/airline/msdos.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + " basic 16 msdos from MSDOS " see output of color, should be " 0 Black @@ -21,7 +23,7 @@ " 15 White let s:basic16 = [ - \ [ 0x00, 0x00, 0x00 ], + \ [ 0x00, 0x00, 0x00 ], \ [ 0x00, 0x00, 0x80 ], \ [ 0x00, 0x80, 0x00 ], \ [ 0x00, 0x80, 0x80 ], diff --git a/autoload/airline/parts.vim b/autoload/airline/parts.vim index 1f181e8..5638379 100644 --- a/autoload/airline/parts.vim +++ b/autoload/airline/parts.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + let s:parts = {} " PUBLIC API {{{ diff --git a/autoload/airline/section.vim b/autoload/airline/section.vim index cf6793e..8d08230 100644 --- a/autoload/airline/section.vim +++ b/autoload/airline/section.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + call airline#init#bootstrap() let s:spc = g:airline_symbols.space diff --git a/autoload/airline/themes.vim b/autoload/airline/themes.vim index 15db5ee..75c2f40 100644 --- a/autoload/airline/themes.vim +++ b/autoload/airline/themes.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + " generates a dictionary which defines the colors for each highlight group function! airline#themes#generate_color_map(sect1, sect2, sect3, ...) let palette = { diff --git a/autoload/airline/themes/dark.vim b/autoload/airline/themes/dark.vim index 217b2f1..44f4a1a 100644 --- a/autoload/airline/themes/dark.vim +++ b/autoload/airline/themes/dark.vim @@ -1,3 +1,5 @@ +scriptencoding utf-8 + " Each theme is contained in its own file and declares variables scoped to the " file. These variables represent the possible "modes" that airline can " detect. The mode is the return value of mode(), which gets converted to a diff --git a/autoload/airline/util.vim b/autoload/airline/util.vim index 157060f..56ca0ec 100644 --- a/autoload/airline/util.vim +++ b/autoload/airline/util.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + call airline#init#bootstrap() let s:spc = g:airline_symbols.space diff --git a/plugin/airline.vim b/plugin/airline.vim index a6da177..0590cf6 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -1,6 +1,8 @@ " MIT License. Copyright (c) 2013-2016 Bailey Ling. " vim: et ts=2 sts=2 sw=2 +scriptencoding utf-8 + if &cp || v:version < 702 || (exists('g:loaded_airline') && g:loaded_airline) finish endif