summaryrefslogtreecommitdiff
path: root/kak/kakrc
diff options
context:
space:
mode:
Diffstat (limited to 'kak/kakrc')
-rw-r--r--kak/kakrc9
1 files changed, 6 insertions, 3 deletions
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? ' %{