tv vim nix writerName: recognize toFile
This commit is contained in:
parent
af518678bf
commit
bc7c360b80
@ -73,7 +73,8 @@ with import <stockholm/lib>;
|
|||||||
def = k: ''${k}[ \t\r\n]*='';
|
def = k: ''${k}[ \t\r\n]*='';
|
||||||
writer = k: ''write${k}[^ \t\r\n]*[ \t\r\n]*\("[^"]*"\|[a-z]\+\)'';
|
writer = k: ''write${k}[^ \t\r\n]*[ \t\r\n]*\("[^"]*"\|[a-z]\+\)'';
|
||||||
writerExt = k: writerName ''[^"]*\.${k}'';
|
writerExt = k: writerName ''[^"]*\.${k}'';
|
||||||
writerName = k: ''write[^ \t\r\n]*[ \t\r\n]*"${k}"'';
|
writerName = k:
|
||||||
|
''${alts [''toFile'' ''write[^ \t\r\n]*'']}*[ \t\r\n]*"${k}"'';
|
||||||
in mapAttrsToList (name: {
|
in mapAttrsToList (name: {
|
||||||
extraStart ? null,
|
extraStart ? null,
|
||||||
lang ? name
|
lang ? name
|
||||||
|
Loading…
Reference in New Issue
Block a user