Recent activity

Re: [PATCH clangd_extensions.nvim] feat: return state after 28 days ago

From Chinmay Dalal to ~p00f/public-inbox

~lnk3 <lnk3@git.sr.ht> writes:

> From: lnc3l0t <lnk3@protonmail.com>
>
> Return the state after toggle_inlay_hints has been called, useful for attaching callbacks to the toggle behaviour.
> For example enable/disable autocmds when toggling or untoggling.
> ---
>  lua/clangd_extensions/inlay_hints.lua | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/lua/clangd_extensions/inlay_hints.lua b/lua/clangd_extensions/inlay_hints.lua
> index 2d03fe4..f8afd1a 100644
> --- a/lua/clangd_extensions/inlay_hints.lua
> +++ b/lua/clangd_extensions/inlay_hints.lua

Darkman website: how do you do dark/light mode for code blocks? 4 months ago

From Chinmay Dalal to ~grtcdr/pub

Hello,
How do you do dark/light mode for code blocks in darkman's website? My
website is built using org-publish as well (https://p00f.srht.site), but
I could get dark mode working only for prose. For code, I keep the
background light.

[beframe] Make `beframe-global-buffers' a list of regexes 4 months ago

From Chinmay Dalal to ~protesilaos/general-issues

Hello,
I want to make erc's irc buffers global, so that `erc-switch-to-buffer'
works. This would be possible if `beframe-global-buffers' a list of
regular expressions instead - I could simply use the regex "^#.+" as
channel names start with a hash.

Any other solution for this problem is welcome too, of course.

Thanks,
Chinmay

Re: dired-preview: preview directories? (Plus suggestion) 5 months ago

From Chinmay Dalal to ~protesilaos/general-issues

Another idea could be to just use the output of `ls -l` or `exa -l`

Using `bat`/`cat` for previews 7 months ago

From Chinmay Dalal to ~vigoux/azy.nvim-devel

Hi,

Currently azy uses an actual buffer for previews. While this is better
for syntax highlighting, it suffers from two problems:
 - It is slightly slow
 - Being a real buffer, sometimes lsp attaches and produces weird errors

Given that one of the stated goals of azy is speed, I think it should
use `bat`, or plain `cat` when `bat` is not available.
--
p00f

Re: [PATCH azy.nvim v2] Add oldfiles source 7 months ago

From Chinmay Dalal to ~vigoux/azy.nvim-devel

This version adds docs and uses the existing open_file sink instead of
creating a new one

Re: [azy.nvim/patches/.build.yml] build failed 7 months ago

From Chinmay Dalal to ~vigoux/azy.nvim-devel

This had to be a new source instead of just a qwahl-based one for myself because

- it allows preview
- it allows C-v and C-h (a qwahl-based one will take over the current
window)

Thanks,
Chinmay

Re: Breaking change: redo config 9 months ago

From Chinmay Dalal to ~p00f/public-inbox

Dmytro Soltys <soap@slotos.net> writes:

> While tinkering with my local setup, I noticed that on neovim nightly
> it's sufficient to enable native inlay_hint functionality in LspAttach
> autocmd.

Yep, I'll remove inlay hints some time after neovim 0.10 lands

Re: Breaking change in clangd_extensions.nvim: redo config 9 months ago

From Chinmay Dalal to ~p00f/public-inbox

Sorry I forgot to mention, this is about clangd_extensions.nvim

Breaking change: redo config 9 months ago

From Chinmay Dalal to ~p00f/public-inbox

I redid the configuration, now one doesn't need to call `setup()` at all
if they are happy with the defaults.

Server options are to be configured normally via
`vim.lsp.start`/nvim-lspconfig

To enable inlay hints like earlier, add the following lines to
lspconfig/`vim.lsp.start`'s `on_attach`:

     require("clangd_extensions.inlay_hints").setup_autocmd()
     require("clangd_extensions.inlay_hints").set_inlay_hints()

Sorry for the breaking change but this simplifies everything a lot