Merge remote-tracking branch 'maximbaz/improve-startup-time'
This commit is contained in:
commit
5d836a327f
|
@ -28,7 +28,7 @@ def -params 1 -docstring "colorscheme <name>: enable named colorscheme" \
|
||||||
evaluate-commands %sh{
|
evaluate-commands %sh{
|
||||||
autoload_directory() {
|
autoload_directory() {
|
||||||
find -L "$1" -type f -name '*\.kak' \
|
find -L "$1" -type f -name '*\.kak' \
|
||||||
-exec printf 'try %%{ source "%s" } catch %%{ echo -debug Autoload: could not load "%s" }\n' '{}' '{}' \;
|
| sed 's/.*/try %{ source "&" } catch %{ echo -debug Autoload: could not load "&" }/'
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "colorscheme default"
|
echo "colorscheme default"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user