From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 28 Apr 2016 23:58:07 -0700 From: Endre Bakken Stovner Reply-To: kyleam/snakemake-mode Message-ID: In-Reply-To: References: Subject: Re: Rules not properly indented after copy/pasting (#8) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_572305ff4ec36_44dd3f9afe57d2c05697e9"; 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 Cc: Kyle Meyer , Comment ----==_mimepart_572305ff4ec36_44dd3f9afe57d2c05697e9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit I am experiencing the same problem with `yasnippets`. This rule: ``` # -*- mode: snippet -*- # name: rule # key: rl # -- rule $1: input: infile = "" output: outfile = "" $0 ``` expands into this: ``` rule : input: infile = "" output: outfile = "" ``` --- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/kyleam/snakemake-mode/issues/8#issuecomment-215642123 ----==_mimepart_572305ff4ec36_44dd3f9afe57d2c05697e9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

I am experiencing the same problem with yasnippets.

This rule:

# -*- mode: snippet -*-
# name: rule
# key: rl
# --
rule $1:
    input:
        infile = ""
    output:
        outfile = ""
    $0

expands into this:

rule :
input:
infile = ""
output:
outfile = ""


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

----==_mimepart_572305ff4ec36_44dd3f9afe57d2c05697e9--