about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2015-12-03 15:18:35 +0100
committeraszlig <aszlig@redmoonstudios.org>2015-12-03 15:18:35 +0100
commit1f7326b0ff12bcd01a10d73f5406ee07060c12be (patch)
tree3f2922d3122533e4f671701abed1fedccf4d8b40 /modules
parent05a37f622e93e149dab63355b870a7c1c38f458d (diff)
programs/vim: Fix execution of flake8 command.
Got a bit annoying over time to constantly get command-not-found errors,
so it's time to fix it.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'modules')
-rw-r--r--modules/user/aszlig/programs/vim/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/user/aszlig/programs/vim/default.nix b/modules/user/aszlig/programs/vim/default.nix
index 231e00ea..de18693b 100644
--- a/modules/user/aszlig/programs/vim/default.nix
+++ b/modules/user/aszlig/programs/vim/default.nix
@@ -270,6 +270,7 @@ let
     let python_highlight_numbers = 1
     let python_highlight_builtins = 1
     let python_highlight_exceptions = 1
+    let g:flake8_cmd = '${pkgs.pythonPackages.flake8}/bin/flake8'
 
     " all plugins
     set runtimepath^=${plugins}