mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated plugins
This commit is contained in:
@ -23,16 +23,9 @@ if exists( "&background" )
|
||||
let s:save_background = &background
|
||||
endif
|
||||
|
||||
" Save the current `textwidth'` value for reset later
|
||||
let s:save_textwidth = ""
|
||||
if exists( "&textwidth'" )
|
||||
let s:save_textwidth' = &textwidth'
|
||||
endif
|
||||
|
||||
function! s:markdown_room()
|
||||
set background=light
|
||||
set linespace=8
|
||||
set textwidth=80
|
||||
|
||||
hi Normal guibg=gray95
|
||||
hi NonText guifg=gray95
|
||||
@ -88,10 +81,6 @@ function! g:zenroom_goyo_after()
|
||||
if is_mark_or_rst
|
||||
set linespace=0
|
||||
|
||||
if s:save_textwidth != ""
|
||||
exec( "set textwidth=" . s:save_textwidth )
|
||||
endif
|
||||
|
||||
if s:save_background != ""
|
||||
exec( "set background=" . s:save_background )
|
||||
endif
|
||||
|
Reference in New Issue
Block a user