Add :tools lsp checks for +lsp flag

Also:
- Reorganizes some :lang modules' packages.el file.
- Adds setuptools check in lang/python
- Adds javac check in lang/java
- Removes the depends-on! macro
This commit is contained in:
Henrik Lissner 2019-04-22 03:10:25 -04:00
parent 9bea168cc1
commit c399c07694
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
16 changed files with 91 additions and 49 deletions

View file

@ -1,6 +1,10 @@
;; -*- lexical-binding: t; no-byte-compile: t; -*-
;;; lang/go/doctor.el
(assert! (or (not (featurep! +lsp))
(featurep! :tools lsp))
"This module requires (:tools lsp)")
(unless (executable-find "guru")
(warn! "Couldn't find guru. Refactoring commands (go-guru-*) won't work"))