   (csetq ediff-split-window-function #'split-window-horizontally)
   (csetq ediff-window-setup-function #'ediff-setup-windows-plain))
 
-(use-package eglot
-  :disabled
-  :hook ((c-mode-common . eglot-ensure)
-         (python-mode . eglot-ensure))
-  :init
-  (csetq eglot-events-buffer-size 0)
-  :config
-
-  (cl-defmethod eglot-initialization-options ((server eglot-cquery))
-    "Passes through required cquery initialization options"
-    (let* ((root (car (project-roots (eglot--project server))))
-           (cache (expand-file-name ".cquery_cached_index/" root)))
-      (list :cacheDirectory (file-name-as-directory cache)
-            :progressReportFrequencyMs -1
-            :diagnostics (list :onType :json-false)
-            :completion (list :detailedLabel t)
-            )))
-
-  (csetq eglot-ignored-server-capabilites
-         '(:documentHighlightProvider
-           :foldingRangeProvider
-           :documentOnTypeFormattingProvider
-           :codeLensProvider
-           :documentLinkProvider
-           :colorProvider))
-
-  (add-to-list 'eglot-server-programs
-               '((c++-mode c-mode) . (eglot-cquery "cquery"))))
-
 (use-package eshell
   :ensure nil
   :defer t

    (csetq lsp-eldoc-hook (delete #'lsp-document-highlight lsp-eldoc-hook))

    (add-hook 'lsp-mode-hook #'lsp-ui-mode)))

(use-package lsp-python
  :disabled
  :after lsp-mode
  :hook (python-mode . lsp))

(use-package magit
  :bind (("C-x g" . magit-status))

  (csetq eshell-ls-dired-initial-args (quote ("-h")))
  (csetq eshell-ls-exclude-regexp "~\\'")
  (csetq eshell-ls-initial-args "-h")
  (csetq eshell-stringify-t nil))

(use-package esh-module
