1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 07:10:06 +08:00

Add file header

This commit is contained in:
wsdjeg 2017-12-12 16:32:21 +08:00
parent 4604e4fb34
commit 23324197ca
3 changed files with 24 additions and 0 deletions

View File

@ -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('<sfile>'),
\ ':p:h:gs?\\?'.((has('win16') || has('win32')
\ || has('win64'))?'\':'/') . '?')

View File

@ -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('<sfile>'), ':h').'/config/main.vim'

8
vimrc
View File

@ -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('<sfile>'), ':h').'/config/main.vim'