blureglades

joined 11 months ago
[–] blureglades@alien.top 1 points 10 months ago

Very handy guide, thank you so much!

[–] blureglades@alien.top 1 points 10 months ago

Very handy guide, thank you! May I ask how do one achieves live preview of the LaTeX file? Does doom supports such feature?

 

Hi everyone! I'm currently using doom emacs with eglot. And I'm quite happy of how lightweight it is. However, I'm only able to see the diagnostics message when hovering the cursor over some error.

I wonder if there is any similar package or eglot configuration to replicate what Error Lens does in vscode? Thank you in advance.

My config looks as follows, I'd kindly appreciate any suggestion that could help me to improve my eglot experience:

(use-package! eglot
  :defer t
  :init
  (setq eglot-autoshutdown t)
  :config
  (setq eglot-ignored-server-capabilities '(:hoverProvider :documentLinkProvider :inlayHintProvider :documentOnTypeFormattingProvider))
  (add-to-list 'eglot-server-programs '(rust-mode "rust-analyzer"))
  (add-to-list 'eglot-server-programs '(scala-mode "metals"))
  (add-hook 'eglot-managed-mode-hook (lambda () (flymake-mode -1)))
  :hook
  ((rjsx-mode rust-mode typescript-mode js2-mode scala-mode) . eglot-ensure))

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

Thank you, I will definetly give it a try!

 

I use dwm in my laptop, but previously used i3wm for a few years. I'm curious about:

  • How well EXWM performs nowadays?
  • Is it resource heavy compared to other tiling window managers?
  • Is it still an issue EXWM not being multi-threaded?

My daily tasks involves just opening chrome, telegram and/or slack, watching movies and coding of course. Would it be a good fit for my needs?

I'd love to know your thoughts if you use or have some previous experience with EXWM. Thank you in advance!

 

Hello, I'm currently experiencing a lot of input lag and slowness when working on javascript projects. May I ask what extra configuration I'm missing in order to fix this issue? I'm using doom emacs. My configuration looks as follows:

(use-package! lsp-mode
  :hook
  (rustic-mode . lsp)
  (json-mode . lsp)
  (sh-mode . lsp)
  (typescript-mode . lsp)
  (javascript-mode . lsp)
  (js2-mode . lsp)
  (rjsx-mode . lsp)
  :commands lsp
  :config
  (setq lsp-log-io nil)
  (setq lsp-eldoc-render-all nil)
  (setq lsp-inlay-hint-enable nil)
  (setq lsp-lens-enable nil)
  (setq lsp-signature-render-documentation nil)
  (setq lsp-signature-auto-activate nil)
  (setq lsp-eldoc-enable-hover nil)
  (setq lsp-modeline-code-actions-enable nil))

(use-package! lsp-ui
  :hook (lsp-mode . lsp-ui-mode)
  :config
  (setq lsp-eldoc-enable-hover nil)
  (setq eldoc-documentation-functions nil)
  (setq lsp-ui-sideline-enable nil)
  (setq lsp-ui-sideline-show-diagnostics nil)
  (setq lsp-ui-sideline-show-hover nil)
  (setq lsp-ui-peek-always-show nil)
  (setq lsp-eldoc-render-all nil)
  (setq lsp-eldoc-enable-hover nil)
  (setq lsp-ui-doc-enable nil))

As you can see, I have most lsp features disabled to improve performance, but yet I'm having a bad experience while working on JS files. I'd kindly appreciate any suggestion.