|
4 | 4 | "If you want to provide a fix or improvement, please create a pull request against the original repository.", |
5 | 5 | "Once accepted there, we are happy to receive an update request." |
6 | 6 | ], |
7 | | - "version": "https://github.com/textmate/shellscript.tmbundle/commit/ba95d7b742caef130911d878f42f66bdd80181e4", |
| 7 | + "version": "https://github.com/textmate/shellscript.tmbundle/commit/c23c9e472b681db58d7f982f616144b8a34c5ee4", |
8 | 8 | "fileTypes": [ |
9 | 9 | "sh", |
10 | 10 | "bash", |
|
848 | 848 | "name": "keyword.control.shell" |
849 | 849 | } |
850 | 850 | }, |
851 | | - "end": "(?<=^|;|&|\\s)(done)(?=\\s|;|&|$)", |
| 851 | + "end": "(?<=^|;|&|\\s)(done)(?=\\s|;|&|$|\\))", |
852 | 852 | "name": "meta.scope.for-loop.shell", |
853 | 853 | "patterns": [ |
854 | 854 | { |
|
866 | 866 | "name": "variable.other.loop.shell" |
867 | 867 | } |
868 | 868 | }, |
869 | | - "end": "(?<=^|;|&|\\s)(done)(?=\\s|;|&|$)", |
| 869 | + "end": "(?<=^|;|&|\\s)(done)(?=\\s|;|&|$|\\))", |
870 | 870 | "endCaptures": { |
871 | 871 | "1": { |
872 | 872 | "name": "keyword.control.shell" |
|
886 | 886 | "name": "keyword.control.shell" |
887 | 887 | } |
888 | 888 | }, |
889 | | - "end": "(?<=^|;|&|\\s)(done)(?=\\s|;|&|$)", |
| 889 | + "end": "(?<=^|;|&|\\s)(done)(?=\\s|;|&|$|\\))", |
890 | 890 | "name": "meta.scope.while-loop.shell", |
891 | 891 | "patterns": [ |
892 | 892 | { |
|
904 | 904 | "name": "variable.other.loop.shell" |
905 | 905 | } |
906 | 906 | }, |
907 | | - "end": "(?<=^|;|&|\\s)(done)(?=\\s|;|&|$)", |
| 907 | + "end": "(?<=^|;|&|\\s)(done)(?=\\s|;|&|$|\\))", |
908 | 908 | "endCaptures": { |
909 | 909 | "1": { |
910 | 910 | "name": "keyword.control.shell" |
|
924 | 924 | "name": "keyword.control.shell" |
925 | 925 | } |
926 | 926 | }, |
927 | | - "end": "(?<=^|;|&|\\s)(esac)(?=\\s|;|&|$)", |
| 927 | + "end": "(?<=^|;|&|\\s)(esac)(?=\\s|;|&|$|\\))", |
928 | 928 | "name": "meta.scope.case-block.shell", |
929 | 929 | "patterns": [ |
930 | 930 | { |
|
934 | 934 | "name": "keyword.control.shell" |
935 | 935 | } |
936 | 936 | }, |
937 | | - "end": "(?<=^|;|&|\\s)(?=(?:esac)(?:\\s|;|&|$))", |
| 937 | + "end": "(?<=^|;|&|\\s)(?=(?:esac)(?:\\s|;|&|$|\\)))", |
938 | 938 | "name": "meta.scope.case-body.shell", |
939 | 939 | "patterns": [ |
940 | 940 | { |
|
961 | 961 | } |
962 | 962 | }, |
963 | 963 | "comment": "Restrict match to avoid matching in lines like `dd if=/dev/sda1 …`", |
964 | | - "end": "(?<=^|;|&|\\s)(fi)(?=\\s|;|&|$)", |
| 964 | + "end": "(?<=^|;|&|\\s)(fi)(?=\\s|;|&|$|\\))", |
965 | 965 | "endCaptures": { |
966 | 966 | "1": { |
967 | 967 | "name": "keyword.control.shell" |
|
0 commit comments