From d82236d026d9d5cc4621c4573deed3289120c844 Mon Sep 17 00:00:00 2001 From: Uko Kokņevičs Date: Sun, 9 Mar 2025 21:38:01 +0200 Subject: company-mlton, sml-mode: Make company-mlton child of sml-mode --- init.el | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index 7f863e5..0827874 100644 --- a/init.el +++ b/init.el @@ -228,11 +228,6 @@ :mode ("CMakeLists\\.txt\\'" "\\.cmake\\'")) -(use-package company-mlton - :straight '(company-mlton :host github - :repo "MatthewFluet/company-mlton") - :hook (sml-mode . company-mlton-init)) - (use-package company :straight t :custom @@ -666,7 +661,13 @@ (use-package sml-mode :straight t - :mode "\\.sml\\'") + :mode "\\.sml\\'" + :init + (use-package company-mlton + :after company + :straight '(company-mlton :host github + :repo "MatthewFluet/company-mlton") + :hook (sml-mode . company-mlton-init))) (use-package solaire-mode :straight t -- cgit v1.2.3