29 Oct 2024 |
bfredl | splash is deep | 16:44:21 |
clason | "or any combination thereof" đ | 16:44:39 |
30 Oct 2024 |
| craig-mac joined the room. | 02:47:43 |
mariasolos | In reply to @mfussenegger:matrix.org I've no idea how I'd expect that to behave. I don't mind closing it as working as intended My thoughts exactly. I've been quite passive aggressive lately though lol so I need someone (looking at you) to kindly close the issue | 05:23:50 |
mariasolos | On another note, I haven't used LSP in vanilla neovim in a while, but is this completion documentation on a separate window by design? https://github.com/neovim/neovim/issues/30985#issuecomment-2445880408 | 05:25:05 |
mariasolos | * On another note, I haven't used LSP in vanilla neovim in a while, but is this completion documentation on a separate buffer by design? https://github.com/neovim/neovim/issues/30985#issuecomment-2445880408 | 05:25:42 |
glepnir | :set cot-=preview | 05:27:08 |
mariasolos | I see. But this is a recent change isnât it? | 05:30:32 |
glepnir | nope ..preview just work like that.. | 05:31:41 |
mariasolos | I see | 05:40:59 |
Yorick Peterse | https://github.com/neovim/neovim/pull/30935 With this PR merged, how is one supposed to set a global set of options for all hover windows as could be done before? | 15:08:03 |
Yorick Peterse | It seems this isn't supported and instead you somehow have to make sure the same options are passed through every invocation of vim.lsp.buf.hover | 15:08:21 |
lewis6991 | You can do this:
local f = vim.lsp.buf.hover
vim.lsp.buf.hover = function(config)
config = config or {}
config.border = 'rounded'
return f(config)
end
| 15:13:57 |
lewis6991 | It's not perfect, but going forward we may add something like vim.o.floatborder . | 15:14:29 |
31 Oct 2024 |
mariasolos | Maybe it would be nice to have a custom filetype for LSP floating windows. It would make setting options and keybinds easier | 03:27:45 |
realchairforce | Hi all, quick question - if I wanted to profile the performance of Neovim busted unittests, is there a preferred method? My criteria of "good profiler to choose from is"
- Ability to nest profilers (e.g. a "describe-with-a-describe" would have its own dedicated profiler")
- Flamegraph output
I haven't found any profiler that does this flamegraph out-of-box. But what about nesting? The built-in Vim profiler doesn't appear to be nestable. I hear LuaJIT 2.1+ has a built-in profiler. If I use that will it still capture Vimscript functions that are called via Lua properly? If anyone knows about the most comprehensive, nestable profilers for Neovim lua I'd appreciate your advice. Thank you!
| 04:38:01 |
mariasolos | Profiles are too complex for me but I've heard good things of https://github.com/stevearc/profile.nvim | 05:00:15 |
mariasolos | * Profilers are too complex for me but I've heard good things of https://github.com/stevearc/profile.nvim | 05:00:22 |
realchairforce | haha even with the "WARNING: this is a gigantic hack" banner at the top? | 05:01:34 |
realchairforce | Hm, if you're saying it's good I'll take a deeper dive on it. It doesn't look nestable. | 05:03:23 |
realchairforce | * Hm, if you're saying it's good I'll take a deeper dive on it. It doesn't look nestable though | 05:03:34 |
realchairforce | I wasn't able to get require("jit.p") (in the Neovim docs) to output anything so profile.nvim might be my only hope | 05:04:12 |
realchairforce | mariasolos: I got some decent first results from that. I will have more questions latter but I can move forward with this for now. Thank you very much! | 05:15:34 |
mariasolos | In reply to @realchairforce:matrix.org haha even with the "WARNING: this is a gigantic hack" banner at the top? Yo the entire Neovim experience has a huge âWARNING HIGHLY ADDICTIVEâ banner at the top so donât be cautious now | 05:33:32 |
realchairforce | TRUE | 05:36:22 |
ddickstein | What's the recommended workaround for the limitation that you can't update/remove extmarks in on_line callbacks in nvim_set_decoration_provider? (relevant commit: https://github.com/neovim/neovim/commit/eb4676c67f5dd54bcda473783315901a3444b40b) Should I be doing an nvim_buf_attach on each buffer and adjust extmarks in the on_lines callback there? | 20:35:51 |
lewis6991 | I think you can use on_win | 21:23:27 |
lewis6991 | on_line is mostly useful for ephemeral extmarks | 21:24:01 |
1 Nov 2024 |
Yi | I'm trying to find a way to manage buffer/LSP state, do you have any better ideas?
https://github.com/neovim/neovim/pull/31024 | 11:34:32 |
lewis6991 | Justins already proposed a plan for this. I'll try and find the issue when I can | 14:07:21 |