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:
parent
9bea168cc1
commit
c399c07694
16 changed files with 91 additions and 49 deletions
|
@ -1,5 +1,9 @@
|
|||
;;; lang/ruby/doctor.el -*- lexical-binding: t; -*-
|
||||
|
||||
(assert! (or (not (featurep! +lsp))
|
||||
(featurep! :tools lsp))
|
||||
"This module requires (:tools lsp)")
|
||||
|
||||
(unless (executable-find "ruby")
|
||||
(warn! "Ruby isn't installed."))
|
||||
|
||||
|
|
|
@ -1,23 +1,25 @@
|
|||
;; -*- no-byte-compile: t; -*-
|
||||
;;; lang/ruby/packages.el
|
||||
|
||||
;; requires ruby ruby-lint
|
||||
|
||||
;; Major modes
|
||||
(package! enh-ruby-mode)
|
||||
(package! yard-mode)
|
||||
(package! inf-ruby)
|
||||
(unless (featurep! +lsp)
|
||||
(package! robe))
|
||||
|
||||
;; REPL
|
||||
(package! inf-ruby)
|
||||
(when (featurep! :completion company)
|
||||
(package! company-inf-ruby))
|
||||
|
||||
;; Programming environment
|
||||
(package! rubocop)
|
||||
(unless (featurep! +lsp)
|
||||
(package! robe))
|
||||
|
||||
;; Project tools
|
||||
(package! bundler)
|
||||
(package! rake)
|
||||
(package! rubocop)
|
||||
|
||||
;; Version management
|
||||
;; Environment management
|
||||
(when (featurep! +rbenv)
|
||||
(package! rbenv))
|
||||
(when (featurep! +rvm)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue