Emacs: projectile: Some variables can't be customized …

… but have to be setq-ed, apparently.
This commit is contained in:
tastytea 2021-01-07 23:50:23 +01:00
parent 7585e1944a
commit a3bb6c8d13

View File

@ -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