helix-mods/book
woojiq 52a43bcdfc
bash, make, css: highlight and indent queries improvement (#9393)
* 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.
2024-01-22 19:51:12 +01:00
..
src bash, make, css: highlight and indent queries improvement (#9393) 2024-01-22 19:51:12 +01:00
theme update with new mdbook index.hbs (#8445) 2023-10-03 10:17:32 +09:00
.gitignore Add book/ (mdbook based user guide) 2021-04-05 15:48:08 +09:00
book.toml use AND operator when searching (#7839) 2023-08-08 15:22:52 +02:00
custom.css Fix search highlighting for the default docs theme (#8270) 2023-09-13 16:37:39 +02:00