JesseKPhillips / d.vim

Vim Syntax highlighting file for the D Programming Language

Home Page:http://www.vim.org/scripts/script.php?script_id=379

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keywords that are both storage class and statements are not highlighted appropriately

JesseKPhillips opened this issue · comments

Several keywords (e.g., in, out, inout) are both storage class and statements, depending on their context. Perhaps use pattern matching to figure out which and highlight appropriately. For now I have made such keywords storage classes so their highlighting is consistent with other keywords that are commonly used with them, but are true storage classes, such as lazy. Similarly, I made some statement keywords (e.g. body) storage classes.

-- Jason Mills