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 /kak/kakrc | |
| parent | 586d25b8ed9f49f0d4e71d1dd98c625e7318ade0 (diff) | |
kakrc: no tabs, more generic make error pattern.
Diffstat (limited to 'kak/kakrc')
| -rw-r--r-- | kak/kakrc | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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? ' %{ |
