Something went wrong. Try again.
A fork of helix with a bespoke collection patches.
Something went wrong. Try again.
bash, make, css: highlight and indent queries improvement (#9393) master
* highlights(bash): rework keywords section * Use more specified scope when possible for keywords like @keyword.repeat. * Add more keywords like "local" or "unsetenv". Limitation: * Bash doesn't allow you to have a local variable outside of a function, so maybe we need to have better queries to not highlight the local in this case. * If we name a function with a keyword (such as unset or local), it will use the highlight scope "keyword" instead of "function". * indents(css, make): add basic queries * Despite the fact that queries look simple, they improve indentation in some edge cases that helix couldn't handle correctly by default.
Author woojiq Committer GitHub Date (Jan 22, 2024, 6:51 PM UTC) Commit 52a43bcd 52a43bcdfcc258a2871be468a3e31496dd2d80c8 Parent f5f08bec f5f08becef0c27f183a7772f6ec6f5442eca2bab