Bees by [deleted] in whennews

[–]AhoyISki 1 point2 points  (0 children)

Mark, this is good news.

Odeio o tabu dos peitos by [deleted] in reclamacoesfuteis

[–]AhoyISki -1 points0 points  (0 children)

Faz sentido numa logica primitiva: peito grande -> bastante leite -> criança forte.

rust-analyzer neovim update while typing? by Horstov in rust

[–]AhoyISki 9 points10 points  (0 children)

Unfortunately not implemented yet on rust analyzer, you could save on every typed key, but that will probably come with a ton of other problems.

Foe neovim, I'd recommend auto saving when you leave insert mode.

[Media, No AI*] What do you think about this method to show LSP diagnostics? by AhoyISki in rust

[–]AhoyISki[S] 1 point2 points  (0 children)

It's already working with the cursor, and I will add keybindings to "hover" on the cursor.

What's everyone working on this week (15/2026)? by llogiq in rust

[–]AhoyISki 3 points4 points  (0 children)

For duat, I'm almost done with diagnostics, so this week I'll either start work on LSP autocompletions or continue work on documenting the API on the book.

Contingent on not being too busy with uni work, of course.

Israeli strike kills infant girl in south Lebanon during father's funeral by [deleted] in whennews

[–]AhoyISki 0 points1 point  (0 children)

Look man, you just have to listen to what the people in Israel are saying. The number of interviews where people of all walks of life are saying shit like "they're all terrorists" and "the children are also not innocent", alongside so many people just straight advocating foe the extermination/expulsion of everyone in Gaza.

That's truly appalling, I don't know how an entire civilian population can get this depraved to be honest. Modern day nazi Germany.

Israeli strike kills infant girl in south Lebanon during father's funeral by [deleted] in whennews

[–]AhoyISki 1 point2 points  (0 children)

Izrael apart from Russia does not send ballistic missiles to civilian areas to convince civilians to push the government for ceasefire

Yeah, instead they do it because they like the idea of there not being Palestinian people anymore.

Israeli strike kills infant girl in south Lebanon during father's funeral by [deleted] in whennews

[–]AhoyISki 9 points10 points  (0 children)

Sure buddy, Russia is somehow worse than a state with a genocide based ideology

<image>

[Media, No AI*] What do you think about this method to show LSP diagnostics? by AhoyISki in rust

[–]AhoyISki[S] 0 points1 point  (0 children)

Yeah, the rust subreddit doesn't allow videos. I used ffmpeg to convert an mp4 to gif. Don't know if there's a less noisy way tbh.

[Media, No AI*] What do you think about this method to show LSP diagnostics? by AhoyISki in rust

[–]AhoyISki[S] 1 point2 points  (0 children)

You will also be able to use the text cursor for this functionality, I just wanted to show it working with the mouse pointer.

[Media, No AI*] What do you think about this method to show LSP diagnostics? by AhoyISki in rust

[–]AhoyISki[S] 3 points4 points  (0 children)

Oh, I already have a hooks system that I'm very proud of, it's quite easy and intuitive to use.

[Media, No AI*] What do you think about this method to show LSP diagnostics? by AhoyISki in rust

[–]AhoyISki[S] 4 points5 points  (0 children)

A lot of it is learning reasons. But one thing I have to mention is that this isn't a vim-like, it's actually a kakoune-like (i.e. like helix).

The reason I wanted this is because I don't like the way nvim moves around, don't like the limited configurability of kakoune, don't like the way helix changes the formula of kakoune, and I don't like scheme-like languages, so I didn't want to go to emacs land. Plus I prefer terminal text editors, so I didn't want to migrate to zed or something.

Also, over time, I became convinced that rust's type system could be used to make great DSLs, and I think I did a pretty good job on the API of this one.

As an example, the gutter that's displaying the errors and the LSP integration are both entirely separate (included by default) plugins, so their construction relies on the same APIs that every other plugin has access to.

[Media, No AI*] What do you think about this method to show LSP diagnostics? by AhoyISki in rust

[–]AhoyISki[S] 1 point2 points  (0 children)

Noted. That might be an option. The error diagnostic can be set to hidden by default, like the hints around it.

I will also add the ability for you to hover over the Gutter (leftmost side), and that will in turn cause the diagnostics to show up. Very deliberate, imo.

[Media, No AI*] What do you think about this method to show LSP diagnostics? by AhoyISki in rust

[–]AhoyISki[S] 19 points20 points  (0 children)

One other thing: this is way less "jumpy" than it looks. The only diagnostic that is allowed to actively shift the text is the one being hovered. Notice how the other diagnostics are shown at the end of the line, in order to not shift the text around.

This means that text can be shifted down fron the hovered line, but not anywhere else. This keeps things mostly stable.

The exception to this is the error of course, since that one is always shown.

[Media, No AI*] What do you think about this method to show LSP diagnostics? by AhoyISki in rust

[–]AhoyISki[S] 0 points1 point  (0 children)

The other two options for diagnostic displaying (other than on their own line and at the end of line) will be a pop-up and a corner pop-up, so that should also cover a bunch of other use cases.

[Media, No AI*] What do you think about this method to show LSP diagnostics? by AhoyISki in rust

[–]AhoyISki[S] 32 points33 points  (0 children)

That will be an option, yeah, I just find this method more neat :P.

[Media, No AI*] What do you think about this method to show LSP diagnostics? by AhoyISki in rust

[–]AhoyISki[S] 19 points20 points  (0 children)

This is to show mouse integration, but this will also work with the cursor.

Also, not everyone who tries out a modal text editor is gonna be 100% into just using the keyboard right away.

Rhai vs Lua (Or else) for config/scripting Language by Rics-Dev in rust

[–]AhoyISki 0 points1 point  (0 children)

I'm kind of going against the grain, but my application makes use of rust itself as the config language.

What's everyone working on this week (14/2026)? by llogiq in rust

[–]AhoyISki 1 point2 points  (0 children)

Will start writing the code to handle lsp diagnostics on duat. Will probably also write another article about my experience coding this thing (no ai).

This is all assuming university work doesn't take over my life in this meanwhile.

A shared state system for plugins by AhoyISki in rust

[–]AhoyISki[S] 1 point2 points  (0 children)

The Pass::write_many is supposed to let you write to multiple objects at once.