This commit is contained in:
2026-02-04 18:16:46 +02:00
parent 3200c6398a
commit f2cc5cab23
4 changed files with 82 additions and 1 deletions

75
.config/bacon/prefs.toml Normal file
View File

@@ -0,0 +1,75 @@
#:schema https://dystroy.org/bacon/.bacon.schema.json
wrap = false
summary = false
reverse = false
# grace_period = "15ms" # You can set it to "none" if it's useless for you.
help_line = true
show_changes_count = true
# Exporting "locations" (by setting its 'auto' to true) lets you use
# them in an external tool, for example as a list of jump locations
# in an IDE or in a language server.
# (See https://dystroy.org/bacon/config/#export-locations),
#
# Possible line_format parts:
# - kind: warning|error|test
# - job: name of the job
# - item-idx: index of the item
# - path: complete absolute path to the file
# - line: 1-based line number
# - column: 1-based column
# - message: description of the item
# - context: unstyled lines of output, separated with escaped newlines (`\\n`)
[exports.locations]
auto = false
exporter = "locations"
path = ".bacon-locations"
line_format = "{item-idx}: {kind} {path}:{line}:{column} {message}"
# If you want some job to emit a beep on success or on failure,
# you need to globally enable sound, and you may set up the max volume here
#
# With sound enabled, you may set up sound on a job with eg
# on_success = "play-sound(name=90s-game-ui-6,volume=50)"
# on_failure = "play-sound(name=beep-warning,volume=100)"
[sound]
enabled = false # set true to allow sound
base_volume = "100%" # global volume multiplier
# Uncomment and change the key-bindings you want to define
# (some of those ones are the defaults and are just here for illustration)
[keybindings]
# esc = "back"
# g = "scroll-to-top"
# shift-g = "scroll-to-bottom"
# k = "scroll-lines(-1)"
# j = "scroll-lines(1)"
# ctrl-c = "quit"
# ctrl-c = "copy-unstyled-output"
# ctrl-q = "quit"
# q = "quit"
# F5 = "rerun"
# alt-s = "toggle-summary"
# alt-w = "toggle-wrap"
# alt-b = "toggle-backtrace"
# Home = "scroll-to-top"
# End = "scroll-to-bottom"
# Up = "scroll-lines(-1)"
# Down = "scroll-lines(1)"
# PageUp = "scroll-pages(-1)"
# PageDown = "scroll-pages(1)"
# Space = "scroll-pages(1)"
# a = "job:check-all"
# i = "job:initial"
# c = "job:clippy"
# c = "job:clippy-all"
# d = "job:doc-open"
# t = "job:test"
# r = "job:run"
# ctrl-e = "export:analysis"
[jobs.cl]
command = ["cargo", "cl"]
need_stdout = false

View File

@@ -63,7 +63,8 @@ formatter = { command = "taplo", args = [
# "-oalign_comments=false",
"-",
] }
[language-server.taplo.config] # HACK: this single line fixes "this document has been excluded"
# root_dir = [".git", "*.toml"]
# [language-server.yaml-language-server.config.yaml]
# format = { enable = true }

1
.gitignore vendored
View File

@@ -29,6 +29,7 @@
!.config/tealdeer/
!.config/direnv/
!.config/vale/
!.config/bacon/
!.config/yazi/
.config/yazi/*/

View File

@@ -19,10 +19,14 @@ debug = "line-tables-only"
[profile.dev.package."*"]
opt-level = 3
debug = false
[profile.dev.build-override]
opt-level = 3
[profile.debugging]
inherits = "dev"
opt-level = 0
debug = true
lto = false
[target.x86_64-unknown-linux-gnu]