1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 20:30:05 +08:00

Fix indent

This commit is contained in:
wsdjeg 2017-03-06 23:26:26 +08:00
parent eb1293abf1
commit 5738064623
43 changed files with 1770 additions and 1694 deletions

View File

@ -407,3 +407,7 @@ endfunction
" >
" Add `let mapleader = "\<space>"` to `~/.SpaceVim.d/init.vim`
" <
" vim:set et sw=2:

View File

@ -6,3 +6,5 @@ function! SpaceVim#api#import(name) abort
endtry
return p
endfunction
" vim:set fdm=marker sw=2 nowrap:

View File

@ -102,3 +102,5 @@ let s:json['json_encode'] = function('s:json_encode')
function! SpaceVim#api#data#json#get() abort
return deepcopy(s:json)
endfunction
" vim:set et sw=2:

View File

@ -42,5 +42,4 @@ function! SpaceVim#api#data#string#get() abort
return deepcopy(s:file)
endfunction
" vim:set et sw=2:

View File

@ -179,5 +179,4 @@ function! SpaceVim#api#file#get() abort
return deepcopy(s:file)
endfunction
" vim:set et sw=2:

View File

@ -106,3 +106,4 @@ function! SpaceVim#api#messletters#get() abort
return deepcopy(s:chars)
endfunction
" vim:set et sw=2:

View File

@ -57,3 +57,5 @@ let s:system['fileformat'] = function('s:fileformat')
function! SpaceVim#api#system#get() abort
return deepcopy(s:system)
endfunction
" vim:set et sw=2:

View File

@ -79,3 +79,5 @@ let s:box['drawing_table'] = function('s:drawing_table')
function! SpaceVim#api#unicode#box#get() abort
return deepcopy(s:box)
endfunction
" vim:set et sw=2:

View File

@ -95,3 +95,5 @@ function! s:generate_doc() abort
call system('vimdoc .')
endif
endfunction
" vim:set et sw=2:

View File

@ -336,3 +336,5 @@ endf
function! SpaceVim#default#UseSimpleMode() abort
endfunction
" vim:set et sw=2:

View File

@ -16,3 +16,5 @@ function! SpaceVim#health#report() abort
endfor
return join(report, "\n")
endfunction
" vim:set et sw=2:

View File

@ -22,3 +22,5 @@ function! SpaceVim#health#clipboard#check() abort
return result
endfunction
" vim:set et sw=2:

View File

@ -16,3 +16,5 @@ function! SpaceVim#health#lua#check() abort
endif
return result
endfunction
" vim:set et sw=2:

View File

@ -39,3 +39,5 @@ function! SpaceVim#health#python#check() abort
endif
return result
endfunction
" vim:set et sw=2:

View File

@ -10,3 +10,5 @@ function! SpaceVim#layers#load(layer) abort
call add(g:spacevim_plugin_groups, a:layer)
endif
endfunction
" vim:set et sw=2:

View File

@ -90,3 +90,5 @@ function! SpaceVim#logger#echoWarn(msg) abort
echom s:warpMsg(a:msg, 1)
echohl None
endfunction
" vim:set et sw=2:

View File

@ -96,3 +96,5 @@ function! SpaceVim#mapping#vertical_split_previous_buffer() abort
e#
endif
endfunction
" vim:set et sw=2:

View File

@ -23,3 +23,5 @@ function! s:execute(cmd) abort
redir END
return split(output, "\n")
endfunction
" vim:set et sw=2:

View File

@ -62,3 +62,4 @@ function! SpaceVim#plugins#get(...) abort
endfunction
" vim:set et sw=2:

View File

@ -11,3 +11,5 @@ function! SpaceVim#util#echoWarn(msg) abort
echo a:msg
echohl None
endfunction
" vim:set et sw=2:

View File

@ -17,3 +17,6 @@ function! airline#extensions#tabline#formatters#spacevim#format(bufnr, buffers)
endif
endfunction
" @vimlint(EVL103, 0, a:buffers)
" vim:set et sw=2:

View File

@ -97,7 +97,7 @@ function! s:git_state_to_name(symb) abort
return 'Ignored'
else
return 'Unknown'
endif
endif
endfunction
@ -135,4 +135,4 @@ endfunction
let &cpo = s:save_cpo
unlet s:save_cpo
" vim: foldmethod=marker
" vim:set et sw=2:

View File

@ -105,3 +105,5 @@ function! s:search_line(path, term) abort "{{{
endif
return 0
endfunction "}}}
" vim:set et sw=2:

View File

@ -52,3 +52,5 @@ augroup Fix_command_in_help_buffer
autocmd FileType help exec 'nnoremap <buffer><silent><c-p> :<c-u>CtrlP ' . getcwd() .'<cr>'
au FileType help exec "nnoremap <silent><buffer> q :q<CR>"
augroup END
" vim:set et sw=2:

View File

