]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Merge pull request #26 from dantesun/master
authorHynek Schlawack <hs@ox.cx>
Fri, 27 Jun 2014 09:55:45 +0000 (11:55 +0200)
committerHynek Schlawack <hs@ox.cx>
Fri, 27 Jun 2014 09:55:45 +0000 (11:55 +0200)
set shiftwidth,tabstop and softtabstop to 4

Fixes #9 too.

indent/python.vim

index 461e962adb88237248d845280e60aefa93f33611..0f58516bc995c80c57da79d5a856904f6dc58626 100644 (file)
@@ -16,6 +16,9 @@ setlocal nolisp
 setlocal autoindent
 setlocal indentexpr=GetPythonPEPIndent(v:lnum)
 setlocal indentkeys=!^F,o,O,<:>,0),0],0},=elif,=except
+setlocal tabstop=4
+setlocal softtabstop=4
+setlocal shiftwidth=4
 
 let s:maxoff = 50
 let s:block_rules = {