Helper function add-interpreter-mode for adding modes to interpreter-mode-alist
In C/C++ method navigation should be bound to navigation map