From 63d3199cfd4a0e0886f57c8915ec5ba7823967b6 Mon Sep 17 00:00:00 2001 From: hrsh7th Date: Sun, 29 Aug 2021 15:35:04 +0900 Subject: [PATCH] Add slow down reason --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d448f27..c1f1e55 100644 --- a/README.md +++ b/README.md @@ -397,14 +397,16 @@ cmp.setup { I've optimized `nvim-cmp` as much as possible, but there are currently some known / unfixable issues. 1. `cmp-buffer` source and too large buffer - The `cmp-buffer` source makes index of the current buffer so if the current buffer is too large, will be slowdown main UI thread. 1. some language servers - For example, `typescript-language-server` will returns 15k items to the client. In such case, the time near the 100ms will be consumed just to parse payloads as JSON. +1. You set `vim.lsp.set_log_level` up by yourself. +This setting will cause the filesystem operation for each LSP payloads. +This will extremely slow down nvim-cmp (and other LSP related features.) + #### How to setup supertab-like mapping? This is supertab-like mapping for [LuaSnip](https://github.com/L3MON4D3/LuaSnip)