go-sqlite3 icon indicating copy to clipboard operation
go-sqlite3 copied to clipboard

GitHub linguist detect and display wrong source code language.

Open chinsyo opened this issue 4 years ago • 3 comments

C detected.

chinsyo avatar Sep 28 '21 10:09 chinsyo

@chinsyo What specifically is the issue?

rittneje avatar Oct 01 '21 02:10 rittneje

@chinsyo Most of the code is written in C: https://github.com/mattn/go-sqlite3/blob/master/sqlite3-binding.c

d-Rickyy-b avatar Oct 15 '21 12:10 d-Rickyy-b

I think to be specific, the solution is to add a .gitattributes like this:

sqlite3-binding.* linguist-vendored
sqlite3ext.h linguist-vendored

jamescostian avatar Oct 21 '21 01:10 jamescostian