add syntax highlighting to declarations (fixes #12)

What happens when `replacement_string` is longer/shorter than `length`?