From 1847e3fb25cb29a9bc1c662cabe6984509733595 Mon Sep 17 00:00:00 2001 From: gengdz <1583751445@qq.com> Date: Thu, 28 Nov 2024 15:49:40 +0800 Subject: [PATCH] =?UTF-8?q?feat(lang):=20add=20maxInlayHintLength=20for=20?= =?UTF-8?q?vtsls=20to=20resolve=20inlay=20hint=20to=E2=80=A6=20(#4902)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description feat(lang): add maxInlayHintLength for vtsls to resolve inlay hint too long ## Related Issue(s) * https://github.com/neovim/neovim/issues/27240 * https://github.com/yioneko/vtsls/pull/173 ## Screenshots before ![image](https://github.com/user-attachments/assets/5bc53695-7457-4f8f-bd03-b4de29f6f80d) after ![image](https://github.com/user-attachments/assets/c9281173-4198-4bf2-84cf-33c5d1984550) ## Checklist - [ x ] I've read the [CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md) guidelines. --- lua/lazyvim/plugins/extras/lang/typescript.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/lazyvim/plugins/extras/lang/typescript.lua b/lua/lazyvim/plugins/extras/lang/typescript.lua index dd5ca25c..6d7ae673 100644 --- a/lua/lazyvim/plugins/extras/lang/typescript.lua +++ b/lua/lazyvim/plugins/extras/lang/typescript.lua @@ -44,6 +44,7 @@ return { enableMoveToFileCodeAction = true, autoUseWorkspaceTsdk = true, experimental = { + maxInlayHintLength = 30, completion = { enableServerSideFuzzyMatch = true, },