]> 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 #25 from 5t111111/fix-when-space-in-filepath
authorVincent Driessen <vincent@3rdcloud.com>
Sun, 27 Apr 2014 13:30:18 +0000 (15:30 +0200)
committerVincent Driessen <vincent@3rdcloud.com>
Sun, 27 Apr 2014 13:30:18 +0000 (15:30 +0200)
Failed when a file path has space in it.

ftplugin/python_flake8.vim

index 710abf7d97acf3d29a3a1ad750aeaf5c66a3248c..38bb6f7da9b71af7b5c86f831f28983fd0690980 100644 (file)
@@ -64,7 +64,7 @@ if !exists("*Flake8()")
         " perform the grep itself
         let &grepformat="%f:%l:%c: %m\,%f:%l: %m"
         let &grepprg=s:flake8_cmd.s:flake8_builtins_opt.s:flake8_ignores.s:flake8_max_line_length.s:flake8_max_complexity
-        silent! grep! %
+        silent! grep! "%"
 
         " restore grep settings
         let &grepformat=l:old_gfm