cormullion / newlisp-projects

various bits of code in newLISP
26 stars 8 forks source link

Making linguist recognize newLisp #1

Open fernandocanizo opened 9 years ago

fernandocanizo commented 9 years ago

Hello Cormullion. You can make linguist recognize newlisp by changing your extensions (I had the same problem).

for f in *.lsp; do
   echo git mv $f ${f:0:-3}nl
done

Remove the echo, commit -a and push and you're good to go :)

cormullion commented 9 years ago

Heh, yes I added ".nl" as well as ".lsp" to the list of suffixes (somewhere here) and .nl looks to work, and hasn't been claimed by too any other languages. Although I'm tempted to stick to .lsp since the rest of the newLISP guys use it...

In fact, ".lsp" ought to work properly, since I added disambiguation code between Common Lisp and newLISP....

It's a pity it doesn't all "just work", but at least there's been some progress ...! :)

fernandocanizo commented 9 years ago

Maybe you're facing this issue: issue #2287 since your repo, as well as mine, haven't had updates in some time.

I've checked linguist code and it seems it's all in place to properly recognize newLisp via several methods, so it must be something related to events in time.

cormullion commented 9 years ago

Ah, interesting (if a bit dumb.. :). Will have to push some changes then...