diff --git a/config/main.vim b/config/main.vim index e37403453..32acd58bd 100644 --- a/config/main.vim +++ b/config/main.vim @@ -1,3 +1,11 @@ +"============================================================================= +" main.vim --- Main file of SpaceVim +" Copyright (c) 2016-2017 Shidong Wang & Contributors +" Author: Shidong Wang < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: MIT license +"============================================================================= + let g:Config_Main_Home = fnamemodify(expand(''), \ ':p:h:gs?\\?'.((has('win16') || has('win32') \ || has('win64'))?'\':'/') . '?') diff --git a/init.vim b/init.vim index de677ab68..c07eb98ef 100644 --- a/init.vim +++ b/init.vim @@ -1 +1,9 @@ +"============================================================================= +" init.vim --- Entry file for neovim +" Copyright (c) 2016-2017 Shidong Wang & Contributors +" Author: Shidong Wang < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: MIT license +"============================================================================= + execute 'source' fnamemodify(expand(''), ':h').'/config/main.vim' diff --git a/vimrc b/vimrc index d5b8bd5b7..268ae128a 100644 --- a/vimrc +++ b/vimrc @@ -1,3 +1,11 @@ +"============================================================================= +" vimrc --- Entry file for vim +" Copyright (c) 2016-2017 Shidong Wang & Contributors +" Author: Shidong Wang < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: MIT license +"============================================================================= + " Note: Skip initialization for vim-tiny or vim-small. if 1 execute 'source' fnamemodify(expand(''), ':h').'/config/main.vim'