I found interesting code on GitHub at https://github.com/google/styleguide/blob/gh-pages/google_python_style.vim
I would like to use it, but when I just dropped it in my .vimrc, it interfered with editing of other kinds of code such as C. How do I associate it with Python code only?
.vim/after, it should be on your runtimepath. See:help runtimepathfor all the things that can be in it which are invoked automatically or by special commands like:compiler– D. Ben Knoble Feb 16 '23 at 15:30