raiguard/odin-wayland

git clone https://git.raiguard.me/raiguard/odin-wayland

Caleb HeuerSwitch to a callback-based API15442f6

trunk
554 B10 linesraw
1set-option global ctagspaths "." "~/projects/other/odin/base", "~/projects/other/odin/core"
2hook -once global WinDisplay .* ctags-generate
3set-option global make_error_pattern "^([^:\n]+):(\d+):(?:(\d+):)? (Syntax )? Error:(\N+)?"
4hook global WinSetOption filetype=odin %{
5    add-ruler 121
6    set-option buffer autowrap_column 117 # -3 for comment leader
7}
8map global user r ":just run<ret>" -docstring "run"
9# map global user M ":just build-codegen<ret>" -docstring "make codegen"
10# map global user R ":just run-codegen<ret>" -docstring "run codegen"