Recent activity

Re: Empty `compound_expression`s 3 months ago

From Chinmay Dalal to ~ecs/public-inbox

I sent a patch to this list but that opening that specific mail on
lists.sr.ht shows a 502

https://lists.sr.ht/~ecs/public-inbox/patches/53341

[PATCH] allow empty `compound_expression`s 3 months ago

From Chinmay Dalal to ~ecs/public-inbox

this fixes indentation when the block hasn't been filled yet
---
 grammar.js          |     4 +-
 src/grammar.json    |    12 +-
 src/node-types.json |     2 +-
 src/parser.c        | 27966 +++++++++++++++++++++---------------------
 4 files changed, 14025 insertions(+), 13959 deletions(-)

diff --git a/grammar.js b/grammar.js
index 97fe425..e359188 100644
--- a/grammar.js
+++ b/grammar.js
@@ -269,7 +269,7 @@ module.exports = grammar ({
      seq('alloc', '(', $.expression, ',', $.expression, ')'),
[message trimmed]

Empty `compound_expression`s 3 months ago

From Chinmay Dalal to ~ecs/public-inbox

Hi,

I tried this: https://paste.sr.ht/~p00f/2e402dab48e5ed04dab9638a7062faff3944d273
but it doesn't seem to work. Just to be sure, editing grammar.js and running
make is all I need to do, right?

Thanks,
Chinmay

Re: [PATCH clangd_extensions.nvim] feat: return state after 5 months 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? 8 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 9 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) 10 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 11 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 11 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 11 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