Is there a way to configure Emacs to activate lsp-mode for some projects and ggtags for other projects? Maybe using .dir-locals.el?
I code C++ and the project I most often work on doesn't support lsp-mode (I'm unable to create a working compile_commands.json because of unusual project structure). In this project I use ggtags. But when I work on other C++-projects I would like to use lsp-mode instead. But all configurations I have seen all load lsp-mode or ggtags based on prog-mode (c++-mode etc) and not on specific project.