Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

String highlighting as comment #26

Open
yeyun1999 opened this issue Jun 18, 2023 · 1 comment
Open

String highlighting as comment #26

yeyun1999 opened this issue Jun 18, 2023 · 1 comment

Comments

@yeyun1999
Copy link

Strings are highlighted as comments, especially when used as commands

rule hostname:
    output: 
        "out/{id}.txt"
    threads:
        1
    resources:
        tmpdir=".tmp"
    conda:
        'base'
    shell:
        '''
        sleep 2;echo `hostname` > {output}
        echo fdf >> {resources.tmpdir}/fdf
        
        '''

The strings in the shell, output, and conda parts are all recognized as comments and highlighted in green

@skwde
Copy link

skwde commented Jul 18, 2023

Here is a screenshot of the problem:

Screenshot 2023-07-18 at 08 40 43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants