   (when (file-remote-p dir)
     (with-parsed-tramp-file-name dir file
       `( ,file-host ,file-localname
-                   ,(tramp-make-tramp-file-name
-                     file-method file-user file-host "")
-                   ))))
+                    ,(tramp-make-tramp-file-name
+                      file-method file-user file-host "")
+                    ))))
 
 (defun profile--compute-remote-subdir-stem ()
   "Helper function that computes a remote project's stem in a format

;; Author: Dan Harms <danielrharms@gmail.com>
;; Created: Saturday, February 28, 2015
;; Version: 1.0
;; Modified Time-stamp: <2016-05-12 17:04:46 dharms>
;; Keywords:

;; This program is free software; you can redistribute it and/or modify

            (mapcar (lambda(x) (concat "-I" (expand-file-name x)))
                    (profile-current-get 'include-files))
            (list `,(concat "-I"
                            (profile-current-get 'remote-prefix)
                            (directory-file-name
                             (expand-file-name
                              (profile-current-get 'project-root-dir)))))
            (profile-current-get 'compiler-include-dirs)
            )))
    ;; set flycheck for c++
