Skip to content

Fix error on save when filename doesn't match filetype - #7

Open
mgedmin wants to merge 1 commit into
mitsuhiko:masterfrom
mgedmin:fix-error
Open

Fix error on save when filename doesn't match filetype#7
mgedmin wants to merge 1 commit into
mitsuhiko:masterfrom
mgedmin:fix-error

Conversation

@mgedmin

@mgedmin mgedmin commented Sep 17, 2016

Copy link
Copy Markdown

When a file has the .html extension but is not given the html filetype
(e.g. because it got the xhtml filetype), the BufWritePost autocommand
would try to unlet a non-existent variable, triggering error E108.

Fixes #6.

When a file has the .html extension but is not given the html filetype
(e.g. because it got the xhtml filetype), the BufWritePost autocommand
would try to unlet a non-existent variable, triggering error E108.

Fixes mitsuhiko#6.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant