Initially I thought to highlight everything past a colon as a type. This worked great for my style of programming but in the Nim repository it is far too often normal code after a colon. The new heuristic is, everything starting with a capital letter is a type. Makes constants such as Pi highlighted as types as well.
Initially I thought to highlight everything past a colon as a type. This worked great for my style of programming but in the Nim repository it is far too often normal code after a colon. The new heuristic is, everything starting with a capital letter is a type. Makes constants such as
Pi
highlighted as types as well.