dotfyle icon indicating copy to clipboard operation
dotfyle copied to clipboard

Plugin Language Detection Too Strict

Open Davidyz opened this issue 1 year ago • 2 comments

I have a neovim plugin written in lua, and it's hosted in the same repository as the CLI backend (written in Python) because it involves the use of a database that doesn't have proper API support and documents only exists for Python/typescript. The repo therefore contains more python code than lua, but the neovim plugin binding is pure lua. This plugin is currently marked as "The repository is not written in Lua" and cannot be saved.

The URL to the repo is https://github.com/Davidyz/VectorCode.

Davidyz avatar Jan 12 '25 15:01 Davidyz

One workaround is to add a .gitattributes file to the repository to disable specific files from being counted into Linguist statistics. For example:

*.py linguist-detectable=false

See https://github.com/github-linguist/linguist/blob/main/docs/overrides.md for details.

fei6409 avatar Aug 02 '25 15:08 fei6409

You will also be able to add it to Dorfyle by adding the plugin to the awesome-neovim repo as it is scraped weekly

codicocodes avatar Aug 05 '25 11:08 codicocodes