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

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:

Fix indent with pythonTodo at end of line (#124)
authorDaniel Hahler <git@thequod.de>
Sat, 11 May 2019 13:10:47 +0000 (15:10 +0200)
committerGitHub <noreply@github.com>
Sat, 11 May 2019 13:10:47 +0000 (15:10 +0200)
commit68c34f9b2944a9ebf1f970d2d54b915806a121ad
tree3038f6173fdb2a4ddaf1c42684a16c5e416cc77c
parent84f35c0a4f3fcb8a816785e02983732c4a1dcc99
Fix indent with pythonTodo at end of line (#124)

"pythonTodo" is contained in "pythonComment".
Fix it by adding "pythonTodo" to the pattern to match special chars.

An alternative might be using `synstack()` to get to "pythonComment"
still, but this is not really necessary (and likely slower).
indent/python.vim
spec/indent/indent_spec.rb