cpbotha / nvpy

Simplenote syncing note-taking application, inspired by Notational Velocity and ResophNotes, but uglier and cross-platformerer.
Other
849 stars 114 forks source link

[Feature]: Define filetypes in config #155

Closed kieranajp closed 5 years ago

kieranajp commented 6 years ago

This pull request adds support for defining the filetypes nvpy will read in when using notes_as_txt.

My use-case: I have a pretty extensive notes folder, built up over years of using various apps (including nvalt) - however, most of the files have .md extensions. Therefore, nvpy only read a small subset of my notes (those that had a .txt extension).

Now, the read_txt_extensions config item will allow the user to define which filetypes they want nvpy to display.