scmbradley · @Scmbradley
381 followers · 476 posts · Server mathstodon.xyz

Setting up and on gotchas so far: make sure your c compiler is on your emacs exec-path.

If, like me, you're restricted to running python 2.7 (don't ask) then your language server options are limited to python-language-server and pyls (the deprecated palantir offering). That's right folks, a software choice where Microsoft appear to be the good guys?

#windows #treesitter #eglot

Last updated 1 year ago

Notxor :kde: · @Notxor
163 followers · 11 posts · Server masto.es

Hoy en el blog hablo un poco sobre las pruebas que he hecho por encima de en

notxor.nueva-actitud.org/2023/

#eglot #emacs

Last updated 1 year ago

dnkl :emacs: · @dnkl
439 followers · 1072 posts · Server linuxrocks.online

Going back to -mode after testing for a couple of months.

I really liked the simplicity of eglot, but in some cases it was just too simple (as in, not providing features).

No semantic token highlighting is one example.

Trying to keep the lsp config minimal this time. But we'll see, maybe I'll go back to eglot again :/

#lsp #eglot #emacs

Last updated 1 year ago

circfruit · @circfruit
36 followers · 42 posts · Server fosstodon.org

Hey users! Need some help for get to recognise my python virtual environment. I’ve got set it up using and pyvenv. The latter seems initiated, but mypy complains that cannot import the modules which I have in the venv: “mypy: Cannot find implementation or library stub for module named "loguru" [import]” Could you give me some advice?

#emacs #eglot #pyslp

Last updated 1 year ago

yugaego 🌻 · @yugaego
0 followers · 13 posts · Server fosstodon.org

: Remember <kbd>C-h .</kbd> calls `eldoc-doc-buffer` that displays docs for a thing under a point!

I'm truly amazed how such foundational and useful things can slip out of ones memory.

#emacs #eglot

Last updated 1 year ago

BigEatie · @BigEatie
29 followers · 197 posts · Server fosstodon.org

When using how does it decide which files it will search for xref-find-definitions? Does that depend on the language server? Trying to use but can't get it to see anything outside of the file I'm currently editing. Any ideas?

#eglot #omnisharp #emacs

Last updated 2 years ago

Yisrael Dov :emacs: :nixos: · @yisraeldov
476 followers · 3284 posts · Server linuxrocks.online

Ok, so I think it is time again to declare bankruptcy and start me init.el from scratch. So many changes.

If you want to join me, I plan to stream. Watch here for more info.

1. I got over the hype of using for my config.
2. I caved, I started using via
3. I want to use for installing packages
4. I want to use better codding practices.

My current emacs config is here: gitlab.com/yisraeldov/emacs-d

#nix #eglot #lsp #orgmode #emacs

Last updated 2 years ago

Kim van Wyk · @kimvanwyk
74 followers · 367 posts · Server fosstodon.org

@davep thanks, I'd somehow missed learning about , I'll definitely give it a try.

#eglot

Last updated 2 years ago

Dave Pearson · @davep
343 followers · 2432 posts · Server fosstodon.org

Been a wee while now since I jumped over to on and I must say I'm finding it a really good experience. But I *really* need to figure out how to tidy up this particular docstring display issue...

Feels like there should be a "clean description" hook somewhere so I can at least take care of things.

#eglot #emacs

Last updated 2 years ago

Tassilo Horn · @tsdh
126 followers · 47 posts · Server emacs.ch

Support for inlay-hints has landed in for servers supporting it. Those are the inferred type hints in gray in the screenshot below.

#emacs #eglot #lsp

Last updated 2 years ago

ShadowMitia · @shadowmitia
26 followers · 122 posts · Server mastodon.social

Eglot inlay hints landed in -29 branch!
In the end the author of the package wrote the code, but the code is there and works!
Still experimental, it will probably not work well on large codebases.
Go give it a try and report issues!

The feature is disabled by default, add this to enable it:

(add-hook 'eglot-managed-mode-hook #'eglot-inlay-hints-mode)

#emacs #eglot

Last updated 2 years ago

slackline · @slackline
32 followers · 617 posts · Server mastodon.social

Looking to possibly migrate from to in

Curious if there is an eglot equivalent to lsp-ui?

Also how to register custom settings and pass them to the language server?

Current lsp-settings.el : gitlab.com/nshephard/emacs/-/b

Current eglot-settings.el : gitlab.com/nshephard/emacs/-/b

Insights and recommendations welcome.

#lspmod #eglot #emacs

Last updated 2 years ago

ShadowMitia · @shadowmitia
20 followers · 109 posts · Server mastodon.social

Hello people!
A while ago I was showing how I was working on inlay hints inside . Today I have a sort of working patch, you can test it here: github.com/ShadowMitia/eglot and you can check out my patch on the mailing list here: lists.gnu.org/archive/html/bug

Only missing:
- show hints on document open without causing lags or timeouts
- ways on improving the code, currently I'm sending the whole file each time to update the hints, there might be better ways?

Feedback welcome!

#emacs #eglot

Last updated 2 years ago

ShadowMitia · @shadowmitia
19 followers · 97 posts · Server mastodon.social

Adding inlay hints to . What do you think?

I still have to have it start up automatically with the mode, and it currently parses the whole buffer, I'm not sure how to make it more efficient.

Tips/ideas welcome!

#emacs #eglot

Last updated 2 years ago

ShadowMitia · @shadowmitia
17 followers · 89 posts · Server mastodon.social

Anyone in the community can help me out with something?
I'm trying to have code lenses work with eglot, I'm not sure this is even possible.
Any tips welcome!

I've opened a post on reddit about it here too:reddit.com/r/emacs/comments/zz

#emacs #eglot

Last updated 2 years ago

Cédric Delalande :ruby: · @MoskitoHero
73 followers · 234 posts · Server ruby.social

Has anyone tried setting up the ruby-lsp server in - preferably with ?

I'm not talking about , but the LSP server maintained by Shopify folks.

github.com/Shopify/ruby-lsp

#emacs #eglot #solargraph

Last updated 2 years ago

NperTen :arch: :emacs: :bash: · @nperten
11 followers · 32 posts · Server fosstodon.org

😃 Fixed the slow problem I was having with .

Setting the variable eglot-events-buffer-size to 0 solved it.

I wish I had read eglot docs sooner. Anyway It's working fine now. It made faster than -mode 😁

#eglot #lsp

Last updated 2 years ago

Charles U. Farley · @freakazoid
873 followers · 19085 posts · Server retro.social

Hmm, OK, got installed, compiled and installed. Zig-mode installed in . works with zls out of the box.

#zig #zls #emacs #eglot

Last updated 2 years ago

HACKthePRISONS · @bigMouthCommie
220 followers · 1290 posts · Server kolektiva.social

is this actually good advice?

#emacs #python #eglot #Jedi

Last updated 2 years ago