[TODO] [pending popularity] add extension nimf for Nim #4327
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
/cc @pchaigno
Description
Note 1: the
nimf
extension (for source code filter Nim files) was previously calledtmpl
but that was causing confusion because the extensiontmpl
was too generic and also didn't match the other Nim extensions (nim, nims, nimble, nim.cfg), so nim-lang/Nim#9658 was recently merged to change thetmpl
extension tonimf
(while retaining backward compatibility); note that currentlynimf
is only used here: https://github.com/search?q=extension%3Animf+stdtmpl&type=Code ; but the old extensiontmpl
(which fits the same purpose asnimf
) is used in more places, see https://github.com/search?q=extension%3Atmpl+stdtmpl&type=Code ; the plan is to gradually migrate the files usingtmpl
extension tonimf
, and having it supported in linguist will provide extra incentive for the migration (eg syntax highlight), although linguist integration wasn't the only reason for the tmpl=>nimf change.Note 2:
nimf
doesn't look like it's being used for anything but Nim source code filtersChecklist:
https://github.com/search?q=extension%3Animf+stdtmpl&type=Code