magit and lua modes