jfeltz / projectile-load-settings

Project specific elisp settings for projectile projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

projectile-load-settings

Load project specific elisp settings with projectile project.

#FAQ

Why don't all my settings work after switching projects?

For some commands such as projectile-switch-project a project file may be visited before settings are loaded by projectile-switch-project-hook.

In that case, you may have to reset those modes to get them to work with the loaded settings. E.g:

; in project-settings.el
(if (string= major-mode "c++-mode") (c++-mode)) 

Will reset c++-mode for the opened file. Please note that this only works for modes that allow for such a reset. The other solution is not to open a file as the action immediately following projectile-switch-project, until your settings have loaded.

About

Project specific elisp settings for projectile projects


Languages

Language:Emacs Lisp 100.0%