In a medium saucepan, combine sugar, water, and butter. Heat the mixture over medium heat and cook for 15 minutes stirring occasionally. Remove from heat, add vanilla and salt and stir. Use immediately over pancakes, waffles, or French toast. Store leftover syrup in the refrigerator for up to 1 week. Reheat syrup before using.