diff options
| author | Jake Koroman <jake@jakekoroman.com> | 2026-02-14 20:08:01 -0500 |
|---|---|---|
| committer | Jake Koroman <jake@jakekoroman.com> | 2026-02-14 20:08:01 -0500 |
| commit | 63bbb8c16eb041bb1347e8ee909ae1d3fd1edc73 (patch) | |
| tree | 4ce6f3f52aa382e806d06c87022c901a2c41b8bd | |
| parent | 586d25b8ed9f49f0d4e71d1dd98c625e7318ade0 (diff) | |
kakrc: no tabs, more generic make error pattern.
| -rw-r--r-- | alacritty/alacritty.toml | 2 | ||||
| -rw-r--r-- | kak/kakrc | 9 |
2 files changed, 7 insertions, 4 deletions
diff --git a/alacritty/alacritty.toml b/alacritty/alacritty.toml index 3fc4551..69cac3d 100644 --- a/alacritty/alacritty.toml +++ b/alacritty/alacritty.toml @@ -1,5 +1,5 @@ [font] -normal = { family = "Iosevka" } +normal = { family = "Iosevka", style = "Regular" } size = 10 # https://raw.githubusercontent.com/alacritty/alacritty-theme/refs/heads/master/themes/citylights.toml @@ -4,13 +4,16 @@ add-highlighter global/ number-lines -hlcursor -relative set-option global ui_options terminal_status_on_top=true set-option -add global ui_options terminal_assistant=clippy set-option global tabstop 4 -set-option global indentwidth 4 + +# 0 -> tabs for indentation +set-option global indentwidth 0 set-option global scrolloff 3,3 # default error pattern checks for error or fatal after the error location # this makes it just look for the location, which makes it more generic for -# other compilers to *just* work -set-option global make_error_pattern '^([^:\n]+):(\d+):(?:(\d+):)?' +# other compilers to *just* work. works for all the compilers i care about +# for now: gcc/clang/cproc, go, odin +set-option global make_error_pattern '^([^:\n]+)[:\(](\d+):(?:(\d+))?[:\)]?' define-command testcmd %{ prompt -file-completion 'What is your name? ' %{ |
