From 8b660aca37ffd5647ffec3bef4273b9fe5493f9f Mon Sep 17 00:00:00 2001 From: James Dugan Date: Fri, 21 Feb 2025 22:42:59 -0700 Subject: [PATCH] No LTO for kak-lsp compilation (huge time save) --- .config/kak/config/plugins.kak | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.config/kak/config/plugins.kak b/.config/kak/config/plugins.kak index cc2cb11..3d949ec 100644 --- a/.config/kak/config/plugins.kak +++ b/.config/kak/config/plugins.kak @@ -37,7 +37,7 @@ bundle kakoune-lsp "https://github.com/kakoune-lsp/kakoune-lsp" %{ remove-hooks global lsp-filetype-.* } bundle-install-hook kakoune-lsp %{ - cargo install --locked --force --path . + CARGO_PROFILE_RELEASE_LTO=false cargo install --locked --force --path . } bundle-noload everforest.kak "ln -sf ~/workspace/everforest.kak/" @@ -64,11 +64,6 @@ bundle luar "https://github.com/gustavo-hms/luar" %@ add-highlighter shared/kakrc/lua4 region -recurse '<' '(^|\h)lua\s(([\s{}\w%/$-|''"])* )?%<\K' '>' ref lua @ -bundle kakoune-buffer-switcher "https://github.com/occivink/kakoune-buffer-switcher" %{ - # Make the current buffer more visible - set-face global BufferSwitcherCurrent value -} - bundle kakoune-focus "https://github.com/caksoylar/kakoune-focus" %{ map global user ':focus-toggle' -docstring "toggle selections focus" }