@ -2,3 +2,5 @@ let g:deoplete#sources#clang#libclang_path =
\ get(g:, 'deoplete#sources#clang#libclang_path', '/usr/lib/libclang.so')
let g:deoplete#sources#clang#clang_header =
\ get(g:, 'deoplete#sources#clang#clang_header', '/usr/lib/clang/')
" vim:set et sw=2:

View File

@ -68,3 +68,5 @@ let g:deoplete#ignore_sources._ = ['around']
inoremap <expr><C-h> deoplete#mappings#smart_close_popup()."\<C-h>"
inoremap <expr><BS> deoplete#mappings#smart_close_popup()."\<C-h>"
set isfname-==
" vim:set et sw=2:

View File

@ -24,3 +24,5 @@ augroup goyo_map
autocmd! User GoyoEnter nested call <SID>goyo_enter()
autocmd! User GoyoLeave nested call <SID>goyo_leave()
augroup END
" vim:set et sw=2:

View File

@ -17,3 +17,5 @@ let g:javagetset_getterTemplate =
\ "%modifiers% %type% %funcname%(){\n" .
\ " return %varname%;\n" .
\ "}"
" vim:set et sw=2:

View File

@ -82,3 +82,5 @@ let g:neocomplcache_vim_completefuncs = {
\ 'VimFiler' : 'vimfiler#complete',
\ 'Vinarise' : 'vinarise#complete',
\}
" vim:set et sw=2:

View File

@ -45,3 +45,5 @@ inoremap <expr><C-h> neocomplete#smart_close_popup()."\<C-h>"
inoremap <expr><BS> neocomplete#smart_close_popup()."\<C-h>"
inoremap <expr><C-y> neocomplete#close_popup()
inoremap <expr><C-e> neocomplete#cancel_popup()
" vim:set et sw=2:

View File

@ -10,3 +10,4 @@ let g:neomake_warning_sign = {
\ 'text': get(g:,'spacevim_warning_symbol', '➤'),
\ 'texthl': (g:spacevim_colorscheme ==# 'gruvbox' ? 'GruvboxYellowSign' : 'todo'),
\ }
" vim:set et sw=2:

View File

@ -31,3 +31,5 @@ function! s:my_complete_done() abort "{{{
call neosnippet#view#_insert(snippet, {}, cur_text, col)
endif
endfunction"}}}
" vim:set et sw=2:

View File

@ -16,3 +16,5 @@ let g:syntastic_vimlint_options = {
\'EVL205': 1 ,
\'EVL105': 1 ,
\}
" vim:set et sw=2:

View File

@ -9,3 +9,5 @@ let g:Tlist_Show_One_File=0
let g:Tlist_File_Fold_Auto_Close=1
let g:Tlist_Exit_OnlyWindow=1
let g:Tlist_Show_Menu=1
" vim:set et sw=2:

View File

@ -7,3 +7,5 @@ vnoremap <leader>gd <ESC>:execute 'Unite -auto-preview -start-insert -no-split g
let g:unite_source_gtags_project_config = {
\ '_': { 'treelize': 0 }
\ }
" vim:set et sw=2:

View File

@ -286,3 +286,5 @@ function! s:unite_my_settings()
" Runs "split" action by <C-s>.
imap <silent><buffer><expr> <C-s> unite#do_action('split')
endfunction
" vim:set et sw=2:

View File

@ -83,3 +83,5 @@ if g:spacevim_enable_os_fileformat_icon
let s:sys = SpaceVim#api#import('system')
let g:airline_section_y = " %{&fenc . ' ' . SpaceVim#api#import('system').fileformat()} "
endif
" vim:set et sw=2:

View File

@ -32,3 +32,5 @@ nnoremap <Leader>re :<C-u>Ref webdict ej<Space>
nnoremap <Leader>rc :<C-u>Ref webdict cn<Space>
nnoremap <Leader>rw :<C-u>Ref webdict wikipedia:en<Space>
nnoremap <Leader>rb :<C-u>Ref webdict bing<Space>
" vim:set et sw=2:

View File

@ -51,3 +51,5 @@ augroup startify_map
autocmd FileType startify call <SID>startify_mapping()
autocmd FileType startify set scrolloff=0
augroup END
" vim:set et sw=2:

View File

@ -76,3 +76,5 @@ function! s:vimfilerinit()
nmap <buffer> <Tab> <Plug>(vimfiler_switch_to_other_window)
nmap <buffer> <C-r> <Plug>(vimfiler_redraw_screen)
endf
" vim:set et sw=2:

View File

@ -0,0 +1 @@
" vim:set et sw=2

View File

@ -1,4 +1,6 @@
if exists("g:GuiLoaded")
if exists('g:GuiLoaded')
exe 'Guifont! DejaVu Sans Mono for Powerline:h11:cANSI:qDRAFT'
endif
" vim:set et sw=2:

1
vimrc
View File

@ -2,3 +2,4 @@
if 1
execute 'source' fnamemodify(expand('<sfile>'), ':h').'/config/main.vim'
endif
" vim:set et sw=2