This commit is contained in:
Benson Chu 2026-04-06 17:01:52 -05:00
parent 1455d6609b
commit a49e214ed8
2 changed files with 2 additions and 2 deletions

View file

@ -95,7 +95,7 @@
;; (y-or-n-p "Should I start LSP? ")) ;; (y-or-n-p "Should I start LSP? "))
) )
(when (string-match-p "llvm-project" project-root) (when (string-match-p "llvm-project" project-root)
(lls/ensure-initialized)) (comp-dev/ensure-initialized))
(lsp)))) (lsp))))
:config :config

View file

@ -130,7 +130,7 @@
(defun comp-dev/ensure-initialized () (defun comp-dev/ensure-initialized ()
(when (not (comp-dev/initialized?)) (when (not (comp-dev/initialized?))
(if (not (functionp lls/target-init-fun)) (if (null comp-dev/init-functions)
(error "Please register an init function for llvm") (error "Please register an init function for llvm")
(comp-dev/initialize)))) (comp-dev/initialize))))