Skip to content

Commit

Permalink
feat(ui): improve the new highlighting system (#422)
Browse files Browse the repository at this point in the history
* feat(ui): Proof-of-concept for loading themes

* make theme embed with binary

* refactor: extract process that determine extension as `RunnerType`'s method

* delete `.gitattributes`

* highlight justfile as `yaml` file

* rename

---------

Co-authored-by: kyu08 <[email protected]>
  • Loading branch information
Sigmanificient and kyu08 authored Jan 5, 2025
1 parent ae57384 commit 9a4e9f3
Show file tree
Hide file tree
Showing 6 changed files with 879 additions and 6 deletions.
54 changes: 54 additions & 0 deletions CREDITS
Original file line number Diff line number Diff line change
Expand Up @@ -1724,3 +1724,57 @@ https://github.com/IndianBoy42/tree-sitter-just
See the License for the specific language governing permissions and
limitations under the License.
================================================================

pyrossh/rust-embed
https://github.com/pyrossh/rust-embed
----------------------------------------------------------------
The MIT License (MIT)

Copyright (c) 2018 pyros2097

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

================================================================

sonph/onehalf
https://github.com/sonph/onehalf
----------------------------------------------------------------
MIT License

Copyright (c) 2019 Son A. Pham <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
================================================================
----------------------------------------------------------------
100 changes: 100 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ tree-sitter = "=0.24.4"
# FIXME: https://github.com/kyu08/fzf-make/issues/410
# The latest tag is 0.1.0 and it is old now. So, I am using the latest commit hash.
tree-sitter-just = { git = "https://github.com/IndianBoy42/tree-sitter-just.git", rev = "f6d2930" }
rust-embed = "8.5.0"
Loading

0 comments on commit 9a4e9f3

Please sign in to comment.