Skip to content

If user has bg=NONE or bg="" on any of the four groups... #11

@averms

Description

@averms

The Restore functions will throw an exception, and the ones after the one that throws an exception will not get executed.

lite-dfm/plugin/litedfm.vim

Lines 143 to 152 in 9420ab6

try
execute s:Restore('LineNr')
execute s:Restore('CursorLineNR')
execute s:Restore('NonText')
execute s:Restore('FoldColumn')
catch /.*/
" Attempting to Restore values fails when they were never changed to begin
" with. This is VimScript, so we don't care and just swallow the
" exception.
endtry

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions