Skip to content

File Injection Not Working #2

@justinpxrk-dev

Description

@justinpxrk-dev
base24 inject -s material-darker -f ../kitty/base24-builder-injection.conf

gives the following error:

"../kitty/base24-builder-injection.conf" has no valid injection marker lines.

I configured base24-builder-injection.conf as follows:

# %%base24_template: kitty-te##%%
# %%base24_template_end%%

What I tried:

  1. Variations of the injection marker using base16_template and kitty-te##default
  2. Running base24 -f pointing to an actual file, instead of a symbolic link as I tried on my first few attemtps
  3. Change the extension of base24-builder-injection.conf to .colorscheme to mirror the themes in the base24-kitty-te template repository
  4. Adding lines between the injection marker lines so it is non empty
  5. Checking that the permissions of my base24-builder-injection.conf matches the permissions of templates built by base24 without using inject

I was able to find how injection is happening in the base16-builder repository but can't find it anywhere in the source code in this repository except as autogenerated documentation.

  • Are there any other steps I should be taking to debug this?
  • If this is indeed a bug, I can take a look and contribute, just need a few pointers on how to get started/where to find the source code for injection

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions