There is a file type for writing screenplays in (nearly) plain text called Fountain, and there is series of Vim plugins supporting writing in it. The main of them is
https://www.vim.org/scripts/script.php?script_id=3880, which is extremely stable and without much changes anymore (I have collected anything I could find in https://git.sr.ht/~mcepl/fountain.vim, but there is not much, and of course only .vim files are relevant here).
How complicated it would be to include basic file support (ftdetect/ and syntax/)? What’s the policy of new file type inclusion?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Typically people tend to open a PR against the runtime files to enhance the current filetype detection. If Fountain uses some specific (currently un-used) extensions you could propose the same here, if not, we would need to detect the filetype from the content heuristically. Check the output of git log --grep filetype: for previous/similar commits. Please don't forget to include tests for your changes. If you want to distribute new runtime files, please make sure to get an approval from the maintainer or volunteer to be the new maintainer (and mark it in the header of the runtime file you intend to main, similar to other files).
I typically do a review of those new additions, to check for obvious issues, but other that that it should be fine to include. Note your git.sr.ht link returns HTTP 502.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Concerning HTTP 502 … https://status.sr.ht/ I can see it now (even logged out), but there is not 100% stability right now.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()