 
 (use-package counsel :straight t :demand t
   :bind (("M-x" . counsel-M-x)))
+
+;; (use-package systemd-mode :straight t)
+
+(use-package systemd :straight t)
 
 (use-package ivy :straight t :demand t :diminish ivy-mode
   :init

  :hook ((crystal-mode . lsp)
         (tuareg-mode . lsp)
         (kotlin-mode . lsp)
         (typescript-mode . lsp)
         (js-mode . lsp)
         (rust-mode . lsp)


(use-package lsp-mode
  :straight t
  :config
  (lsp-register-custom-settings
   '(("rust-analyzer.procMacro.enable" t t)
     ("rust-analyzer.cargo.loadOutDirsFromCheck" t t)
     ("gopls.completeUnimported" t t)
     ("gopls.staticcheck" t t)
     ("gopls.experimentalDiagnosticsDelay" "250ms" t)
     ("gopls.experimentalPackageCacheKey" t t)
     ("gopls.experimentalWorkspaceModule" t t)))
  :init
  (setq lsp-rust-server 'rust-analyzer
        read-process-output-max (* 1024 1024)
