mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
refactor: use negated flags
Ref: 7a806521a92c
This commit is contained in:
@ -27,7 +27,7 @@
|
||||
|
||||
(use-package! lsp-sourcekit
|
||||
:when (modulep! +lsp)
|
||||
:when (not (modulep! :tools lsp +eglot))
|
||||
:when (modulep! :tools lsp -eglot)
|
||||
:defer t
|
||||
:init (add-hook 'swift-mode-local-vars-hook #'lsp! 'append)
|
||||
:config
|
||||
|
@ -1,6 +1,6 @@
|
||||
;;; lang/swift/doctor.el -*- lexical-binding: t; -*-
|
||||
|
||||
(assert! (or (not (modulep! +tree-sitter))
|
||||
(assert! (or (modulep! -tree-sitter)
|
||||
(modulep! :tools tree-sitter))
|
||||
"This module requires (:tools tree-sitter)")
|
||||
|
||||
|
@ -8,6 +8,5 @@
|
||||
(package! lsp-sourcekit :pin "63ff1ab638b655089077d17fdd728a48f8906e02"))
|
||||
(when (modulep! :completion company)
|
||||
(package! company-sourcekit :pin "a1860ad4dd3a542acd2fa0dfac2a388cbdf4af0c"))
|
||||
(when (and (modulep! :checkers syntax)
|
||||
(not (modulep! :checkers syntax +flymake)))
|
||||
(when (modulep! :checkers syntax -flymake)
|
||||
(package! flycheck-swift :pin "4c5ad401252400a78da395fd56a71e67ff8c2761")))
|
||||
|
Reference in New Issue
Block a user