linguist icon indicating copy to clipboard operation
linguist copied to clipboard

Add support for `.nls` extension in NetLogo

Open danielvartan opened this issue 8 months ago • 1 comments

Description

Hi there,

I’d like to propose adding the .nls extension to the NetLogo language in linguist. This is an official NetLogo file type, but it's currently missing from languages.yml.

I've added heuristics to differentiate .nls files as NetLogo, TeX, or INI. Each pattern was tested individually, and all of them return results associated with the extension.

Thanks for considering this!

Checklist:

danielvartan avatar Aug 05 '25 05:08 danielvartan

Hi @lildude,

Thanks for pointing out the issue.

I've added heuristics to distinguish .nls files as NetLogo, TeX, or INI, along with two sample files for each type. I also updated the PR description and the checklist sections.

Let me know if any further changes are needed.

danielvartan avatar Aug 05 '25 23:08 danielvartan