In a frying pan or small wok on medium high heat, add the oil and the chopped onions. Saute until it becomes translucent.
Then add the ginger garlic paste and saute for 30 seconds.
Add in the diced tomatoes along with the spices- salt, red chili powder, turmeric, cumin powder and coriander powder.
Add 1/4 cup water, stir and saute until the tomatoes soften and oil starts to appear on the sides. You may need to keep adding water.
Then finally add the tarka or the spiced oil to the boiled brown lentils.
Now turn on the heat to medium under the brown lentils and let it simmer for 15-20 minutes, stir occasionally.
Finally turn off the heat, add 1 tablespoon of vinegar.
Give it a taste test and adjust salt if needed.
Serve hot with naan, roti, parathas or even rice.