Any way to save grid settings per document?

Let’s suppose there are different types of documents on my device, which are in need of individual grid snapping settings. So far, I have to edit grid resolution each time before I touch any of those, otherwise the snapping becomes irrelevant.

I’m not very familiar with templates, but could creating different templates with respective grid settings solve the problem?

Grid settings are in Tools > Settings > LibreOffice Writer > Grid, and they are pretty global, for all I know.