preservim / nerdcommenter

Vim plugin for intensely nerdy commenting powers
Creative Commons Zero v1.0 Universal
4.97k stars 447 forks source link

Fortran is not supported #500

Closed Sunbuyu closed 1 year ago

Sunbuyu commented 1 year ago

Could you please add Fortran support? Fortran is often used in hpc, which involves high demand for this. Thanks a lot.

Sunbuyu commented 1 year ago

Sorry, I replaced '.f90' with '.F90' and it works now.

alerque commented 1 year ago

This plugin doesn't deal with suffixes or anything, it just goes by what the VIM filetype setting is. You could look into what is being used to detect fortran and whether the file extension should be case sensitive or not, but that's going to be in either VIM core runtimes or some other plugin, not this one.

Sunbuyu commented 1 year ago

This plugin doesn't deal with suffixes or anything, it just goes by what the VIM filetype setting is. You could look into what is being used to detect fortran and whether the file extension should be case sensitive or not, but that's going to be in either VIM core runtimes or some other plugin, not this one.

Thanks.