Ybenel

joined 1 year ago
[–] Ybenel@alien.top 1 points 11 months ago (1 children)

if you have configured lsp for js html and css it should handle running 3 language servers simultaneously for auto completion. like if you open an html file that includes css and J's it would run js and css LS

[–] Ybenel@alien.top 1 points 11 months ago

I'm using highlight-indent-guides

(use-package! highlight-indent-guides
  :init
  (add-hook 'prog-mode-hook 'highlight-indent-guides-mode)
  (setq highlight-indent-guides-method 'character
        highlight-indent-guides-delay 0
        highlight-indent-guides-responsive 'stack
        highlight-indent-guides-auto-enabled nil))
[–] Ybenel@alien.top 1 points 11 months ago (1 children)

What's your font config? Using any anti aliasing or hinting?

[–] Ybenel@alien.top 1 points 11 months ago

i think i am, like you said its probably a font hinting/autoaliasing issue.
Do you know of any solutions i could try?

[–] Ybenel@alien.top 1 points 11 months ago

While you might not notice the difference between the screenshots. If you download the full resolution images (X and Wayland or Xwayland) You'll see the difference.
its like its cut and not drawn properly. This issue is only on Emacs.

 

I have rebuilt Emacs 29 with PGTK in order to get Emacs running natively and to fix the fonts, and i already have another emacs 29 build (Lucid) installed with i use On X.
I was surprised to see Emacs on wayland was running slower than its counterpart on Xwayland. Also the fonts issue was not fixed.
While zooming in makes the fonts look better. On X i don't have this issue.
Below is screenshots of fonts on Wayland - Xwayland and X

On wayland (PGTK)

Xwayland (Lucid)

Xorg (Lucid)

[–] Ybenel@alien.top 1 points 1 year ago

I'm using arch, couldn't find anything like my case. But openSUSE build seems like a good way.

[–] Ybenel@alien.top 1 points 1 year ago

Yeah that's a Gentoo specific, compatibility issues. Also It only works for different versions of emacs im installing 29 version twice different features.

 

I came across an issue using Emacs when switching to a wayland compositor (hyprland).
The fonts don't look right as you can see at the screenshot below, but zooming in makes it better.
My current emacs build is using LUCID no PGTK.
I'm thinking of building another Emacs build with PGTK support that runs natively on Wayland without Xwayland. However i'd like to install them both.
As i use Lucid version on XMonad most the time, but still when i switching to wayland i could still have a better font.

u

https://preview.redd.it/nnoue1xr470c1.png?width=685&format=png&auto=webp&s=544a2c57604eeff12de176ca12b83528e752d68e

u

[–] Ybenel@alien.top 1 points 1 year ago

Corfu and it's extensive packages.