diff options
author | Teddy Wing | 2014-11-18 17:02:00 -0500 |
---|---|---|
committer | Teddy Wing | 2014-11-18 17:04:20 -0500 |
commit | 7e08eb7a582cab05bf6b21e28649371b5a662388 (patch) | |
tree | 3ef7526b45e8ff0c0424fd053743724f94a68a68 /ftplugin | |
parent | 86b481a79e92bc50b2bd9031ff585b7ab5795f1c (diff) | |
download | dotvim-7e08eb7a582cab05bf6b21e28649371b5a662388.tar.bz2 |
ftplugin/python.vim: Set textwidth to 79 columns
Comply with PEP8 style guidelines by setting a max line width of 79
columns). Should make it easier to write Python code without having to
watch the column count myself.
Diffstat (limited to 'ftplugin')
-rw-r--r-- | ftplugin/python.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ftplugin/python.vim b/ftplugin/python.vim index 5b39a24..811f03a 100644 --- a/ftplugin/python.vim +++ b/ftplugin/python.vim @@ -7,6 +7,9 @@ setlocal softtabstop=4 setlocal shiftwidth=4 +setlocal textwidth=79 + + " Don't preserve indentation on empty lines inoremap <buffer> <CR> <CR> nnoremap <buffer> o o |