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

Merge pull request #1889 from crisidev/master

Allow customization of vimfiler_quick_look_command
This commit is contained in:
Wang Shidong 2018-06-28 19:45:03 +08:00 committed by GitHub
commit 3b0b706fb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 5 deletions

View File

@ -22,12 +22,14 @@ let g:vimfiler_ignore_pattern = get(g:, 'vimfiler_ignore_pattern', [
\ '^\.'
\])
if has('mac')
let g:vimfiler_quick_look_command =
\ '/Applications//Sublime\ Text.app/Contents/MacOS/Sublime\ Text'
else
let g:vimfiler_quick_look_command = 'gloobus-preview'
if has('mac')
let g:vimfiler_quick_look_command =
\ get(g:, 'vimfiler_quick_look_command', 'qlmanage -p')
else
let g:vimfiler_quick_look_command =
\ get(g:, 'vimfiler_quick_look_command', 'gloobus-preview')
endif
function! s:setcolum() abort
if g:spacevim_enable_vimfiler_filetypeicon && !g:spacevim_enable_vimfiler_gitstatus
return 'filetypeicon'

View File

@ -15,6 +15,7 @@ The next release is v0.9.0.
### Changed
- Allow customization of vimfiler_quick_look_command ([#1889](https://github.com/SpaceVim/pull/1889))
- Change the option name `enable_statusline_display_mode` to `enable_statusline_mode` ([#1843](https://github.com/SpaceVim/SpaceVim/pull/1843))
- Recover spell and list option in go layer ([#1872](https://github.com/SpaceVim/SpaceVim/pull/1872))