From 63bbb8c16eb041bb1347e8ee909ae1d3fd1edc73 Mon Sep 17 00:00:00 2001 From: Jake Koroman Date: Sat, 14 Feb 2026 20:08:01 -0500 Subject: kakrc: no tabs, more generic make error pattern. --- kak/kakrc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'kak/kakrc') diff --git a/kak/kakrc b/kak/kakrc index 81bf14f..47b0f85 100644 --- a/kak/kakrc +++ b/kak/kakrc @@ -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? ' %{ -- cgit v1.2.3