Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve compatibility with Txtfmt plug-in
As I documented in a previous commit, the txtfmt plug-in can be used together with the notes.vim plug-in by setting the notes file type to "notes.txtfmt". This had the unfortunate side effect of making it impossible to save notes, because the notes plug-in checks in several places that &filetype == 'notes'. I've now changed the code to recognize the case where the &filetype option contains multiple file type names.
- Loading branch information
Showing
2 changed files
with
25 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters