inlay-hints.nvim
inlay-hints.nvim copied to clipboard
almost not wip
Hi, I was trying to setup inlay hints for rust. I called the setup function like so. I expected the parameters not to be shown, as I set the `parameter.show`...
re-opened the PR from a branch rather my fork's main
https://github.com/simrat39/inlay-hints.nvim/blob/006b0898f5d3874e8e528352103733142e705834/lua/inlay-hints/init.lua#L37-L39 Hi, I'm trying to figure out why I don't see inlay hints enabled by default in my config, and I noticed the suggested default config calls `set_all` but that...
Not sure what I'm doing wrong, but I added the setup and tsserver on_attach part, and I have a print confirming it's running at least untill after `ih.on_attach(c ,b)` when...
Typescript LSP v3.0.0 dropped experimental inlay hints https://github.com/typescript-language-server/typescript-language-server/pull/647
Addresses #10 . Adds a configuration parameter for `tsserver` given that current implementations of LSP for Typescript started supporting the standard and dropping previous custom formats, see [typescript-language-server](https://github.com/typescript-language-server/typescript-language-server#inlay-hints-textdocumentinlayhint). This was...
The user may choose to keep EOL inlay hints closer to the code when there are multiple virtual texts (e.g. git blame) for the current line.
This fixes the alignment of hints when the actual line is indented with tabs.
I use https://github.com/NvChad/NvChad and add rust-tools and inlay-hints as customized plugin. Now it does not work with .rs file. But if I key in :RustEnableInlayHints, I can see it just...
``` Error executing vim.schedule lua callback: ...vim/lazy/inlay-hints.nvim/lua/inlay-hints/render/eol.lua:82: line value outside range stack traceback: [C]: in function 'nvim_buf_set_extmark' ...vim/lazy/inlay-hints.nvim/lua/inlay-hints/render/eol.lua:82: in function 'render_line' ...vim/lazy/inlay-hints.nvim/lua/inlay-hints/render/eol.lua:123: in function 'render' ...im/lazy/inlay-hints.nvim/lua/inlay-hints/render/init.lua:14: in function 'render' ...are/nvim/lazy/inlay-hints.nvim/lua/inlay-hints/hints.lua:146:...