diff --git a/autoload/SpaceVim/api.vim b/autoload/SpaceVim/api.vim index 76fac3294..9894101d8 100644 --- a/autoload/SpaceVim/api.vim +++ b/autoload/SpaceVim/api.vim @@ -1,3 +1,11 @@ +" ============================================================================ +" File: api.vim +" Description: SpaceVim api core file +" Author: Shidong Wang +" Website: https://spacevim.org +" License: MIT +" ============================================================================ + "" " @section API, api " SpaceVim contains a variety of public apis. here is a list of all the apis. diff --git a/autoload/SpaceVim/autocmds.vim b/autoload/SpaceVim/autocmds.vim index c4806f18b..ca6fbe7f4 100644 --- a/autoload/SpaceVim/autocmds.vim +++ b/autoload/SpaceVim/autocmds.vim @@ -1,6 +1,14 @@ +"============================================================================= +" autocmd.vim --- main autocmd group for spacevim +" Copyright (c) 2016-2017 Shidong Wang & Contributors +" Author: Shidong Wang < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: MIT license +"============================================================================= + "autocmds function! SpaceVim#autocmds#init() abort - augroup My_autocmds + augroup SpaceVim_core au! autocmd BufWinEnter quickfix nnoremap \ q :cclose:lclose @@ -57,9 +65,6 @@ function! SpaceVim#autocmds#init() abort endif autocmd BufWritePost *.vim call s:generate_doc() autocmd FileType * set scrolloff=7 - augroup END - augroup SpaceVimInit - au! autocmd VimEnter * if !argc() | call SpaceVim#welcome() | endif augroup END endfunction diff --git a/autoload/airline/extensions/tabline/formatters/spacevim.vim b/autoload/airline/extensions/tabline/formatters/spacevim.vim index 01f4697fb..553b47f8f 100644 --- a/autoload/airline/extensions/tabline/formatters/spacevim.vim +++ b/autoload/airline/extensions/tabline/formatters/spacevim.vim @@ -1,3 +1,11 @@ +"============================================================================= +" spacevim.vim --- buffer name formatter for airline +" Copyright (c) 2016-2017 Shidong Wang & Contributors +" Author: Shidong Wang < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: MIT license +"============================================================================= + " @vimlint(EVL103, 1, a:buffers) function! airline#extensions#tabline#formatters#spacevim#format(bufnr, buffers) abort let g:_spacevim_list_buffers = a:buffers