diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 33aa1a779..69819fe79 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,3 +1,8 @@ + + + + + # Contributor Covenant Code of Conduct ## Our Pledge diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cd54fce28..629db9f81 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,3 +1,8 @@ + + + + + # Contributing to SpaceVim SpaceVim is an volunteer effort; we encourage you to pitch in. The community makes SpaceVim what it is. diff --git a/autoload/SpaceVim/api/bash/complete.vim b/autoload/SpaceVim/api/bash/complete.vim index a52f02137..67cdcccd5 100644 --- a/autoload/SpaceVim/api/bash/complete.vim +++ b/autoload/SpaceVim/api/bash/complete.vim @@ -1,3 +1,11 @@ +"============================================================================= +" complete.vim --- SpaceVim complete API for bash +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:self = {} let s:completer = fnamemodify(g:Config_Main_Home, ':p:h:h') . '/autoload/SpaceVim/bin/get_complete' diff --git a/autoload/SpaceVim/api/cmdlinemenu.vim b/autoload/SpaceVim/api/cmdlinemenu.vim index 025a202ee..588c667df 100644 --- a/autoload/SpaceVim/api/cmdlinemenu.vim +++ b/autoload/SpaceVim/api/cmdlinemenu.vim @@ -1,3 +1,10 @@ +"============================================================================= +" cmdlinemenu.vim --- SpaceVim cmdlinemenu API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= let s:api = {} diff --git a/autoload/SpaceVim/api/color.vim b/autoload/SpaceVim/api/color.vim index 6ac5a4da9..2e08b37b0 100644 --- a/autoload/SpaceVim/api/color.vim +++ b/autoload/SpaceVim/api/color.vim @@ -1,3 +1,10 @@ +"============================================================================= +" color.vim --- SpaceVim color API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= let s:self = {} let s:self._color_map = { diff --git a/autoload/SpaceVim/api/data/base64.vim b/autoload/SpaceVim/api/data/base64.vim index 1eb3815e3..b11605417 100644 --- a/autoload/SpaceVim/api/data/base64.vim +++ b/autoload/SpaceVim/api/data/base64.vim @@ -1,3 +1,11 @@ +"============================================================================= +" base64.vim --- SpaceVim base64 API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:self = {} let s:CMP = SpaceVim#api#import('vim#compatible') diff --git a/autoload/SpaceVim/api/data/dict.vim b/autoload/SpaceVim/api/data/dict.vim index f7d98022f..b4be70e08 100644 --- a/autoload/SpaceVim/api/data/dict.vim +++ b/autoload/SpaceVim/api/data/dict.vim @@ -1,3 +1,11 @@ +"============================================================================= +" dict.vim --- SpaceVim dict API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#api#data#dict#get() abort return map({ \ 'make' : '', diff --git a/autoload/SpaceVim/api/data/json.vim b/autoload/SpaceVim/api/data/json.vim index 625e188e8..dfb158e01 100644 --- a/autoload/SpaceVim/api/data/json.vim +++ b/autoload/SpaceVim/api/data/json.vim @@ -1,3 +1,11 @@ +"============================================================================= +" json.vim --- SpaceVim json API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:json = {} diff --git a/autoload/SpaceVim/api/data/list.vim b/autoload/SpaceVim/api/data/list.vim index 888948978..6cf5e3c20 100644 --- a/autoload/SpaceVim/api/data/list.vim +++ b/autoload/SpaceVim/api/data/list.vim @@ -1,3 +1,10 @@ +"============================================================================= +" list.vim --- SpaceVim list API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= function! SpaceVim#api#data#list#get() abort return map({'pop' : '', \ 'push' : '', diff --git a/autoload/SpaceVim/api/data/number.vim b/autoload/SpaceVim/api/data/number.vim index bab1cdb27..7a2dcf91c 100644 --- a/autoload/SpaceVim/api/data/number.vim +++ b/autoload/SpaceVim/api/data/number.vim @@ -1,3 +1,11 @@ +"============================================================================= +" number.vim --- SpaceVim number API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:save_cpo = &cpo set cpo&vim diff --git a/autoload/SpaceVim/api/data/string.vim b/autoload/SpaceVim/api/data/string.vim index 424061cc2..1d774d30a 100644 --- a/autoload/SpaceVim/api/data/string.vim +++ b/autoload/SpaceVim/api/data/string.vim @@ -1,3 +1,11 @@ +"============================================================================= +" string.vim --- SpaceVim string API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:file = {} function! s:trim(str) abort diff --git a/autoload/SpaceVim/api/file.vim b/autoload/SpaceVim/api/file.vim index 11fb0f1fd..87513c391 100644 --- a/autoload/SpaceVim/api/file.vim +++ b/autoload/SpaceVim/api/file.vim @@ -1,3 +1,10 @@ +"============================================================================= +" file.vim --- SpaceVim file API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= scriptencoding utf-8 let s:file = {} let s:system = SpaceVim#api#import('system') diff --git a/autoload/SpaceVim/api/job.vim b/autoload/SpaceVim/api/job.vim index 12324053f..6ec4f0ecc 100644 --- a/autoload/SpaceVim/api/job.vim +++ b/autoload/SpaceVim/api/job.vim @@ -1,3 +1,10 @@ +"============================================================================= +" job.vim --- SpaceVim job API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= function! SpaceVim#api#job#get() abort return deepcopy(s:self) endfunction diff --git a/autoload/SpaceVim/api/logger.vim b/autoload/SpaceVim/api/logger.vim index beb1fa3fc..b2d61a346 100644 --- a/autoload/SpaceVim/api/logger.vim +++ b/autoload/SpaceVim/api/logger.vim @@ -1,4 +1,10 @@ - +"============================================================================= +" logger.vim --- SpaceVim logger API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= let s:self = { \ 'name' : '', \ 'silent' : 1, diff --git a/autoload/SpaceVim/api/messletters.vim b/autoload/SpaceVim/api/messletters.vim index 929af2c8f..6646013e3 100644 --- a/autoload/SpaceVim/api/messletters.vim +++ b/autoload/SpaceVim/api/messletters.vim @@ -1,3 +1,10 @@ +"============================================================================= +" messletters.vim --- SpaceVim messletters API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= scriptencoding utf-8 let s:chars = {} " type : diff --git a/autoload/SpaceVim/api/password.vim b/autoload/SpaceVim/api/password.vim index 7756b8052..2a60c6232 100644 --- a/autoload/SpaceVim/api/password.vim +++ b/autoload/SpaceVim/api/password.vim @@ -1,3 +1,10 @@ +"============================================================================= +" password.vim --- SpaceVim password API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= let s:self = {} let s:NUMBER = SpaceVim#api#import('data#number') diff --git a/autoload/SpaceVim/api/prompt.vim b/autoload/SpaceVim/api/prompt.vim index fabfa6a1e..6d00d7e27 100644 --- a/autoload/SpaceVim/api/prompt.vim +++ b/autoload/SpaceVim/api/prompt.vim @@ -1,3 +1,11 @@ +"============================================================================= +" prompt.vim --- SpaceVim prompt API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + "" " @section prompt, api-prompt " @parentsection api diff --git a/autoload/SpaceVim/api/system.vim b/autoload/SpaceVim/api/system.vim index 0a902c7c6..53448178d 100644 --- a/autoload/SpaceVim/api/system.vim +++ b/autoload/SpaceVim/api/system.vim @@ -1,3 +1,10 @@ +"============================================================================= +" system.vim --- SpaceVim system API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= scriptencoding utf-8 let s:system = {} diff --git a/autoload/SpaceVim/api/time.vim b/autoload/SpaceVim/api/time.vim index 518e22fe8..df431e91a 100644 --- a/autoload/SpaceVim/api/time.vim +++ b/autoload/SpaceVim/api/time.vim @@ -1,3 +1,10 @@ +"============================================================================= +" time.vim --- SpaceVim time API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= let s:self = {} " see: man 3 strftime diff --git a/autoload/SpaceVim/api/transient_state.vim b/autoload/SpaceVim/api/transient_state.vim index d3bf3e6f5..0791fffa5 100644 --- a/autoload/SpaceVim/api/transient_state.vim +++ b/autoload/SpaceVim/api/transient_state.vim @@ -1,3 +1,11 @@ +"============================================================================= +" transient_state.vim --- SpaceVim transient_state API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:self = {} let s:self._keys = {} diff --git a/autoload/SpaceVim/api/unicode/box.vim b/autoload/SpaceVim/api/unicode/box.vim index 3c97bd2c8..f2a0b8d82 100644 --- a/autoload/SpaceVim/api/unicode/box.vim +++ b/autoload/SpaceVim/api/unicode/box.vim @@ -1,3 +1,11 @@ +"============================================================================= +" box.vim --- SpaceVim box API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:box = {} let s:json = SpaceVim#api#import('data#json') let s:string = SpaceVim#api#import('data#string') diff --git a/autoload/SpaceVim/api/unicode/icon.vim b/autoload/SpaceVim/api/unicode/icon.vim index d020f9943..474355b74 100644 --- a/autoload/SpaceVim/api/unicode/icon.vim +++ b/autoload/SpaceVim/api/unicode/icon.vim @@ -1,3 +1,11 @@ +"============================================================================= +" icon.vim --- SpaceVim icon API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + scriptencoding utf-8 let s:self = {} diff --git a/autoload/SpaceVim/api/vim/buffer.vim b/autoload/SpaceVim/api/vim/buffer.vim index 637eda32c..61bd42534 100644 --- a/autoload/SpaceVim/api/vim/buffer.vim +++ b/autoload/SpaceVim/api/vim/buffer.vim @@ -1,3 +1,11 @@ +"============================================================================= +" buffer.vim --- SpaceVim buffer API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:self = {} diff --git a/autoload/SpaceVim/api/vim/command.vim b/autoload/SpaceVim/api/vim/command.vim index f68f8c801..0aefde062 100644 --- a/autoload/SpaceVim/api/vim/command.vim +++ b/autoload/SpaceVim/api/vim/command.vim @@ -1,3 +1,11 @@ +"============================================================================= +" command.vim --- SpaceVim command API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:self = {} let s:self.options = {} diff --git a/autoload/SpaceVim/api/vim/compatible.vim b/autoload/SpaceVim/api/vim/compatible.vim index 619c2716a..3042aada6 100644 --- a/autoload/SpaceVim/api/vim/compatible.vim +++ b/autoload/SpaceVim/api/vim/compatible.vim @@ -1,3 +1,10 @@ +"============================================================================= +" compatible.vim --- SpaceVim compatible API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= function! SpaceVim#api#vim#compatible#get() abort return map({ \ 'execute' : '', diff --git a/autoload/SpaceVim/api/vim/highlight.vim b/autoload/SpaceVim/api/vim/highlight.vim index 90f2be9fe..3231fdf84 100644 --- a/autoload/SpaceVim/api/vim/highlight.vim +++ b/autoload/SpaceVim/api/vim/highlight.vim @@ -1,3 +1,11 @@ +"============================================================================= +" highlight.vim --- SpaceVim highlight API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:self = {} function! s:self.group2dict(name) abort diff --git a/autoload/SpaceVim/api/vim/key.vim b/autoload/SpaceVim/api/vim/key.vim index c0c737b5f..882bea5f4 100644 --- a/autoload/SpaceVim/api/vim/key.vim +++ b/autoload/SpaceVim/api/vim/key.vim @@ -1,3 +1,11 @@ +"============================================================================= +" key.vim --- SpaceVim key API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:self = {} let s:specified_keys = { diff --git a/autoload/SpaceVim/api/vim/mapping.vim b/autoload/SpaceVim/api/vim/mapping.vim index d387e51d2..ebffeff1c 100644 --- a/autoload/SpaceVim/api/vim/mapping.vim +++ b/autoload/SpaceVim/api/vim/mapping.vim @@ -1,3 +1,11 @@ +"============================================================================= +" mapping.vim --- SpaceVim mapping API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:VIM = SpaceVim#api#import('vim#compatible') function! SpaceVim#api#vim#mapping#get() abort diff --git a/autoload/SpaceVim/api/vim/message.vim b/autoload/SpaceVim/api/vim/message.vim index 2ad179aab..f3b7adc72 100644 --- a/autoload/SpaceVim/api/vim/message.vim +++ b/autoload/SpaceVim/api/vim/message.vim @@ -1,10 +1,10 @@ -" ============================================================================ -" File: message.vim -" Description: vim#message api of SpaceVim -" Author: L-stt -" Website: https://spacevim.org -" License: GPLv3 -" ============================================================================ +"============================================================================= +" message.vim --- SpaceVim message API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= "" " @section vim#message, api-vim-message diff --git a/autoload/SpaceVim/api/vim/sid.vim b/autoload/SpaceVim/api/vim/sid.vim index 8a804d6d3..5b6773447 100644 --- a/autoload/SpaceVim/api/vim/sid.vim +++ b/autoload/SpaceVim/api/vim/sid.vim @@ -1,10 +1,10 @@ -" ============================================================================ -" File: sid.vim -" Description: vim#sid api of SpaceVim -" Author: L-stt -" Website: https://spacevim.org -" License: GPLv3 -" ============================================================================ +"============================================================================= +" sid.vim --- SpaceVim SID API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= "" " @section sid, api-vim-sid diff --git a/autoload/SpaceVim/api/vim/signatures.vim b/autoload/SpaceVim/api/vim/signatures.vim index b8aff723e..52b6e2697 100644 --- a/autoload/SpaceVim/api/vim/signatures.vim +++ b/autoload/SpaceVim/api/vim/signatures.vim @@ -1,3 +1,10 @@ +"============================================================================= +" signatures.vim --- SpaceVim signatures API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= let s:self = {} let s:self.id = [] function! s:self.info(line, col, message) abort diff --git a/autoload/SpaceVim/api/vim/statusline.vim b/autoload/SpaceVim/api/vim/statusline.vim index f09628452..264c799da 100644 --- a/autoload/SpaceVim/api/vim/statusline.vim +++ b/autoload/SpaceVim/api/vim/statusline.vim @@ -1,3 +1,11 @@ +"============================================================================= +" statusline.vim --- SpaceVim statusline API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:self = {} diff --git a/autoload/SpaceVim/api/vim/tab.vim b/autoload/SpaceVim/api/vim/tab.vim index 2df7352cf..035be84cb 100644 --- a/autoload/SpaceVim/api/vim/tab.vim +++ b/autoload/SpaceVim/api/vim/tab.vim @@ -1,3 +1,11 @@ +"============================================================================= +" tab.vim --- SpaceVim tab API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:self = {} let s:self._tree = {} diff --git a/autoload/SpaceVim/api/web/html.vim b/autoload/SpaceVim/api/web/html.vim index 4b4d152de..cee6cc2f2 100644 --- a/autoload/SpaceVim/api/web/html.vim +++ b/autoload/SpaceVim/api/web/html.vim @@ -1,3 +1,11 @@ +"============================================================================= +" html.vim --- SpaceVim html API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:save_cpo = &cpo set cpo&vim diff --git a/autoload/SpaceVim/api/web/http.vim b/autoload/SpaceVim/api/web/http.vim index 9b548e498..b9f57762a 100644 --- a/autoload/SpaceVim/api/web/http.vim +++ b/autoload/SpaceVim/api/web/http.vim @@ -1,3 +1,11 @@ +"============================================================================= +" http.vim --- SpaceVim http API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:save_cpo = &cpo set cpo&vim diff --git a/autoload/SpaceVim/api/web/xml.vim b/autoload/SpaceVim/api/web/xml.vim index aa59fb853..92676bbff 100644 --- a/autoload/SpaceVim/api/web/xml.vim +++ b/autoload/SpaceVim/api/web/xml.vim @@ -1,3 +1,11 @@ +"============================================================================= +" xml.vim --- SpaceVim xml API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:save_cpo = &cpo set cpo&vim diff --git a/autoload/SpaceVim/commands.vim b/autoload/SpaceVim/commands.vim index acabd7448..71847814a 100644 --- a/autoload/SpaceVim/commands.vim +++ b/autoload/SpaceVim/commands.vim @@ -1,3 +1,11 @@ +"============================================================================= +" commands.vim --- commands in SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#commands#load() abort "" " Load exist layer, {layers} can be a string of a layer name, or a list diff --git a/autoload/SpaceVim/custom.vim b/autoload/SpaceVim/custom.vim index a79c96eec..9212ea833 100644 --- a/autoload/SpaceVim/custom.vim +++ b/autoload/SpaceVim/custom.vim @@ -1,3 +1,11 @@ +"============================================================================= +" custom.vim --- custom API in SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#custom#profile(dict) abort for key in keys(a:dict) call s:set(key, a:dict[key]) diff --git a/autoload/SpaceVim/default.vim b/autoload/SpaceVim/default.vim index 6ccc9bd86..becc15851 100644 --- a/autoload/SpaceVim/default.vim +++ b/autoload/SpaceVim/default.vim @@ -1,3 +1,11 @@ +"============================================================================= +" default.vim --- default options in SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + scriptencoding utf-8 function! SpaceVim#default#SetOptions() abort " basic vim settiing diff --git a/autoload/SpaceVim/health.vim b/autoload/SpaceVim/health.vim index ad823f61c..43a2bc0fd 100644 --- a/autoload/SpaceVim/health.vim +++ b/autoload/SpaceVim/health.vim @@ -1,3 +1,11 @@ +"============================================================================= +" health.vim --- SpaceVim health checker +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#health#report() abort let items = map(SpaceVim#util#globpath(&rtp,'autoload/SpaceVim/health/*'), "fnamemodify(v:val,':t:r')") let report = [] diff --git a/autoload/SpaceVim/health/clipboard.vim b/autoload/SpaceVim/health/clipboard.vim index ae8c4f6cc..20c485232 100644 --- a/autoload/SpaceVim/health/clipboard.vim +++ b/autoload/SpaceVim/health/clipboard.vim @@ -1,3 +1,11 @@ +"============================================================================= +" clipboard.vim --- SpaceVim clipboard checker +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#health#clipboard#check() abort let result = ['SpaceVim clipboard support check report:'] call add(result, 'Checking +clipboard:') diff --git a/autoload/SpaceVim/health/environment.vim b/autoload/SpaceVim/health/environment.vim index e270db7ea..cef67fc43 100644 --- a/autoload/SpaceVim/health/environment.vim +++ b/autoload/SpaceVim/health/environment.vim @@ -1,3 +1,10 @@ +"============================================================================= +" environment.vim --- SpaceVim environment checker +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= function! SpaceVim#health#environment#check() abort let result = ['SpaceVim environment check report:'] call add(result, 'Current progpath: ' . v:progname . '(' . v:progpath . ')') diff --git a/autoload/SpaceVim/health/lua.vim b/autoload/SpaceVim/health/lua.vim index 385e93abc..4c4970a0a 100644 --- a/autoload/SpaceVim/health/lua.vim +++ b/autoload/SpaceVim/health/lua.vim @@ -1,3 +1,10 @@ +"============================================================================= +" lua.vim --- SpaceVim lua checker +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= function! SpaceVim#health#lua#check() abort let result = ['SpaceVim lua support check report:'] call add(result, 'Checking +lua:') diff --git a/autoload/SpaceVim/health/python.vim b/autoload/SpaceVim/health/python.vim index 94db2b48d..cff21eaf5 100644 --- a/autoload/SpaceVim/health/python.vim +++ b/autoload/SpaceVim/health/python.vim @@ -1,3 +1,10 @@ +"============================================================================= +" python.vim --- SpaceVim python checker +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= function! SpaceVim#health#python#check() abort let result = ['SpaceVim python support check report:'] if has('nvim') diff --git a/autoload/SpaceVim/issue.vim b/autoload/SpaceVim/issue.vim index 5e7bfd32d..1963de71a 100644 --- a/autoload/SpaceVim/issue.vim +++ b/autoload/SpaceVim/issue.vim @@ -1,3 +1,11 @@ +"============================================================================= +" issue.vim --- issue reporter for SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:CMP = SpaceVim#api#import('vim#compatible') function! SpaceVim#issue#report() abort diff --git a/autoload/SpaceVim/layers.vim b/autoload/SpaceVim/layers.vim index fabd7fa1c..c27b1c11a 100644 --- a/autoload/SpaceVim/layers.vim +++ b/autoload/SpaceVim/layers.vim @@ -1,3 +1,11 @@ +"============================================================================= +" layers.vim --- layers public API +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + "" " @section Layers, layers " SpaceVim support such layers: diff --git a/autoload/SpaceVim/layers/VersionControl.vim b/autoload/SpaceVim/layers/VersionControl.vim index 586487704..7092efdf8 100644 --- a/autoload/SpaceVim/layers/VersionControl.vim +++ b/autoload/SpaceVim/layers/VersionControl.vim @@ -1,3 +1,11 @@ +"============================================================================= +" VersionControl.vim --- SpaceVim version control layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#VersionControl#config() abort let g:_spacevim_mappings_space.g = get(g:_spacevim_mappings_space, 'g', {'name' : '+VersionControl/git'}) call SpaceVim#mapping#space#def('nnoremap', ['g', '.'], 'call call(' diff --git a/autoload/SpaceVim/layers/autocomplete.vim b/autoload/SpaceVim/layers/autocomplete.vim index 1a003d540..f6c005405 100644 --- a/autoload/SpaceVim/layers/autocomplete.vim +++ b/autoload/SpaceVim/layers/autocomplete.vim @@ -1,3 +1,11 @@ +"============================================================================= +" autocomplete.vim --- SpaceVim autocomplete layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + "" " @section autocomplete, autocomplete " @parentsection layers diff --git a/autoload/SpaceVim/layers/chat.vim b/autoload/SpaceVim/layers/chat.vim index d4c8d7f59..c93d3f769 100644 --- a/autoload/SpaceVim/layers/chat.vim +++ b/autoload/SpaceVim/layers/chat.vim @@ -1,3 +1,11 @@ +"============================================================================= +" chat.vim --- SpaceVim chat layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#chat#plugins() abort return [ \ ['vim-chat/vim-chat',{ 'merged' : 0, 'loadconf' : 1}], diff --git a/autoload/SpaceVim/layers/checkers.vim b/autoload/SpaceVim/layers/checkers.vim index 780ceebf1..ea40318ab 100644 --- a/autoload/SpaceVim/layers/checkers.vim +++ b/autoload/SpaceVim/layers/checkers.vim @@ -1,3 +1,11 @@ +"============================================================================= +" checkers.vim --- SpaceVim checkers layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + "" " @section checkers, layer-checkers " @parentsection layers diff --git a/autoload/SpaceVim/layers/chinese.vim b/autoload/SpaceVim/layers/chinese.vim index c3d96c848..487a81b2f 100644 --- a/autoload/SpaceVim/layers/chinese.vim +++ b/autoload/SpaceVim/layers/chinese.vim @@ -1,3 +1,12 @@ +"============================================================================= +" chinese.vim --- SpaceVim chinese layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + + function! SpaceVim#layers#chinese#plugins() abort let plugins = [ \ ['yianwillis/vimcdoc', {'merged' : 0}], diff --git a/autoload/SpaceVim/layers/colorscheme.vim b/autoload/SpaceVim/layers/colorscheme.vim index 7909a53c3..9e95c5e2f 100644 --- a/autoload/SpaceVim/layers/colorscheme.vim +++ b/autoload/SpaceVim/layers/colorscheme.vim @@ -1,3 +1,11 @@ +"============================================================================= +" colorscheme.vim --- SpaceVim colorscheme layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + "" " @section colorscheme, colorscheme " @parentsection layers diff --git a/autoload/SpaceVim/layers/core.vim b/autoload/SpaceVim/layers/core.vim index 034f36071..cd4adb827 100644 --- a/autoload/SpaceVim/layers/core.vim +++ b/autoload/SpaceVim/layers/core.vim @@ -1,3 +1,11 @@ +"============================================================================= +" core.vim --- SpaceVim core layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#core#plugins() abort return [ \ ['Shougo/vimproc.vim', {'build' : ['make']}], diff --git a/autoload/SpaceVim/layers/core/banner.vim b/autoload/SpaceVim/layers/core/banner.vim index 3975a78c1..d00150c31 100644 --- a/autoload/SpaceVim/layers/core/banner.vim +++ b/autoload/SpaceVim/layers/core/banner.vim @@ -1,3 +1,11 @@ +"============================================================================= +" banner.vim --- SpaceVim core#banner layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + scriptencoding utf-8 function! SpaceVim#layers#core#banner#config() abort let g:_spacevim_welcome_banners = [ diff --git a/autoload/SpaceVim/layers/core/statusline.vim b/autoload/SpaceVim/layers/core/statusline.vim index 6cedfc1e7..0e1250d38 100644 --- a/autoload/SpaceVim/layers/core/statusline.vim +++ b/autoload/SpaceVim/layers/core/statusline.vim @@ -1,10 +1,10 @@ -" ============================================================================ -" File: statusline.vim -" Description: SpaceVim core#statusline layer -" Author: Shidong Wang -" Website: https://spacevim.org -" License: GPLv3 -" ============================================================================ +"============================================================================= +" statusline.vim --- SpaceVim statusline +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= " statusline scriptencoding utf-8 diff --git a/autoload/SpaceVim/layers/core/tabline.vim b/autoload/SpaceVim/layers/core/tabline.vim index a0e59cb13..701115278 100644 --- a/autoload/SpaceVim/layers/core/tabline.vim +++ b/autoload/SpaceVim/layers/core/tabline.vim @@ -1,7 +1,7 @@ "============================================================================= -" tabline.vim --- core#tabline Layer file for SpaceVim -" Copyright (c) 2012-2016 Shidong Wang & Contributors -" Author: Shidong Wang < wsdjeg at 163.com > +" tabline.vim --- SpaceVim tabline +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > " URL: https://spacevim.org " License: GPLv3 "============================================================================= diff --git a/autoload/SpaceVim/layers/cscope.vim b/autoload/SpaceVim/layers/cscope.vim index aaf014dc9..823eb409f 100644 --- a/autoload/SpaceVim/layers/cscope.vim +++ b/autoload/SpaceVim/layers/cscope.vim @@ -1,3 +1,11 @@ +"============================================================================= +" cscope.vim --- SpaceVim cscope layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#cscope#plugins() abort let plugins = [ \ ['SpaceVim/cscope.vim'], diff --git a/autoload/SpaceVim/layers/ctrlp.vim b/autoload/SpaceVim/layers/ctrlp.vim index fe886ac2c..e50e85f3d 100644 --- a/autoload/SpaceVim/layers/ctrlp.vim +++ b/autoload/SpaceVim/layers/ctrlp.vim @@ -1,3 +1,11 @@ +"============================================================================= +" ctrlp.vim --- SpaceVim ctrlp layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#ctrlp#plugins() abort let plugins = [ \ ['ctrlpvim/ctrlp.vim', {'loadconf' : 1}], diff --git a/autoload/SpaceVim/layers/debug.vim b/autoload/SpaceVim/layers/debug.vim index 05a70400d..1b16ad6c5 100644 --- a/autoload/SpaceVim/layers/debug.vim +++ b/autoload/SpaceVim/layers/debug.vim @@ -1,3 +1,11 @@ +"============================================================================= +" debug.vim --- SpaceVim debug layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#debug#plugins() abort let plugins = [] call add(plugins,['idanarye/vim-vebugger', {'merged' : 0}]) diff --git a/autoload/SpaceVim/layers/default.vim b/autoload/SpaceVim/layers/default.vim index ffc4f07bd..508635c4a 100644 --- a/autoload/SpaceVim/layers/default.vim +++ b/autoload/SpaceVim/layers/default.vim @@ -1,3 +1,11 @@ +"============================================================================= +" default.vim --- SpaceVim default layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + "" " @section Default, default " @parentsection layers diff --git a/autoload/SpaceVim/layers/denite.vim b/autoload/SpaceVim/layers/denite.vim index e6b1dc591..50c03c004 100644 --- a/autoload/SpaceVim/layers/denite.vim +++ b/autoload/SpaceVim/layers/denite.vim @@ -1,3 +1,11 @@ +"============================================================================= +" denite.vim --- SpaceVim denite layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#denite#plugins() abort return [ \ ['Shougo/denite.nvim',{ 'merged' : 0, 'loadconf' : 1}], diff --git a/autoload/SpaceVim/layers/edit.vim b/autoload/SpaceVim/layers/edit.vim index f2964af02..027eb0324 100644 --- a/autoload/SpaceVim/layers/edit.vim +++ b/autoload/SpaceVim/layers/edit.vim @@ -1,3 +1,12 @@ +"============================================================================= +" edit.vim --- SpaceVim edit layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + + scriptencoding utf-8 let s:PASSWORD = SpaceVim#api#import('password') let s:NUMBER = SpaceVim#api#import('data#number') diff --git a/autoload/SpaceVim/layers/exprfold.vim b/autoload/SpaceVim/layers/exprfold.vim index 4e913bd3d..39ed6204b 100644 --- a/autoload/SpaceVim/layers/exprfold.vim +++ b/autoload/SpaceVim/layers/exprfold.vim @@ -1,3 +1,11 @@ +"============================================================================= +" exprfold.vim --- SpaceVim exprfold layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + "" " @section exprfold, layer-exprfold " @parentsection layers diff --git a/autoload/SpaceVim/layers/games.vim b/autoload/SpaceVim/layers/games.vim index e6c73191c..6450cb3b0 100644 --- a/autoload/SpaceVim/layers/games.vim +++ b/autoload/SpaceVim/layers/games.vim @@ -1,3 +1,11 @@ +"============================================================================= +" games.vim --- SpaceVim games layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#games#plugins() abort let plugins = [] call add(plugins, ['wsdjeg/vim2048', {'merged' : 0}]) diff --git a/autoload/SpaceVim/layers/git.vim b/autoload/SpaceVim/layers/git.vim index 577b12bde..51c88150e 100644 --- a/autoload/SpaceVim/layers/git.vim +++ b/autoload/SpaceVim/layers/git.vim @@ -1,3 +1,11 @@ +"============================================================================= +" git.vim --- SpaceVim git layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#git#plugins() abort let plugins = [ \ ['junegunn/gv.vim', { 'on_cmd' : ['GV']}], diff --git a/autoload/SpaceVim/layers/incsearch.vim b/autoload/SpaceVim/layers/incsearch.vim index a9af833c3..4eb8dd97c 100644 --- a/autoload/SpaceVim/layers/incsearch.vim +++ b/autoload/SpaceVim/layers/incsearch.vim @@ -1,3 +1,12 @@ +"============================================================================= +" incsearch.vim --- SpaceVim incsearch layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + + "" " @section incsearch, layer-incsearch " @parentsection layers diff --git a/autoload/SpaceVim/layers/indentmove.vim b/autoload/SpaceVim/layers/indentmove.vim index d3263582d..c4e50c538 100644 --- a/autoload/SpaceVim/layers/indentmove.vim +++ b/autoload/SpaceVim/layers/indentmove.vim @@ -1,3 +1,11 @@ +"============================================================================= +" indentmove.vim --- SpaceVim indentmove layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + "" " @section indentmove, layer-indentmove " @parentsection layers diff --git a/autoload/SpaceVim/layers/japanese.vim b/autoload/SpaceVim/layers/japanese.vim index 27045e064..ee55db917 100644 --- a/autoload/SpaceVim/layers/japanese.vim +++ b/autoload/SpaceVim/layers/japanese.vim @@ -1,3 +1,11 @@ +"============================================================================= +" japanese.vim --- SpaceVim japanese layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#japanese#plugins() abort return [ \ ['vim-jp/vimdoc-ja'], diff --git a/autoload/SpaceVim/layers/lang.vim b/autoload/SpaceVim/layers/lang.vim index 43064527b..ebf10f402 100644 --- a/autoload/SpaceVim/layers/lang.vim +++ b/autoload/SpaceVim/layers/lang.vim @@ -1,3 +1,11 @@ +"============================================================================= +" lang.vim --- SpaceVim lang layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#lang#plugins() abort let plugins = [ \ ['digitaltoad/vim-jade', { 'on_ft' : ['jade']}], diff --git a/autoload/SpaceVim/layers/lang/c.vim b/autoload/SpaceVim/layers/lang/c.vim index 73960ca33..12623a31f 100644 --- a/autoload/SpaceVim/layers/lang/c.vim +++ b/autoload/SpaceVim/layers/lang/c.vim @@ -1,3 +1,12 @@ +"============================================================================= +" c.vim --- SpaceVim lang#c layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + + "" " @section lang#c, layer-lang-c " @parentsection layers diff --git a/autoload/SpaceVim/layers/lang/clojure.vim b/autoload/SpaceVim/layers/lang/clojure.vim index 420437148..78e400bf6 100644 --- a/autoload/SpaceVim/layers/lang/clojure.vim +++ b/autoload/SpaceVim/layers/lang/clojure.vim @@ -1,3 +1,11 @@ +"============================================================================= +" clojure.vim --- SpaceVim lang#clojure layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#lang#clojure#plugins() abort let plugins = [] if has('nvim') diff --git a/autoload/SpaceVim/layers/lang/crystal.vim b/autoload/SpaceVim/layers/lang/crystal.vim index 9640eb81e..257cab036 100644 --- a/autoload/SpaceVim/layers/lang/crystal.vim +++ b/autoload/SpaceVim/layers/lang/crystal.vim @@ -1,3 +1,11 @@ +"============================================================================= +" crystal.vim --- SpaceVim lang#crystal layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + "" " @section lang#crystal, layer-lang-crystal " @parentsection layers diff --git a/autoload/SpaceVim/layers/lang/dart.vim b/autoload/SpaceVim/layers/lang/dart.vim index 7b5754915..841eb2eec 100644 --- a/autoload/SpaceVim/layers/lang/dart.vim +++ b/autoload/SpaceVim/layers/lang/dart.vim @@ -1,3 +1,11 @@ +"============================================================================= +" dart.vim --- SpaceVim lang#dart layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#lang#dart#plugins() abort let plugins = [] call add(plugins, ['dart-lang/dart-vim-plugin', {'merged' : 0}]) diff --git a/autoload/SpaceVim/layers/lang/elixir.vim b/autoload/SpaceVim/layers/lang/elixir.vim index 454ea55e1..6bb7f9f45 100644 --- a/autoload/SpaceVim/layers/lang/elixir.vim +++ b/autoload/SpaceVim/layers/lang/elixir.vim @@ -1,3 +1,11 @@ +"============================================================================= +" elixir.vim --- SpaceVim lang#elixir layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + "" " @section lang#elixir, layer-lang-elixir " @parentsection layers diff --git a/autoload/SpaceVim/layers/lang/go.vim b/autoload/SpaceVim/layers/lang/go.vim index 4d12a6920..12e060d79 100644 --- a/autoload/SpaceVim/layers/lang/go.vim +++ b/autoload/SpaceVim/layers/lang/go.vim @@ -1,3 +1,11 @@ +"============================================================================= +" go.vim --- SpaceVim lang#go layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + "" " @section lang#go, layer-lang-go " @parentsection layers diff --git a/autoload/SpaceVim/layers/lang/haskell.vim b/autoload/SpaceVim/layers/lang/haskell.vim index 0c63b9443..4952fe3cf 100644 --- a/autoload/SpaceVim/layers/lang/haskell.vim +++ b/autoload/SpaceVim/layers/lang/haskell.vim @@ -1,3 +1,11 @@ +"============================================================================= +" haskell.vim --- SpaceVim lang#haskell layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#lang#haskell#plugins() abort let plugins = [ \ ['neovimhaskell/haskell-vim', { 'on_ft': 'haskell' }], diff --git a/autoload/SpaceVim/layers/lang/html.vim b/autoload/SpaceVim/layers/lang/html.vim index d0f349e67..f5ffd7a3e 100644 --- a/autoload/SpaceVim/layers/lang/html.vim +++ b/autoload/SpaceVim/layers/lang/html.vim @@ -1,3 +1,11 @@ +"============================================================================= +" html.vim --- SpaceVim lang#html layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#lang#html#plugins() abort let plugins = [ \ ['groenewege/vim-less', { 'on_ft' : ['less']}], diff --git a/autoload/SpaceVim/layers/lang/java.vim b/autoload/SpaceVim/layers/lang/java.vim index b49ac41e9..ad55618a5 100644 --- a/autoload/SpaceVim/layers/lang/java.vim +++ b/autoload/SpaceVim/layers/lang/java.vim @@ -1,3 +1,11 @@ +"============================================================================= +" java.vim --- SpaceVim lang#java layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + "" " @section lang#java, layer-lang-java " @parentsection layers diff --git a/autoload/SpaceVim/layers/lang/javascript.vim b/autoload/SpaceVim/layers/lang/javascript.vim index 2f877362c..b12dcfc4e 100644 --- a/autoload/SpaceVim/layers/lang/javascript.vim +++ b/autoload/SpaceVim/layers/lang/javascript.vim @@ -1,3 +1,11 @@ +"============================================================================= +" javascript.vim --- SpaceVim lang#javascript layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#lang#javascript#plugins() abort let plugins = [ \ ['MaxMEllon/vim-jsx-pretty', { 'on_ft': 'javascript' }], diff --git a/autoload/SpaceVim/layers/lang/julia.vim b/autoload/SpaceVim/layers/lang/julia.vim index 4691ac194..530f7747b 100644 --- a/autoload/SpaceVim/layers/lang/julia.vim +++ b/autoload/SpaceVim/layers/lang/julia.vim @@ -5,6 +5,7 @@ " URL: https://spacevim.org " License: GPLv3 "============================================================================= + "" " @section lang#julia, layer-lang-julia " @parentsection layers diff --git a/autoload/SpaceVim/layers/lang/kotlin.vim b/autoload/SpaceVim/layers/lang/kotlin.vim index 48693faa0..ba9a3a7ee 100644 --- a/autoload/SpaceVim/layers/lang/kotlin.vim +++ b/autoload/SpaceVim/layers/lang/kotlin.vim @@ -1,3 +1,11 @@ +"============================================================================= +" kotlin.vim --- SpaceVim lang#kotlin layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + "" " @section lang#kotlin, layer-lang-kotlin " @parentsection layers diff --git a/autoload/SpaceVim/layers/lang/lisp.vim b/autoload/SpaceVim/layers/lang/lisp.vim index fa013613a..dfe3d2e29 100644 --- a/autoload/SpaceVim/layers/lang/lisp.vim +++ b/autoload/SpaceVim/layers/lang/lisp.vim @@ -1,3 +1,12 @@ +"============================================================================= +" lisp.vim --- SpaceVim lang#lisp layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + + function! SpaceVim#layers#lang#lisp#plugins() abort let plugins = [] call add(plugins,['l04m33/vlime', {'on_ft' : 'lisp', 'rtp': 'vim'}]) diff --git a/autoload/SpaceVim/layers/lang/lua.vim b/autoload/SpaceVim/layers/lang/lua.vim index b7ba2c180..53b3bd38b 100644 --- a/autoload/SpaceVim/layers/lang/lua.vim +++ b/autoload/SpaceVim/layers/lang/lua.vim @@ -1,3 +1,11 @@ +"============================================================================= +" lua.vim --- SpaceVim lang#lua layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + "" " @section lang#lua, layer-lang-lua " @parentsection layers diff --git a/autoload/SpaceVim/layers/lang/ocaml.vim b/autoload/SpaceVim/layers/lang/ocaml.vim index 8a97e385e..00e6258c3 100644 --- a/autoload/SpaceVim/layers/lang/ocaml.vim +++ b/autoload/SpaceVim/layers/lang/ocaml.vim @@ -1,3 +1,12 @@ +"============================================================================= +" ocaml.vim --- SpaceVim lang#ocaml layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + + "" " @section lang#ocaml, layer-lang-ocaml " @parentsection layers diff --git a/autoload/SpaceVim/layers/lang/perl.vim b/autoload/SpaceVim/layers/lang/perl.vim index df14988d9..519c8598e 100644 --- a/autoload/SpaceVim/layers/lang/perl.vim +++ b/autoload/SpaceVim/layers/lang/perl.vim @@ -1,3 +1,12 @@ +"============================================================================= +" perl.vim --- SpaceVim lang#perl layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + + function! SpaceVim#layers#lang#perl#plugins() abort let plugins = [] call add(plugins, ['WolfgangMehner/perl-support', {'on_ft' : 'perl'}]) diff --git a/autoload/SpaceVim/layers/lang/pony.vim b/autoload/SpaceVim/layers/lang/pony.vim index 335253be8..4407e5dc3 100644 --- a/autoload/SpaceVim/layers/lang/pony.vim +++ b/autoload/SpaceVim/layers/lang/pony.vim @@ -1,7 +1,7 @@ "============================================================================= -" pony.vim --- pony Layer file for SpaceVim -" Copyright (c) 2012-2016 kShidong Wang & Contributors -" Author: Bambang Purnomsoidi D. P, < bambangpdp at gmail.com > +" pony.vim --- SpaceVim lang#pony layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > " URL: https://spacevim.org " License: GPLv3 "============================================================================= diff --git a/autoload/SpaceVim/layers/lang/ps1.vim b/autoload/SpaceVim/layers/lang/ps1.vim index b75bc26be..2b6df02dc 100644 --- a/autoload/SpaceVim/layers/lang/ps1.vim +++ b/autoload/SpaceVim/layers/lang/ps1.vim @@ -1,3 +1,12 @@ +"============================================================================= +" ps1.vim --- SpaceVim lang#ps1 layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + + function! SpaceVim#layers#lang#ps1#plugins() abort let plugins = [] call add(plugins, ['PProvost/vim-ps1']) diff --git a/autoload/SpaceVim/layers/lang/puppet.vim b/autoload/SpaceVim/layers/lang/puppet.vim index 092f4a0c9..0db59d4e1 100644 --- a/autoload/SpaceVim/layers/lang/puppet.vim +++ b/autoload/SpaceVim/layers/lang/puppet.vim @@ -1,3 +1,11 @@ +"============================================================================= +" puppet.vim --- SpaceVim lang#puppet layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + "" " @section lang#puppet, layer-lang-puppet " @parentsection layers diff --git a/autoload/SpaceVim/layers/lang/python.vim b/autoload/SpaceVim/layers/lang/python.vim index 2fd349ff2..bcb4e0e5a 100644 --- a/autoload/SpaceVim/layers/lang/python.vim +++ b/autoload/SpaceVim/layers/lang/python.vim @@ -1,3 +1,11 @@ +"============================================================================= +" python.vim --- SpaceVim lang#python layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + "" " @section lang#python, layer-lang-python " @parentsection layers diff --git a/autoload/SpaceVim/layers/lang/rust.vim b/autoload/SpaceVim/layers/lang/rust.vim index 16e6d5ff0..a978f4e03 100644 --- a/autoload/SpaceVim/layers/lang/rust.vim +++ b/autoload/SpaceVim/layers/lang/rust.vim @@ -1,3 +1,12 @@ +"============================================================================= +" rust.vim --- SpaceVim lang#rust layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + + "" " @section lang#rust, layer-lang-rust " @parentsection layers diff --git a/autoload/SpaceVim/layers/lang/scala.vim b/autoload/SpaceVim/layers/lang/scala.vim index f618b1a1e..822c3057d 100644 --- a/autoload/SpaceVim/layers/lang/scala.vim +++ b/autoload/SpaceVim/layers/lang/scala.vim @@ -1,3 +1,11 @@ +"============================================================================= +" scala.vim --- SpaceVim lang#scala layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + "" " @section lang#scala, layer-lang-scala " @parentsection layers diff --git a/autoload/SpaceVim/layers/lang/sh.vim b/autoload/SpaceVim/layers/lang/sh.vim index 3fab71c25..a10134793 100644 --- a/autoload/SpaceVim/layers/lang/sh.vim +++ b/autoload/SpaceVim/layers/lang/sh.vim @@ -1,3 +1,11 @@ +"============================================================================= +" sh.vim --- SpaceVim lang#sh layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#lang#sh#plugins() abort let l:plugins = [] call add(l:plugins, ['chrisbra/vim-zsh', { 'on_ft' : 'zsh' }]) diff --git a/autoload/SpaceVim/layers/lang/solidity.vim b/autoload/SpaceVim/layers/lang/solidity.vim index 2cc8a7a3a..02a64eb61 100644 --- a/autoload/SpaceVim/layers/lang/solidity.vim +++ b/autoload/SpaceVim/layers/lang/solidity.vim @@ -1,3 +1,11 @@ +"============================================================================= +" solidity.vim --- SpaceVim solidity layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#lang#solidity#plugins() abort let plugins = [ \ ['tomlion/vim-solidity', {'merged' : 0, 'on_ft' : 'solidity'}] diff --git a/autoload/SpaceVim/layers/lang/swig.vim b/autoload/SpaceVim/layers/lang/swig.vim index 6b842acba..539c00eef 100644 --- a/autoload/SpaceVim/layers/lang/swig.vim +++ b/autoload/SpaceVim/layers/lang/swig.vim @@ -1,3 +1,12 @@ +"============================================================================= +" swig.vim --- SpaceVim lang#swig layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + + function! SpaceVim#layers#lang#swig#plugins() abort let plugins = [] call add(plugins, ['SpaceVim/vim-swig']) diff --git a/autoload/SpaceVim/layers/lang/tmux.vim b/autoload/SpaceVim/layers/lang/tmux.vim index f0e4fe903..9124d8561 100644 --- a/autoload/SpaceVim/layers/lang/tmux.vim +++ b/autoload/SpaceVim/layers/lang/tmux.vim @@ -1,3 +1,12 @@ +"============================================================================= +" tmux.vim --- SpaceVim tmux layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + + "" " @section lang#tmux, layer-lang-tmux " @parentsection layers diff --git a/autoload/SpaceVim/layers/lang/vim.vim b/autoload/SpaceVim/layers/lang/vim.vim index 2188b66d6..1253d542b 100644 --- a/autoload/SpaceVim/layers/lang/vim.vim +++ b/autoload/SpaceVim/layers/lang/vim.vim @@ -1,3 +1,12 @@ +"============================================================================= +" vim.vim --- SpaceVim vim layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + + function! SpaceVim#layers#lang#vim#plugins() abort let plugins = [ \ ['syngan/vim-vimlint', { 'on_ft' : 'vim'}], diff --git a/autoload/SpaceVim/layers/lang/xml.vim b/autoload/SpaceVim/layers/lang/xml.vim index f06fdc557..3080f13b2 100644 --- a/autoload/SpaceVim/layers/lang/xml.vim +++ b/autoload/SpaceVim/layers/lang/xml.vim @@ -1,3 +1,12 @@ +"============================================================================= +" xml.vim --- SpaceVim lang#xml layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + + "" " @section lang#xml, layer-lang-xml " @parentsection layers diff --git a/autoload/SpaceVim/layers/lsp.vim b/autoload/SpaceVim/layers/lsp.vim index c863df4c6..25160b0d0 100644 --- a/autoload/SpaceVim/layers/lsp.vim +++ b/autoload/SpaceVim/layers/lsp.vim @@ -1,3 +1,11 @@ +"============================================================================= +" lsp.vim --- SpaceVim lsp layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#lsp#plugins() abort let plugins = [] diff --git a/autoload/SpaceVim/layers/mail.vim b/autoload/SpaceVim/layers/mail.vim index 3e6c32149..be3155d0b 100644 --- a/autoload/SpaceVim/layers/mail.vim +++ b/autoload/SpaceVim/layers/mail.vim @@ -1,3 +1,11 @@ +"============================================================================= +" mail.vim --- SpaceVim mail layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#mail#plugins() abort return [ \ ['vim-mail/vim-mail',{ 'merged' : 0, 'loadconf' : 1}], diff --git a/autoload/SpaceVim/layers/operator.vim b/autoload/SpaceVim/layers/operator.vim index 979ed6149..26db8e253 100644 --- a/autoload/SpaceVim/layers/operator.vim +++ b/autoload/SpaceVim/layers/operator.vim @@ -1,3 +1,11 @@ +"============================================================================= +" operator.vim --- SpaceVim operator layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + "" " @section operator, layer-operator " @parentsection layers diff --git a/autoload/SpaceVim/layers/shell.vim b/autoload/SpaceVim/layers/shell.vim index bd1c36b6c..941c61458 100644 --- a/autoload/SpaceVim/layers/shell.vim +++ b/autoload/SpaceVim/layers/shell.vim @@ -1,3 +1,11 @@ +"============================================================================= +" shell.vim --- SpaceVim shell layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + "" " @section shell, layer-shell " @parentsection layers diff --git a/autoload/SpaceVim/layers/tags.vim b/autoload/SpaceVim/layers/tags.vim index c79a7cb82..9cb50674a 100644 --- a/autoload/SpaceVim/layers/tags.vim +++ b/autoload/SpaceVim/layers/tags.vim @@ -1,3 +1,11 @@ +"============================================================================= +" tags.vim --- SpaceVim tags layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#tags#plugins() return [ \ ['ludovicchabant/vim-gutentags', {'merged' : 0}], diff --git a/autoload/SpaceVim/layers/tmux.vim b/autoload/SpaceVim/layers/tmux.vim index 229a96ecf..7d7452251 100644 --- a/autoload/SpaceVim/layers/tmux.vim +++ b/autoload/SpaceVim/layers/tmux.vim @@ -1,3 +1,11 @@ +"============================================================================= +" tmux.vim --- SpaceVim tmux layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + "" " @section tmux, layer-tmux " @parentsection layers diff --git a/autoload/SpaceVim/layers/tools.vim b/autoload/SpaceVim/layers/tools.vim index 3e627c777..8b4d8b6dd 100644 --- a/autoload/SpaceVim/layers/tools.vim +++ b/autoload/SpaceVim/layers/tools.vim @@ -1,3 +1,11 @@ +"============================================================================= +" tools.vim --- SpaceVim tools layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#tools#plugins() abort let plugins = [ \ ['tpope/vim-scriptease'], diff --git a/autoload/SpaceVim/layers/tools/screensaver.vim b/autoload/SpaceVim/layers/tools/screensaver.vim index 4f7183a3d..233266d23 100644 --- a/autoload/SpaceVim/layers/tools/screensaver.vim +++ b/autoload/SpaceVim/layers/tools/screensaver.vim @@ -1,3 +1,11 @@ +"============================================================================= +" screensaver.vim --- SpaceVim screensaver layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#tools#screensaver#plugins() abort let plugins = [] call add(plugins, ['itchyny/screensaver.vim', {'merged' : 0}]) diff --git a/autoload/SpaceVim/layers/ui.vim b/autoload/SpaceVim/layers/ui.vim index a9729d59b..d2fb57cb7 100644 --- a/autoload/SpaceVim/layers/ui.vim +++ b/autoload/SpaceVim/layers/ui.vim @@ -1,3 +1,11 @@ +"============================================================================= +" ui.vim --- SpaceVim ui layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + scriptencoding utf-8 function! SpaceVim#layers#ui#plugins() abort let plugins = [ diff --git a/autoload/SpaceVim/layers/unite.vim b/autoload/SpaceVim/layers/unite.vim index 69e905c89..74a7d1749 100644 --- a/autoload/SpaceVim/layers/unite.vim +++ b/autoload/SpaceVim/layers/unite.vim @@ -1,3 +1,11 @@ +"============================================================================= +" unite.vim --- SpaceVim unite layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#unite#plugins() abort let plugins = [ \ ['Shougo/unite.vim',{ 'merged' : 0 , 'loadconf' : 1}], diff --git a/autoload/SpaceVim/layers/vim.vim b/autoload/SpaceVim/layers/vim.vim index 9dbe5d62e..b91c93cb8 100644 --- a/autoload/SpaceVim/layers/vim.vim +++ b/autoload/SpaceVim/layers/vim.vim @@ -1,3 +1,11 @@ +"============================================================================= +" vim.vim --- SpaceVim vim layer +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#layers#vim#plugins() abort return [ \ ['Shougo/vimshell.vim', { 'on_cmd':['VimShell']}], diff --git a/autoload/SpaceVim/logger.vim b/autoload/SpaceVim/logger.vim index d1b69481e..c81711fb3 100644 --- a/autoload/SpaceVim/logger.vim +++ b/autoload/SpaceVim/logger.vim @@ -1,3 +1,11 @@ +"============================================================================= +" logger.vim --- SpaceVim logger +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:LOGGER = SpaceVim#api#import('logger') call s:LOGGER.set_name('SpaceVim') diff --git a/autoload/SpaceVim/lsp.vim b/autoload/SpaceVim/lsp.vim index a94c44da8..5c70745ab 100644 --- a/autoload/SpaceVim/lsp.vim +++ b/autoload/SpaceVim/lsp.vim @@ -5,6 +5,7 @@ " URL: https://spacevim.org " License: GPLv3 "============================================================================= + scriptencoding utf-8 if has('nvim') diff --git a/autoload/SpaceVim/mapping.vim b/autoload/SpaceVim/mapping.vim index 0c1912bf0..7be92cebe 100644 --- a/autoload/SpaceVim/mapping.vim +++ b/autoload/SpaceVim/mapping.vim @@ -1,3 +1,11 @@ +"============================================================================= +" mapping.vim --- mapping functions in SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + scriptencoding utf-8 let s:BUFFER = SpaceVim#api#import('vim#buffer') diff --git a/autoload/SpaceVim/mapping/enter.vim b/autoload/SpaceVim/mapping/enter.vim index 26d4432a8..c0894d564 100644 --- a/autoload/SpaceVim/mapping/enter.vim +++ b/autoload/SpaceVim/mapping/enter.vim @@ -1,4 +1,10 @@ - +"============================================================================= +" enter.vim --- Enter key bindings +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= if g:spacevim_snippet_engine ==# 'neosnippet' function! SpaceVim#mapping#enter#i_enter() abort if pumvisible() diff --git a/autoload/SpaceVim/mapping/frequency.vim b/autoload/SpaceVim/mapping/frequency.vim index 83b24d2ef..906330bd1 100644 --- a/autoload/SpaceVim/mapping/frequency.vim +++ b/autoload/SpaceVim/mapping/frequency.vim @@ -1,3 +1,11 @@ +"============================================================================= +" frequency.vim --- key frequency plugin +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:data = {} function! SpaceVim#mapping#frequency#update(key, rhs) abort diff --git a/autoload/SpaceVim/mapping/g.vim b/autoload/SpaceVim/mapping/g.vim index 25b0ba381..285f2b0ea 100644 --- a/autoload/SpaceVim/mapping/g.vim +++ b/autoload/SpaceVim/mapping/g.vim @@ -1,3 +1,11 @@ +"============================================================================= +" g.vim --- g key bindings +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#mapping#g#init() abort nnoremap [g] :LeaderGuide "g" nmap g [g] diff --git a/autoload/SpaceVim/mapping/gd.vim b/autoload/SpaceVim/mapping/gd.vim index 72c39f0ec..dab5a55a4 100644 --- a/autoload/SpaceVim/mapping/gd.vim +++ b/autoload/SpaceVim/mapping/gd.vim @@ -1,3 +1,11 @@ +"============================================================================= +" gd.vim --- gd key binding +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:gd = {} function! SpaceVim#mapping#gd#add(ft, func) abort call extend(s:gd,{a:ft : a:func}) diff --git a/autoload/SpaceVim/mapping/guide.vim b/autoload/SpaceVim/mapping/guide.vim index 622ca28f2..3f026cfb6 100644 --- a/autoload/SpaceVim/mapping/guide.vim +++ b/autoload/SpaceVim/mapping/guide.vim @@ -1,7 +1,7 @@ "============================================================================= -" guide.vim --- mappings guide helper for SpaceVim -" Copyright (c) 2016-2017 Shidong Wang & Contributors -" Author: Shidong Wang < wsdjeg at 163.com > +" guide.vim --- key binding guide for SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > " URL: https://spacevim.org " License: GPLv3 "============================================================================= diff --git a/autoload/SpaceVim/mapping/guide/theme.vim b/autoload/SpaceVim/mapping/guide/theme.vim index 6454232f0..162176d6b 100644 --- a/autoload/SpaceVim/mapping/guide/theme.vim +++ b/autoload/SpaceVim/mapping/guide/theme.vim @@ -1,3 +1,11 @@ +"============================================================================= +" theme.vim --- theme API for SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#mapping#guide#theme#hi() abort let name = get(g:, 'colors_name', 'gruvbox') try diff --git a/autoload/SpaceVim/mapping/guide/theme/NeoSolarized.vim b/autoload/SpaceVim/mapping/guide/theme/NeoSolarized.vim index 6154c517e..310b21ad9 100644 --- a/autoload/SpaceVim/mapping/guide/theme/NeoSolarized.vim +++ b/autoload/SpaceVim/mapping/guide/theme/NeoSolarized.vim @@ -1,3 +1,11 @@ +"============================================================================= +" NeoSolarized.vim --- NeoSolarized theme for SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#mapping#guide#theme#NeoSolarized#palette() abort return SpaceVim#mapping#guide#theme#solarized#palette() endfunction diff --git a/autoload/SpaceVim/mapping/guide/theme/gruvbox.vim b/autoload/SpaceVim/mapping/guide/theme/gruvbox.vim index 456c4d6a7..0842f1d11 100644 --- a/autoload/SpaceVim/mapping/guide/theme/gruvbox.vim +++ b/autoload/SpaceVim/mapping/guide/theme/gruvbox.vim @@ -1,3 +1,11 @@ +"============================================================================= +" gruvbox.vim --- gruvbox theme for SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + " the theme colors should be " [ " \ [ a_guifg, a_guibg, a_ctermfg, a_ctermbg], diff --git a/autoload/SpaceVim/mapping/guide/theme/molokai.vim b/autoload/SpaceVim/mapping/guide/theme/molokai.vim index d8b78b83c..23a59d70c 100644 --- a/autoload/SpaceVim/mapping/guide/theme/molokai.vim +++ b/autoload/SpaceVim/mapping/guide/theme/molokai.vim @@ -1,3 +1,11 @@ +"============================================================================= +" molokai.vim --- molokai theme for SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#mapping#guide#theme#molokai#palette() abort return [ \ ['#080808', '#e6db74', 144, 232], diff --git a/autoload/SpaceVim/mapping/guide/theme/nord.vim b/autoload/SpaceVim/mapping/guide/theme/nord.vim index f53609a5a..c2654938a 100644 --- a/autoload/SpaceVim/mapping/guide/theme/nord.vim +++ b/autoload/SpaceVim/mapping/guide/theme/nord.vim @@ -1,3 +1,11 @@ +"============================================================================= +" nord.vim --- nord theme for SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + " fg,bg, cbg,cfg function! SpaceVim#mapping#guide#theme#nord#palette() abort return [ diff --git a/autoload/SpaceVim/mapping/guide/theme/one.vim b/autoload/SpaceVim/mapping/guide/theme/one.vim index 17b9dd2bc..e45e82f12 100644 --- a/autoload/SpaceVim/mapping/guide/theme/one.vim +++ b/autoload/SpaceVim/mapping/guide/theme/one.vim @@ -1,3 +1,11 @@ +"============================================================================= +" one.vim --- one theme for SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#mapping#guide#theme#one#palette() abort return [ \ ['#2c323c', '#98c379', 114, 16], diff --git a/autoload/SpaceVim/mapping/guide/theme/onedark.vim b/autoload/SpaceVim/mapping/guide/theme/onedark.vim index a561cfd11..e12895ff5 100644 --- a/autoload/SpaceVim/mapping/guide/theme/onedark.vim +++ b/autoload/SpaceVim/mapping/guide/theme/onedark.vim @@ -1,3 +1,11 @@ +"============================================================================= +" onedark.vim --- onedark theme for SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + " fg,bg, cbg,cfg function! SpaceVim#mapping#guide#theme#onedark#palette() abort return [ diff --git a/autoload/SpaceVim/mapping/guide/theme/solarized.vim b/autoload/SpaceVim/mapping/guide/theme/solarized.vim index 7301c66a7..f7e49bae5 100644 --- a/autoload/SpaceVim/mapping/guide/theme/solarized.vim +++ b/autoload/SpaceVim/mapping/guide/theme/solarized.vim @@ -1,3 +1,12 @@ +"============================================================================= +" solarized.vim --- solarized theme for SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + + " the theme colors should be " [ " \ [ a_guifg, a_guibg, a_ctermbg, a_ctermfg], diff --git a/autoload/SpaceVim/mapping/search.vim b/autoload/SpaceVim/mapping/search.vim index 2bd3ba5af..02479e9b0 100644 --- a/autoload/SpaceVim/mapping/search.vim +++ b/autoload/SpaceVim/mapping/search.vim @@ -1,3 +1,11 @@ +"============================================================================= +" search.vim --- search tools in SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:search_tools = {} let s:search_tools.namespace = { \ 'rg' : 'r', diff --git a/autoload/SpaceVim/mapping/space.vim b/autoload/SpaceVim/mapping/space.vim index 343304a95..5280c0f3b 100644 --- a/autoload/SpaceVim/mapping/space.vim +++ b/autoload/SpaceVim/mapping/space.vim @@ -1,3 +1,11 @@ +"============================================================================= +" space.vim --- Space key bindings +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:file = expand(':~') function! SpaceVim#mapping#space#init() abort let g:_spacevim_mappings_space = {} diff --git a/autoload/SpaceVim/mapping/tab.vim b/autoload/SpaceVim/mapping/tab.vim index 7d7bbb3d2..6a8bbb5c8 100644 --- a/autoload/SpaceVim/mapping/tab.vim +++ b/autoload/SpaceVim/mapping/tab.vim @@ -1,3 +1,11 @@ +"============================================================================= +" tab.vim --- tab key binding +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + if g:spacevim_snippet_engine ==# 'neosnippet' function! SpaceVim#mapping#tab#i_tab() abort if getline('.')[col('.')-2] ==# '{'&& pumvisible() diff --git a/autoload/SpaceVim/mapping/z.vim b/autoload/SpaceVim/mapping/z.vim index efe8d5092..5d4d6b019 100644 --- a/autoload/SpaceVim/mapping/z.vim +++ b/autoload/SpaceVim/mapping/z.vim @@ -1,3 +1,11 @@ +"============================================================================= +" z.vim --- z key bindings +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#mapping#z#init() abort "{{{ nnoremap [z] :LeaderGuide "z" nmap z [z] diff --git a/autoload/SpaceVim/options.vim b/autoload/SpaceVim/options.vim index a0a938265..484c389a8 100644 --- a/autoload/SpaceVim/options.vim +++ b/autoload/SpaceVim/options.vim @@ -1,3 +1,11 @@ +"============================================================================= +" options.vim --- options function in SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#options#list() abort let list = [] if has('patch-7.4.2010') && 0 diff --git a/autoload/SpaceVim/plugins.vim b/autoload/SpaceVim/plugins.vim index 3375e6951..6dc74ee5b 100644 --- a/autoload/SpaceVim/plugins.vim +++ b/autoload/SpaceVim/plugins.vim @@ -1,3 +1,11 @@ +"============================================================================= +" plugins.vim --- plugin wrapper +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + scriptencoding utf-8 function! SpaceVim#plugins#load() abort if zvim#plug#enable_plug() diff --git a/autoload/SpaceVim/plugins/bashcomplete.vim b/autoload/SpaceVim/plugins/bashcomplete.vim index a650515e1..385aa5150 100644 --- a/autoload/SpaceVim/plugins/bashcomplete.vim +++ b/autoload/SpaceVim/plugins/bashcomplete.vim @@ -1,3 +1,11 @@ +"============================================================================= +" bashcomplete.vim --- bash complete for SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:BASH_COMPLETE = SpaceVim#api#import('bash#complete') diff --git a/autoload/SpaceVim/plugins/gitcommit.vim b/autoload/SpaceVim/plugins/gitcommit.vim index 981dd2ee5..e02021e2e 100644 --- a/autoload/SpaceVim/plugins/gitcommit.vim +++ b/autoload/SpaceVim/plugins/gitcommit.vim @@ -1,3 +1,11 @@ +"============================================================================= +" gitcommit.vim --- git commit plugin for SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:pr_kind = g:spacevim_gitcommit_pr_icon let s:issue_kind = g:spacevim_gitcommit_issue_icon let s:cache = {} diff --git a/autoload/SpaceVim/plugins/help.vim b/autoload/SpaceVim/plugins/help.vim index 35e6a7da5..a192f33f4 100644 --- a/autoload/SpaceVim/plugins/help.vim +++ b/autoload/SpaceVim/plugins/help.vim @@ -1,3 +1,11 @@ +"============================================================================= +" help.vim --- help plugin for SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:KEY = SpaceVim#api#import('vim#key') let s:key_describ = {} diff --git a/autoload/SpaceVim/plugins/quickfix.vim b/autoload/SpaceVim/plugins/quickfix.vim index c9e6fad0f..df68ca22a 100644 --- a/autoload/SpaceVim/plugins/quickfix.vim +++ b/autoload/SpaceVim/plugins/quickfix.vim @@ -1,3 +1,11 @@ +"============================================================================= +" quickfix.vim --- quickfix for SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:qflist = [] let s:qf_title = '' diff --git a/autoload/SpaceVim/plugins/searcher.vim b/autoload/SpaceVim/plugins/searcher.vim index 90189b6ac..70c8fed78 100644 --- a/autoload/SpaceVim/plugins/searcher.vim +++ b/autoload/SpaceVim/plugins/searcher.vim @@ -1,3 +1,11 @@ +"============================================================================= +" searcher.vim --- project searcher for SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:JOB = SpaceVim#api#import('job') let s:rst = [] diff --git a/autoload/SpaceVim/plugins/tabmanager.vim b/autoload/SpaceVim/plugins/tabmanager.vim index 52fe6f72d..4fea6d4bc 100644 --- a/autoload/SpaceVim/plugins/tabmanager.vim +++ b/autoload/SpaceVim/plugins/tabmanager.vim @@ -1,3 +1,11 @@ +"============================================================================= +" tabmanager.vim --- tab manager for SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + scriptencoding utf-8 " APIs let s:BUFFER = SpaceVim#api#import('vim#buffer') diff --git a/autoload/SpaceVim/plugins/windowsmanager.vim b/autoload/SpaceVim/plugins/windowsmanager.vim index 21739e43e..e7ebc1400 100644 --- a/autoload/SpaceVim/plugins/windowsmanager.vim +++ b/autoload/SpaceVim/plugins/windowsmanager.vim @@ -1,3 +1,11 @@ +"============================================================================= +" windowsmanager.vim --- windows manager for SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:TAB = SpaceVim#api#import('vim#tab') let s:restore_windows_stack = [] diff --git a/autoload/SpaceVim/util.vim b/autoload/SpaceVim/util.vim index 98147154a..a76963067 100644 --- a/autoload/SpaceVim/util.vim +++ b/autoload/SpaceVim/util.vim @@ -1,3 +1,11 @@ +"============================================================================= +" util.vim --- SpaceVim utils +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! SpaceVim#util#globpath(path, expr) abort if has('patch-7.4.279') return globpath(a:path, a:expr, 1, 1) diff --git a/autoload/airline/extensions/tabline/formatters/spacevim.vim b/autoload/airline/extensions/tabline/formatters/spacevim.vim index 124ab66a7..8a29cec97 100644 --- a/autoload/airline/extensions/tabline/formatters/spacevim.vim +++ b/autoload/airline/extensions/tabline/formatters/spacevim.vim @@ -1,7 +1,7 @@ "============================================================================= " spacevim.vim --- buffer name formatter for airline -" Copyright (c) 2016-2017 Shidong Wang & Contributors -" Author: Shidong Wang < wsdjeg at 163.com > +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > " URL: https://spacevim.org " License: GPLv3 "============================================================================= diff --git a/autoload/leaderf/colorscheme/spacevim.vim b/autoload/leaderf/colorscheme/spacevim.vim index 45336baf1..530d4d87f 100644 --- a/autoload/leaderf/colorscheme/spacevim.vim +++ b/autoload/leaderf/colorscheme/spacevim.vim @@ -1,9 +1,9 @@ " ============================================================================ -" File: spacevim.vim -" Description: colorscheme for leaderf -" Author: Shidong Wang -" Website: https://github.com/wsdjeg -" License: GPLv3 +" spacevim.vim --- leaderf theme for SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 " ============================================================================ let s:palette = { diff --git a/autoload/vimfiler/columns/filetypeicon.vim b/autoload/vimfiler/columns/filetypeicon.vim index 29c8c9ba5..8d29067fc 100644 --- a/autoload/vimfiler/columns/filetypeicon.vim +++ b/autoload/vimfiler/columns/filetypeicon.vim @@ -1,3 +1,11 @@ +"============================================================================= +" filetypeicon.vim --- filetypeicon support for vimfiler +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:save_cpo = &cpo set cpo&vim scriptencoding utf-8 diff --git a/autoload/vimfiler/columns/gitstatus.vim b/autoload/vimfiler/columns/gitstatus.vim index 269a0bffc..b286c37ab 100644 --- a/autoload/vimfiler/columns/gitstatus.vim +++ b/autoload/vimfiler/columns/gitstatus.vim @@ -1,3 +1,11 @@ +"============================================================================= +" gitstatus.vim --- git status support for vimfiler +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + let s:save_cpo = &cpo set cpo&vim scriptencoding utf-8 diff --git a/autoload/zvim.vim b/autoload/zvim.vim index e5e65866a..7748ca990 100644 --- a/autoload/zvim.vim +++ b/autoload/zvim.vim @@ -1,3 +1,11 @@ +"============================================================================= +" zvim.vim --- zvim wrapper +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + function! zvim#tab() abort if getline('.')[col('.')-2] ==# '{'&& pumvisible() return "\" diff --git a/filetype.vim b/filetype.vim index a5b741389..339a574be 100644 --- a/filetype.vim +++ b/filetype.vim @@ -1,3 +1,11 @@ +"============================================================================= +" filetype.vim --- filetype detect for SpaceVim +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + au BufRead,BufNewFile *.rs set filetype=rust au BufNewFile,BufRead *.sol setf solidity diff --git a/ginit.vim b/ginit.vim index d456563ac..bc1abdf4f 100644 --- a/ginit.vim +++ b/ginit.vim @@ -1,3 +1,11 @@ +"============================================================================= +" ginit.vim --- Entry file for neovim-qt +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + if exists('g:GuiLoaded') if empty(g:spacevim_guifont) exe 'Guifont! DejaVu Sans Mono for Powerline:h11:cANSI:qDRAFT' diff --git a/init.vim b/init.vim index 2a9fe24d9..66a1a99d5 100644 --- a/init.vim +++ b/init.vim @@ -1,7 +1,7 @@ "============================================================================= " init.vim --- Entry file for neovim -" Copyright (c) 2016-2017 Shidong Wang & Contributors -" Author: Shidong Wang < wsdjeg at 163.com > +" Copyright (c) 2016-2017 Wang Shidong & Contributors +" Author: Wang Shidong < wsdjeg at 163.com > " URL: https://spacevim.org " License: GPLv3 "=============================================================================