Inlineconfig #136

Merged
lspitzner merged 6 commits from inlineconfig into master 2018-04-22 15:18:29 +02:00
lspitzner commented 2018-04-17 20:15:04 +02:00 (Migrated from github.com)

Can someone have a look at this? I think I have now integrated all ideas mentioned in #30.

respects the following comment forms as input:

  source comment                       affected target
  ======================================================
  "-- brittany CONFIG"                 whole module
  "-- brittany-next-binding CONFIG"    next binding
  "-- brittany-disable-next-binding"   next binding
  "-- brittany @ myExampleFunc CONFIG" `myExampleFunc`

multiline-comments are supported too, although
the specification must still be a single line. E.g.

  "{- brittany --columns 50 -}"

CONFIG is either:

  1) one or more flags in the form of what brittany accepts
     on the commandline, e.g. "-- columns 50", or
  2) one or more specifications in the form of what brittany
     accepts in its config files for the layouting config
     (a one-line yaml document), e.g. "{ lconfig_cols: 50 }"

This is live at hexagoxel.de/brittany (I just notice that firefox is funny in regards to white-space: nowrap; for the textarea.. stupid browsers. fixed, i wanted white-space: pre;)

Can someone have a look at this? I think I have now integrated all ideas mentioned in #30. ~~~~ respects the following comment forms as input: source comment affected target ====================================================== "-- brittany CONFIG" whole module "-- brittany-next-binding CONFIG" next binding "-- brittany-disable-next-binding" next binding "-- brittany @ myExampleFunc CONFIG" `myExampleFunc` multiline-comments are supported too, although the specification must still be a single line. E.g. "{- brittany --columns 50 -}" CONFIG is either: 1) one or more flags in the form of what brittany accepts on the commandline, e.g. "-- columns 50", or 2) one or more specifications in the form of what brittany accepts in its config files for the layouting config (a one-line yaml document), e.g. "{ lconfig_cols: 50 }" ~~~~ This is live at [hexagoxel.de/brittany](https://hexagoxel.de/brittany/) (~~I just notice that firefox is funny in regards to `white-space: nowrap;` for the textarea.. stupid browsers.~~ fixed, i wanted `white-space: pre;`)
Sign in to join this conversation.
There is no content yet.