Adding custom server to lsp-mode reddit / emacs ---------------------------------------------------------------------- dudegun1 · 2022-07-18 02:09 Hey all Trying to add a custom server ([https://github.com/move- language/move/tree/main/language/move- analyzer](https://github.com/move- language/move/tree/main/language/move-analyzer)) to lsp-mode, but cant seem to figure out how to go about it. I have seen [https://emacs- lsp.github.io/lsp-mode/page/adding-new-language/](https://emacs- lsp.github.io/lsp-mode/page/adding-new-language/) , but haven't had much success with it. move-analyzer executable is located in \~/.cargo/bin/ which is in the $PATH variable. I attached a init.el snippet as well as outputs. Thanks a lot in advance. [Code from tutorial](https://preview.redd.it/9ip0aj7oi8c91.png?width=6 52&format=png&auto=webp&s=6c23b74366fb7f666a440b1304031d823619d09e) [Output when I eval the previous code](https://preview.redd.it/w11rd0d li8c91.png?width=954&format=png&auto=webp&s=9aaf307878288109246382ba03 1c372008064d8d) [Test file output when running lsp](https://preview.redd.it/af1dk8msi8 c91.png?width=953&format=png&auto=webp&s=9bbce78a85396acf78d8b50ad7790 a18d69a7db7) ---------------------------------------------------------------------- yyoncho · 2022-07-18 10:51 `The major mode is fundamental-mode` in the last pic. You may bind `move` extension to `move` language or introduce move-mode. ---------------------------------------------------------------------- dudegun1 · 2022-07-18 22:00 Duh. Got it working. Thanks