Skip to content

Commit

Permalink
Bump version to 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
liuchengxu committed Dec 19, 2016
1 parent f10c47e commit dc541b7
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 9 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## [Unreleased]

## [0.4.0] - 2016.12.20

### Added

- LaTeX layer
Expand All @@ -12,6 +14,7 @@

- Replace vim-markdown-preview with vim-Xmark to markdown layer
- Replace bronson/vim-trailing-whitespace with ntpeters/vim-better-whitespace
- A lot of details

### Removed

Expand Down
2 changes: 1 addition & 1 deletion init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ scriptencoding utf-8

let g:spacevim_dir = $HOME.'/.space-vim'
let g:spacevim_core_dir = '/core'
let g:spacevim_version = '0.3.0'
let g:spacevim_version = '0.4.0'

call Source(g:spacevim_dir . g:spacevim_core_dir . '/core_config.vim')

Expand Down
2 changes: 1 addition & 1 deletion layers/+checkers/syntax-checking/config.vim
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if LayerLoaded('syntax-checking')
let g:ale_echo_msg_error_str = '✹ Error'
let g:ale_echo_msg_warning_str = '⚠ Warning'
let g:ale_echo_msg_format = '[#%linter%#] %s [%severity%]'
let g:ale_statusline_format = [' %d', '⚠ %d', '⬥ ok']
let g:ale_statusline_format = [' %d', '⚠ %d', '⬥ ok']
endif

" syntastic
Expand Down
38 changes: 32 additions & 6 deletions layers/+completion/unite/config.vim
Original file line number Diff line number Diff line change
@@ -1,17 +1,43 @@
scriptencoding utf-8
if LayerLoaded('unite')

" if ctrlp.vim {
" ctrlp.vim {
if IsDir('ctrlp.vim')
let g:ctrlp_working_path_mode = 'ra' " search for nearest ancestor like .git, .hg, and the directory of the current file
let g:ctrlp_match_window_bottom = 0 " show the match window at the top of the screen
let g:ctrlp_by_filename = 1
let g:ctrlp_max_height = 10 " maxiumum height of match window
let g:ctrlp_switch_buffer = 'et' " jump to a file if it's open already
let g:ctrlp_use_caching = 1 " enable caching
let g:ctrlp_clear_cache_on_exit=0 " speed up by not removing clearing cache evertime
let g:ctrlp_mruf_max = 250 " number of recently opened files
let g:ctrlp_map = '<c-p>'
let g:ctrlp_cmd = 'CtrlP'
let g:ctrlp_custom_ignore = {
\ 'dir': '\v[\/](node_modules|target|dist)|\.(git|hg|svn|rvm)$',
\ 'file': '\v\.(exe|so|dll|zip|tar|tar.gz)$',
\ }
let g:ctrlp_follow_symlinks=1
let g:ctrlp_mruf_relative = 1
let g:ctrlp_mruf_exclude = '/tmp/.*\|/temp/.*'
let g:ctrlp_custom_ignore = {
\ 'dir': '\v[\/]\.(git|hg|svn|build)$',
\ 'file': '\v\.(exe|so|dll|zip|tar|tar.gz)$',
\ 'link': 'SOME_BAD_SYMBOLIC_LINKS',
\ }
let g:ctrlp_match_window_bottom = 0 " show the match window at the top of the screen
let g:ctrlp_by_filename = 1
let g:ctrlp_max_height = 10 " maxiumum height of match window
let g:ctrlp_switch_buffer = 'et' " jump to a file if it's open already
let g:ctrlp_regexp = 1
" If ag available, use it to replace grep
if executable('ag')
" Use Ag over Grep
set grepprg=ag\ --nogroup\ --nocolor
" Use ag in CtrlP for listing files.
let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""'
" Ag is fast enough that CtrlP doesn't need to cache
let g:ctrlp_use_caching = 0
else
let g:ctrlp_user_command = ['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard']
endif

nnoremap <Leader>fr :CtrlPMRU<CR>
endif
" }
Expand Down Expand Up @@ -70,7 +96,7 @@ if LayerLoaded('unite')
let g:unite_source_menu_menus.f = {
\ 'description' : ' fzf.vim ⌘ [menu]f',
\}
" supported by fzf.vim
" supported by fzf layer
let g:unite_source_menu_menus.f.command_candidates = [
\['▷ ➞ Buffers',
\'Buffers'],
Expand Down
2 changes: 1 addition & 1 deletion layers/+vim/better-defaults/config.vim
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ endif
" %V Virtual column
" %P Percentage
" %#HighlightGroup#
set statusline=%<[%n]\ %F\ %m%r%y\ %{exists('g:loaded_fugitive')?fugitive#statusline():''}\ %=%-14.(%l,%c%V%)\ %P
set statusline=%<[%n]\ %F\ [%{exists('g:loaded_ale')?ALEGetStatusLine():''}]\ %m%r%y\ %{exists('g:loaded_fugitive')?fugitive#statusline():''}\ %=%-14.(%l,%c%V%)\ %P
silent! if emoji#available()
let s:ft_emoji = map({
\ 'c': 'baby_chick',
Expand Down
7 changes: 7 additions & 0 deletions layers/+vim/programming/config.vim
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ if LayerLoaded('programming')
\}
endif
" }

if IsDir('rainbow_parentheses.vim')
augroup rainbow_lisp
autocmd!
autocmd FileType lisp,clojure,scheme RainbowParentheses
augroup END
endif

" tagbar {
if IsDir('tagbar')
Expand Down
2 changes: 2 additions & 0 deletions layers/+vim/programming/packages.vim
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
MP 'luochen1990/rainbow'

MP 'junegunn/rainbow_parentheses.vim', { 'for': ['lisp', 'clojure', 'scheme'] }

" MP 'SirVer/ultisnips', { 'on': '<Plug>(tab)' }
MP 'SirVer/ultisnips'
MP 'honza/vim-snippets'
Expand Down

0 comments on commit dc541b7

Please sign in to comment.