diff --git a/init.d/programming/common.el b/init.d/programming/common.el index c2b4be5..406d4a5 100644 --- a/init.d/programming/common.el +++ b/init.d/programming/common.el @@ -104,15 +104,15 @@ Ignores ARGS." (projectile-kill-buffers) (delete-other-windows) (purpose-set-window-purpose-dedicated-p nil nil))) - :custom ((projectile-project-compilation-dir "build") - (projectile-switch-project-action 'my/switch-project) - (projectile-project-configure-cmd - "cmake -GUnix\\ Makefiles -DCMAKE_BUILD_TYPE=Debug \ --DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DWITH_TESTS=YES ..") + :custom ((projectile-switch-project-action 'my/switch-project) (projectile-completion-system 'ivy) (projectile-indexing-method 'hybrid) ; Allow filtering. (projectile-globally-ignored-file-suffixes '("~" "#"))) :config (progn + (setq projectile-project-compilation-dir "build") + (setq projectile-project-configure-cmd + "cmake -GUnix\\ Makefiles -DCMAKE_BUILD_TYPE=Debug \ +-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DWITH_TESTS=YES ..") (setq projectile-project-compilation-cmd (concat "cmake --build . -- -j" (substring