Recent activity

Darkman website: how do you do dark/light mode for code blocks? 2 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 2 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) 3 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 5 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 5 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 5 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 7 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 7 months ago

From Chinmay Dalal to ~p00f/public-inbox

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

Breaking change: redo config 7 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

Re: sr.ht bio: Don't strip link attributes? 10 months ago

From Chinmay Dalal to ~sircmpwn/sr.ht-discuss

I see, thanks

Chinmay