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

KDL: Redefining templates should produce error / warning #1780

Closed
raphCode opened this issue Oct 5, 2022 · 0 comments · Fixed by #1792
Closed

KDL: Redefining templates should produce error / warning #1780

raphCode opened this issue Oct 5, 2022 · 0 comments · Fixed by #1792

Comments

@raphCode
Copy link
Contributor

raphCode commented Oct 5, 2022

Reusing the same template name multiple times should probably give a warning:

layout {
    pane_template name="aaa" {
        command "atop"
    }
    pane_template name="aaa" {
        command "htop"
    }
    aaa
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant