1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-24 03:56:32 +03:00

Improve kakoune startup time by 33%

This commit is contained in:
Maxim Baz 2018-07-08 15:18:31 +02:00
parent 2659912220
commit 25b49b9ae1
No known key found for this signature in database
GPG Key ID: 011FDC52DA839335

View File

@ -28,7 +28,7 @@ def -params 1 -docstring "colorscheme <name>: enable named colorscheme" \
evaluate-commands %sh{
autoload_directory() {
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"