Set buffer modifiable and noreadonly
When using :Startify in an empty buffer (so no :enew is used), which is set to 'nomodifiable' or 'readonly', the plugin would throw errors. Closes https://github.com/mhinz/vim-startify/issues/406 Closes https://github.com/mhinz/vim-startify/issues/408
This commit is contained in:
parent
60bae7f08e
commit
2e610ac523
|
@ -67,11 +67,13 @@ function! startify#insane_in_the_membrane(on_vimenter) abort
|
||||||
\ colorcolumn=
|
\ colorcolumn=
|
||||||
\ foldcolumn=0
|
\ foldcolumn=0
|
||||||
\ matchpairs=
|
\ matchpairs=
|
||||||
|
\ modifiable
|
||||||
\ nobuflisted
|
\ nobuflisted
|
||||||
\ nocursorcolumn
|
\ nocursorcolumn
|
||||||
\ nocursorline
|
\ nocursorline
|
||||||
\ nolist
|
\ nolist
|
||||||
\ nonumber
|
\ nonumber
|
||||||
|
\ noreadonly
|
||||||
\ norelativenumber
|
\ norelativenumber
|
||||||
\ nospell
|
\ nospell
|
||||||
\ noswapfile
|
\ noswapfile
|
||||||
|
|
Loading…
Reference in a new issue