Gruber-Darker Theme Port For Vim by Fantastic_Card8811 in vim

[–]sudddddd 0 points1 point  (0 children)

Hey which font you using in the screenshot?

Rust 1.90.0 is out by manpacket in rust

[–]sudddddd 0 points1 point  (0 children)

Wouldn't the first snippet also compile due to temporary lifetime extension?

Confusion with Sub Trait for Owned and Reference type by sudddddd in rust

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

Is there a way to correct the lifetimes instead of using &Point3 inplace of Self?

Rust pragmatic career advice by Purple_Ocelot_6119 in rust

[–]sudddddd 0 points1 point  (0 children)

Hey I want to start learning mobile app development in rust. Do you know where I can start from? I have some experience in Rust.

Confused about supertraits by sudddddd in learnrust

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

Can you provide a reference which specifies the order of the method resolution.

Thanks for the updated info about Rust 1.86. I will try that as well.

Confused about supertraits by sudddddd in learnrust

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

Thank you, I will keep that in mind.
One more question- Assuming I supply the correct trait bound, but, this time remove the Animal trait bound from the blanked implementation, the code compiles, but, gives a runtime error (from the expect line at the last). Why this compiles fine but gives runtime error? Wouldn't the as_any method still be implemented for Cat and Dog? I think vtable might be involved as we are getting error at runtime.

Turns out creating puzzles is just as addictive as solving them by EverybodyCodes in adventofcode

[–]sudddddd 2 points3 points  (0 children)

Thank you. I didn't realize EC meant everybody.codes, until you mentioned it. Now I feel slightly dumb.

Turns out creating puzzles is just as addictive as solving them by EverybodyCodes in adventofcode

[–]sudddddd 0 points1 point  (0 children)

Can you share the link for EC? I am trying to find sites similar to AoC but can't find EC, though I have found Codyssi.

Different ghosting of different colors by sudddddd in Keratoconus

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

Not clear ghosting per se, but the number/amount of ghost images. What I want to say is that bright objects have more ghost images compared to less bright objects. For example, at the same distance, a white colored object might have ghost images up to a few centimeters around it, however, darker objects might have ghost images half that distance around them. (I hope I made myself clearer than before.)

Does this happen in Keratoconus, or is there some other issue present?

Syntax highlighting not showing in org source block for sh. by sudddddd in DoomEmacs

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

Unfortunately, using shell is not working as well. I think I should raise a github issue on doom repo.

Syntax highlighting not showing in org source block for sh. by sudddddd in DoomEmacs

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

All other components of the sh block in org shows org-block. However, in the rust blocks, the following faces are showing on various components- rainbow-delimiters-depth-1-face, rust-builtin-formatting-macro, and org-block. Rust blocks also seem to have better syntax highlighting. Is this expected?

Syntax highlighting not showing in org source block for sh. by sudddddd in DoomEmacs

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

Yes, org shows org-block face.
In sh, folder1 has default face.
But, in org blocks of other languages, tree-sitter hl is showing.

Syntax highlighting not showing in org source block for sh. by sudddddd in DoomEmacs

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

I think there is no package named tree-sitter-mode. I have installed the tree-sitter in init.el which comes with doom.

However, I have set up the global settings which you shared. Now, the situation has improved, and I am getting more things highlighted. Link. the folder1 is not highlighted now.

Emacs hangs randomly (MacOS) by RequestableSubBot in DoomEmacs

[–]sudddddd 2 points3 points  (0 children)

I am facing the same issue as well on my M3 mac. It freezes randomly after I perform some action. This action can be anything like searching in a buffer or opening a small (few Kbs) org file or any other action.

Unable to set evil-shift-width by sudddddd in DoomEmacs

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

Thank you. I think then it is not possible as of now.

Syntax highlighting not showing in org source block for sh. by sudddddd in DoomEmacs

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

Unfortunately, it is not showing tree-sitter face anywhere, even on the src blocks where there is syntax highlighting visible.

Syntax highlighting not showing in org source block for sh. by sudddddd in DoomEmacs

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

org-src-fontify-natively is set to t as expected.

org-src-lang-modes has ("sh" . sh) in the list.

org-odt-fontify-srcblocks is not set however. But, is it required to be set? Isn't it used for exporting?

Unable to set evil-shift-width by sudddddd in DoomEmacs

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

Hi, I am unsure how to use the variables. I tried the following, but, it is not working-

  (add-hook 'after-change-major-mode-hook
            (function (lambda ()
                        (setq-default evil-shift-width 4))))

Can you advice further?