aboutsummaryrefslogtreecommitdiff
path: root/snakemake-mode.el
AgeCommit message (Collapse)Author
2015-12-24Use lexical bindingKyle Meyer
2015-11-03Add shadow keyword for rulesSimon Ye
2015-06-10Recognize touch functionKyle Meyer
The touch flag was just recently documented: https://groups.google.com/d/msg/Snakemake/ZxUo20DV2KE/0S1rBj0XzwQJ
2015-06-03Coexist with Python mode Imenu itemsKyle Meyer
2015-06-03Expose --touch flag in snakemake-compile-ruleKyle Meyer
2015-04-09Fix broken regexpsKyle Meyer
When switching to rx in the last commit (38e5bfec0147), I unintentionally changed two regular expressions, which broke imenu indexing and highlighting for top-level keywords and rules.
2015-04-08Use rx to make regular expressionsKyle Meyer
2015-04-08snakemake-builtin-function-re: Reword docstringKyle Meyer
2015-04-08Remove leftover concatKyle Meyer
2015-04-08Use font-lock-defaultsKyle Meyer
Major modes should set font-lock-defaults: (info "(elisp)Font Lock Basics")
2015-03-07Rework indentationKyle Meyer
- Change continued field values to support Python indentation. This is useful when the value is using something like format (but only applies to naked field keys). - Don't move back to the start of the line when in a continued field value. - When on the first line of block, only indent to main offset. - Move to current indentation if point is before it. Unless there is one possible value for indentation, don't adjust indentation any further.
2015-03-07Use syntax code for whitespace regexKyle Meyer
2015-03-06Fix 'version' keyword typoKyle Meyer
2015-03-06Add 'log' and 'benchmark' keywordsKyle Meyer
2015-03-05Indent field values that start on their own lineKyle Meyer
Previously, indentation was handled only for the first line following a run value. Extend this to support any field value that starts on the line below a field key, since that is valid syntax.
2015-03-05Fix typo in docstringKyle Meyer
2015-03-05Reword docstrings for predicate functionsKyle Meyer
2015-03-05Add onsuccess and onerror keywordsKyle Meyer
2015-03-05Update copyright yearKyle Meyer
2015-03-05Add configfile as top-level commandKyle Meyer
This was added in version 3.1.
2015-01-09Replace looking-at calls with looking-at-p callsKyle Meyer
2015-01-09snakemake-previous-field-value-column: Expand docstringKyle Meyer
2015-01-09snakemake-run-field-first-line-p: SimplifyKyle Meyer
2015-01-09Replace single-branch 'if' occurrences with 'when'Kyle Meyer
2015-01-09Reword some docstringsKyle Meyer
2014-12-14Bump versionv0.2.0Kyle Meyer
2014-12-11Use consistent ordering for defcustom keywordsKyle Meyer
2014-12-11snakemake-run-subrule-line-p: Make cosmetic changeKyle Meyer
2014-12-11Follow Emacs convention for spaces after periodsKyle Meyer
2014-11-28Fix indentationKyle Meyer
2014-11-16Add snakemake-compile-rule commandKyle Meyer
2014-11-16Move snakemake-compile-commandKyle Meyer
2014-08-23Make snakemake executable customizableKyle Meyer
2014-08-23Add snakemake-compile-command functionKyle Meyer
2014-08-08Add ruleorder commandKyle Meyer
2014-07-03Support subworkflowsKyle Meyer
2014-07-03Tweak docstringKyle Meyer
2014-07-03Use 'field' instead of 'subrule'Kyle Meyer
2014-06-29Expand docstringsKyle Meyer
2014-06-29Fix indentation for first line of run subruleKyle Meyer
Prevent indentation from adding to previous whitespace.
2014-06-29snakemake-run-subrule-line-p: Bound by rule startKyle Meyer
Otherwise, if on first subrule or the top rule line, it returns true if there is a previous rule block whose last subrule is run. This function still relies on the caller (here `snakemake-indent-rule-line') to check that it is actually in a rule block. If it is not, it will return true if below a rule block whose last subrule is run.
2014-06-29Revise commentaryKyle Meyer
2014-06-29Merge pull request #2 from purcell/patch-2Kyle Meyer
Declare dependency on Emacs 24
2014-06-29Declare dependency on Emacs 24Steve Purcell
There's no currently-maintained version of python.el for Emacs 23, whereas that library is shipped with Emacs 24. It makes sense, then, to mark this package for Emacs 24+ only.
2014-06-29Anchor auto-mode-alist patterns to end-of-lineSteve Purcell
2014-06-28Make compile command flags customizableKyle Meyer
2014-06-28Reorder mode definitionKyle Meyer
This avoids free variable warning about `snakemake-font-lock-keywords' when compiling.
2014-06-27Initial import of snakemake-mode.elKyle Meyer