From ff2b7e744afec051844aa20e25b9564a44505ffb Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 1 Oct 2023 22:20:04 +0900 Subject: feat(pack): aggressively lazy load packs --- fnl/nvrc/packs/lspconfig.fnl | 6 ------ 1 file changed, 6 deletions(-) (limited to 'fnl/nvrc/packs') diff --git a/fnl/nvrc/packs/lspconfig.fnl b/fnl/nvrc/packs/lspconfig.fnl index e69c337..55d0bd0 100644 --- a/fnl/nvrc/packs/lspconfig.fnl +++ b/fnl/nvrc/packs/lspconfig.fnl @@ -10,12 +10,6 @@ autocmd CursorMoved lua vim.lsp.buf.clear_references() augroup END" false)))) -(fn better_root_pattern [patterns except-patterns] - "match path if one of the given patterns is matched, EXCEPT if one of the except-patterns is matched" - (fn [path] - (when (not ((lsp.util.root_pattern except-patterns) path)) - ((lsp.util.root_pattern patterns) path)))) - (local default_capabilities (vim.lsp.protocol.make_client_capabilities)) (fn init_lsp [lsp-name ?opts] -- cgit 1.4.1