From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 04 May 2016 04:20:12 -0700 From: Endre Bakken Stovner Reply-To: kyleam/snakemake-mode Message-ID: Subject: include keyword not highlighted within loops (#17) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5729daec4bc7b_53bf3fc7b101729c14071"; charset=UTF-8 Content-Transfer-Encoding: 7bit List-ID: kyleam/snakemake-mode List-Archive: https://github.com/kyleam/snakemake-mode List-Post: List-Unsubscribe: , To: kyleam/snakemake-mode ----==_mimepart_5729daec4bc7b_53bf3fc7b101729c14071 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit The include keyword is not highlighted when within a loop: ``` includes = ["/rules/window_counts/csaw_window_counts.rules", "/rules/remove_animal_bins/remove_animal_bins.rules"] for path in includes: include: include_prefix + path # include not highlighted ``` Started a new thread since I guess highlighting is different from indentation even though both are regex-based. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kyleam/snakemake-mode/issues/17 ----==_mimepart_5729daec4bc7b_53bf3fc7b101729c14071 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

The include keyword is not highlighted when within a loop:

includes = ["/rules/window_counts/csaw_window_counts.rules", "/rules/remove_animal_bins/remove_animal_bins.rules"]

for path in includes:
    include: include_prefix + path # include not highlighted

Started a new thread since I guess highlighting is different from indentation even though both are regex-based.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

----==_mimepart_5729daec4bc7b_53bf3fc7b101729c14071--