diff --git a/.config/bacon/prefs.toml b/.config/bacon/prefs.toml new file mode 100644 index 0000000..ec169a6 --- /dev/null +++ b/.config/bacon/prefs.toml @@ -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 diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml index 38a90c5..60358ed 100644 --- a/.config/helix/languages.toml +++ b/.config/helix/languages.toml @@ -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 } diff --git a/.gitignore b/.gitignore index df10d4a..0ab5113 100644 --- a/.gitignore +++ b/.gitignore @@ -29,6 +29,7 @@ !.config/tealdeer/ !.config/direnv/ !.config/vale/ +!.config/bacon/ !.config/yazi/ .config/yazi/*/ diff --git a/.local/share/cargo/config.toml b/.local/share/cargo/config.toml index ff63648..7de89e0 100644 --- a/.local/share/cargo/config.toml +++ b/.local/share/cargo/config.toml @@ -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]