I must be missing something. I’ve been trying for too long to figure out how to get a language server in emacs, specifically for python, but at this point I’d be happy to see anything work. I am so fucking sick of following written online tutorials that never work but I need to use something other than vs code, so the “trying to get emacs to fucking work” effort will continue.

I gave up on regular emacs because there seems to be no way to install lsp-mode on it. doomemacs seems to be a more refined easy-to-use version and has a working package manager so I started using that. I finally did manage to get lsp-mode installed in doomemacs but that’s just the first step of what is a convoluted multi-step process and I don’t know what to do next.

Can someone link me to a definitive, actually working, actually correct video tutorial of how to get a language server on doomemacs?

  • @[email protected]
    link
    fedilink
    1
    edit-2
    1 month ago

    One problem I had with getting a language server working in Emacs was not realising that the LSP I had installed didn’t work with the python version I had installed. Check the LSP logs. Once I was using the right version of python everything worked fine. Just install python and an LSP (usually via pip) and activate LSP mode and the python LSP flag in your doom config. The doom python module docs cover pretty much everything you need