I've just read something that implied that capitalization falls under the category of grammar. After looking at the definition ("the whole system and structure of a language or of languages in general..etc"), I think he may be right, but...
I feel like I've only ever heard "grammar" used to refer to someone using words correctly in terms of the... meanings of the words(?)
I think some examples might help me more here.
I've always thought something like
"I didn't saw him."
would be a grammatical mistake but that
"i didn't see him"
would not fall under the category of grammar. I know it's capitalization, and I think it might also be considered punctuation. But I've always assumed that something like that would not technically be a grammar mistake. I thought punctuation was completely separate from grammar, except perhaps in scenarios where a punctuation mark would changes the meaning of the words, like with "were" and "we're".
Can anyone clear this up? Are capitalization and punctuation both part of grammar?