Skip to content

Prepopulate blacklist variable #132

@xeruf

Description

@xeruf

I wanted to leave the original blacklist untouched and simply append a type (btw, even though it is a custom one from taskwarrior, you could add that in natively, because you should never highlight or strip white-space in that file - it is prepopulated with lots of trailing white-spaces and will be trimmed automatically on save):

let g:better_whitespace_filetypes_blacklist += ['taskedit']

But I got the error that the variable was undefined - how about predefining that variable so that we can extend it?
My concern here is that if you update the blacklist, I would have to manually update mine. Also DRY.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions