xiaxi

Results 15 comments of xiaxi

> There code examples with swift that isn't rendered with lsp_markdown like my custom syntax. Do we have any custom syntax for markdown filetype in lspsaga to change the highlight...

@tami5 Maybe we should finally create a configuration item for the jumpable floating window to mimic the exact builtin behavior? What's your idea?

> Hmmm what do u mean by configuration item? like focus = false/true? thinking I kinda had an argument about why isn't focus false is the default but anyways, nah...

Put `render_hover_doc()` inside an if-statement seems to solve the flicker in my case. @flamendless ```lua function AutoHover() local hover = require "lspsaga.hover" vim.loop.new_timer():start( 2000, 0, vim.schedule_wrap(function() if not hover.has_saga_hover() then...

@tami5 > Not sure, maybe exposing autocmd? with the hot fix above? or maybe a wrapper to delay the popup for few seconds. I noticed a huge delay in my...

@tami5 I have tried your approach. I observed that the time delay isn't consistent between popups. I suspect `vim.cmd "autocmd CursorMoved ++once lua should_ignore = true"` isn't enough to guarantee...

Ok, I'd be glad to help if we have some further ideas.

@Iamafnan Hi, this autocmd `vim.cmd "autocmd CursorHoldI silent! Lspsaga signature_help"` should only trigger `signature_help` in insert mode. Can you share your use case?

This seems can be fixed by changing the syntax type of the hover window from `markdown` into `lsp_markdown` and `set conceallevel=2`, as shown in the following screenshots. *Before*: ![before_lsp_markdown](https://user-images.githubusercontent.com/22728604/156910104-f17f0d0d-51f8-4420-b187-810ad65fc4a1.png) *After*:...

FYI, diagnostic has a configurable highlight group as well, https://github.com/tami5/lspsaga.nvim/blob/511a335b470aa32ceb6ba8d53d61f6b52362c6f4/plugin/lspsaga.vim#L42