Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support rasi config character type options #1131

Merged
merged 10 commits into from
May 17, 2020

Commits on May 15, 2020

  1. style: remove extra space

    jaki committed May 15, 2020
    Configuration menu
    Copy the full SHA
    5193dd9 View commit details
    Browse the repository at this point in the history
  2. feat: handle xrm_Char in config parser

    Handle the `xrm_Char` case in the (rasi theme) config file parser.  This
    should properly handle configuration like
    
    ```
    matching-negate-char: "\0";
    ```
    
    and
    
    ```
    matching-negate-char: "-";
    ```
    jaki committed May 15, 2020
    Configuration menu
    Copy the full SHA
    914beb5 View commit details
    Browse the repository at this point in the history
  3. refactor: don't handle mem in xrm_Char case

    `mem` shouldn't ever be set when `XrmOption` is `type` `xrm_Char`.
    Therefore, there is no need to check it and free it.  Remove that logic.
    jaki committed May 15, 2020
    Configuration menu
    Copy the full SHA
    f19492c View commit details
    Browse the repository at this point in the history
  4. refactor: further condense logic

    jaki committed May 15, 2020
    Configuration menu
    Copy the full SHA
    782928d View commit details
    Browse the repository at this point in the history

Commits on May 16, 2020

  1. style: s/Everythin/Everything/

    jaki committed May 16, 2020
    Configuration menu
    Copy the full SHA
    3e793c8 View commit details
    Browse the repository at this point in the history
  2. style: s/parsing an section/parsing a section/

    ...and missing period.
    jaki committed May 16, 2020
    Configuration menu
    Copy the full SHA
    ee3d795 View commit details
    Browse the repository at this point in the history
  3. feat(lexer): add CHAR token

    Add a `CHAR` token that takes things of the form `'<char>'` or some
    specific backslash escape sequences like `'\''` and `'\0'`.  For now,
    save it as a `T_STRING`.
    jaki committed May 16, 2020
    Configuration menu
    Copy the full SHA
    7824fd3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6e548f9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3ece80e View commit details
    Browse the repository at this point in the history
  6. refactor: use char property for xrm_Char

    Instead of using strings for property elements of type char, use
    characters, which were recently added to the grammar.
    jaki committed May 16, 2020
    Configuration menu
    Copy the full SHA
    752fd09 View commit details
    Browse the repository at this point in the history