AutoYADM commit: 2025-07-11 17:01:31
This commit is contained in:
parent
6b7c794136
commit
c5fe1d3d91
6 changed files with 30 additions and 19 deletions
15
.config/kak/autoload/root.kak
Normal file
15
.config/kak/autoload/root.kak
Normal file
|
@ -0,0 +1,15 @@
|
|||
provide-module root %∴
|
||||
declare-option str-list root_globs .git .kakrc kakrc
|
||||
# project-specific configuration
|
||||
hook global BufCreate (.*/)?(\.kakrc\.local|\.kakrc\.local|\.kakrc) %{
|
||||
set-option buffer filetype kak
|
||||
}
|
||||
try %{ source .kakrc } catch %{
|
||||
try %{ source .kakrc.local } catch %{ try %{ source .local.kakrc } }
|
||||
}
|
||||
|
||||
hook global KakBegin .* %{
|
||||
# discover project root
|
||||
}
|
||||
|
||||
∴
|
Loading…
Add table
Add a link
Reference in a new issue