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:
parent
2659912220
commit
25b49b9ae1
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user