fix: partially revert OS detection changes

These changes snuck into ad6a3d0, but have not been implemented yet, so
some OS-specific functionality was orphaned.

Amend: ad6a3d0f33
This commit is contained in:
Henrik Lissner 2022-08-18 17:06:42 +02:00
parent 8b4f722fa3
commit 4c9df9bfc6
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
5 changed files with 15 additions and 15 deletions

View file

@ -34,9 +34,9 @@ lua-language-server.")
;; is a function is to dynamically change when/if `+lua-lsp-dir' does
(list (or (executable-find "lua-language-server")
(doom-path +lua-lsp-dir
(cond ((featurep :os 'macos) "bin/macOS")
((featurep :os 'linux) "bin/Linux")
((featurep :os 'windows) "bin/Windows"))
(cond (IS-MAC "bin/macOS")
(IS-LINUX "bin/Linux")
(IS-WINDOWS "bin/Windows"))
"lua-language-server"))
"-E" "-e" "LANG=en"
(doom-path +lua-lsp-dir "main.lua")))