Open joaocarvalhoopen opened 10 months ago
I'm using doom emacs bdw.
;; Odin LSP
(setq-default lsp-auto-guess-root t)
(defvar lsp-language-id-configuration '((odin-mode . "odin")))
(use-package lsp-mode
:hook ((python-mode . lsp)
(javascript-mode . lsp)
(odin-mode . lsp))
:commands lsp
:config
(make-lsp-client :new-connection (lsp-stdio-connection "ols")
:major-modes '(odin-mode)
:server-id 'ols
:multi-root t))
It didn't work for me.
Hello,
I would like to say here what I did in Linux (with the help of "the weak") to make this work with the elpaca package manager:
I hope that this will help others.
1º Download the OLS to the designated directory and compile it. 2º Download the odin-mode and copy to the designated directory.
3º Then in the init.el add the following:
Best regards,