Skip to content

Commit d15b669

Browse files
committed
combine conflicting keywords
1 parent fd2f240 commit d15b669

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/js/keywords-regex.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"configs": "configfile|container|containerized|include|localrules|onerror|onstart|onsuccess|pepfile|pepschema|ruleorder|snakefile|workdir",
2+
"configs": "configfile|envvars|module|scattergather|include|localrules|onerror|onstart|onsuccess|ruleorder|snakefile|workdir|container|containerized|pepfile|pepschema",
33
"rules": "checkpoint|rule|subworkflow",
4-
"ruleparams": "benchmark|conda|container|containerized|cwl|default_target|group|handover|input|log|message|notebook|output|params|priority|resources|retries|run|script|shadow|shell|singularity|template_engine|threads|version|wildcard_constraints|wrapper",
4+
"ruleparams": "benchmark|conda|cwl|container|pepfile|pepschema|shellcmd|name|norun|conda_env|container_img|is_containerized|env_modules|shadow_depth|docstring|notebook|template_engine|cache|path_modifier|handover|default_target|localrule|group|input|log|message|notebook|output|params|priority|resources|run|script|shadow|shell|singularity|threads|version|wildcard_constraints|wrapper|default_target|handover|container|containerized|retries",
55
"functions": "ancient|directory|expand|pipe|protected|report|temp|touch|unpack"
66
}

syntaxes/snakemake.tmLanguage.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
}
4444
},
4545
"ruleparams": {
46-
"match": "(?x)\n ^\\s* # Leading whitespace\n (benchmark|conda|cwl|group|input|log|message|notebook|output|params|priority|resources|retries|run|script|shadow|shell|singularity|threads|version|wildcard_constraints|wrapper|default_target|template_engine|handover) # Keywords\n : # Ending in colon\n",
46+
"match": "(?x)\n ^\\s* # Leading whitespace\n (benchmark|conda|cwl|group|input|log|message|notebook|output|params|priority|resources|retries|run|script|shadow|shell|singularity|threads|version|wildcard_constraints|wrapper|default_target|template_engine|handover|pepfile|pepschema|container|container_img|containerized|is_containerized||shellcmd|name|norun|conda_env|env_modules|shadow_depth|docstring|cache|path_modifier|localrule) # Keywords\n : # Ending in colon\n",
4747
"captures": {
4848
"1": {
4949
"name": "keyword.control.snakemake.ruleparam"

0 commit comments

Comments
 (0)