 
 (use-package rust-mode
   :config (progn
-	    (setq rust-format-on-save t)))
+            (setq rust-format-on-save t)))
 
 (unless (fboundp 'xref-push-marker-stack)
   (defalias 'xref-pop-marker-stack 'pop-tag-mark)

    :ensure company-go
    :config (add-to-list 'company-backends 'company-go))
  (add-hook 'go-mode-hook
	    (lambda ()
	      (set (make-local-variable 'company-backends) '(company-go))
	      (company-mode))))

(setq aim/prefer-ac-complete nil)



(setq vc-ignore-dir-regexp
      (format "\\(%s\\)\\|\\(%s\\)"
              vc-ignore-dir-regexp
              tramp-file-name-regexp))

(defmacro with-x-environment (&rest body)
  `(let ((process-environment
          (cons (concat "DISPLAY=" (getenv "DISPLAY" (selected-frame)))
                process-environment)))
     (if (getenv "XAUTHORITY" (selected-frame))
         (setq process-environment
               (cons (concat "XAUTHORITY=" (getenv "XAUTHORITY" (selected-frame)))
                     process-environment)))
     ,@body))

(defun x-terminal-copy (text)
