813ethan

Results 33 comments of 813ethan

try enable proposed api for the package in .vscode-oss/argv.json if fail also add `"terminalShellIntegration"` in the `"enabledApiProposals"` bracket in the corresponding package's package.json

looks nice, is there a reason why the preview window is so small? compared to `:LspHover` i think the builtins line could be removed to save some space Also is...

now the preview closes after the autocompletion got selected, but it's still opened when there're no completions also the preview window's size is still too small? https://github.com/user-attachments/assets/2c94eaf8-bd01-4f16-add2-4ad57015a8ab

ok tried testing it for a bit, seems like https://github.com/yegappan/lsp/blob/c57a2615891dc5400a63d8a54552873368877b5c/autoload/lsp/completion.vim#L277 the preview window's was initialized with 'Lazy doc', maybe this messed the window size up? also can i suggest if...

the height seems to change accordingly with the documentation's length (this is ycm btw) https://github.com/user-attachments/assets/9caa6f03-b0e4-4df1-a3c9-a746477759a9

maybe resize the window after the doc is shown? This works for me ```diff *** completion.vim.old 2025-11-05 08:35:36.036497263 +1100 --- completion.vim 2025-11-05 08:36:08.768497250 +1100 *************** *** 456,461 **** --- 456,462...

One more problem, there's this error showing up when im using preview with clangd? this is my lsp config: ``` { 'name': 'clangd', 'filetype': ['c', 'cpp'], 'path': TERMUX_PREFIX .. '/usr/bin/clangd',...

> Could it be related to the just added > > ```viml > exe 'resize' &previewheight > ``` > > ? error still shows up with the line removed >...

ok nvm `try ... catch` E565 here silenced the errors, but markdown isn't applied to the preview window https://github.com/yegappan/lsp/blob/5ded99487aab03513120a758fd5222d413284bf4/autoload/lsp/completion.vim#L631-L635 https://github.com/user-attachments/assets/85163cfa-4081-4233-850d-232720078e87 the error still exists after removing `setlocal ft=lspgfm`

https://groups.google.com/g/vim_dev/c/UX9-Dgw86xA maybe this is related?