summaryrefslogtreecommitdiffstats
path: root/tv/pkgs/lentil/syntaxes.patch
blob: a9390ae511c7ba16685e72bac684360bd75fd9e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
diff -rN -u old-lentil/src/Lentil/Parse/Syntaxes.hs new-lentil/src/Lentil/Parse/Syntaxes.hs
--- old-lentil/src/Lentil/Parse/Syntaxes.hs	2015-07-20 23:15:38.600539779 +0200
+++ new-lentil/src/Lentil/Parse/Syntaxes.hs	2015-07-20 23:15:38.600539779 +0200
@@ -30,6 +30,7 @@
               | ext `elem` [".pas", ".pp", ".inc"] = Just pascal
               | ext `elem` [".py"]                 = Just python
               | ext `elem` [".rb"]                 = Just ruby
+              | ext `elem` [".nix"]                = Just perl -- Nix
               | ext `elem` [".pl", ".pm", ".t"]    = Just perl
               | ext `elem` [".sh"]                 = Just perl -- shell
               | ext `elem` [".txt"]                = Just text