enable minimal syntax highlighting
This commit is contained in:
@@ -21,7 +21,8 @@
|
||||
"first-line-regex": "^#!.*\\bnix-shell\\b.*$",
|
||||
"content-regex": "^\b$nix-shell wraps other languages so intentionally fail against (and yield to) those other language matches",
|
||||
"injection-regex": "^(nix[-_]?shell)$",
|
||||
"scope": "source.nix_shell"
|
||||
"scope": "source.nix_shell",
|
||||
"highlights": [ "queries/highlights.scm" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
1
queries/highlights.scm
Normal file
1
queries/highlights.scm
Normal file
@@ -0,0 +1 @@
|
||||
(nix_shell_directive) @keyword
|
Reference in New Issue
Block a user