I know a little bit of autocmd
and use it for few things. Currently, I have
au BufNewFile,BufRead *.inc set filetype=sql
au BufNewFile,BufRead *.tbl set filetype=sql
Reading the man page, the general syntax is
:autocmd [group] {events} {file_pattern} [nested] {command}
I would like to know, whether I can combine the above 2 statements in a single lin i.e. how can we specify more that one file extension in the file_pattern section? The man page doesn't say about this, but I believe it can be comma or space separated. Any hints?