summary refs log tree commit diff
path: root/pkgs/applications/editors/vim
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2013-12-28 19:27:56 -0600
committerThomas Tuegel <ttuegel@gmail.com>2014-01-01 09:30:57 -0600
commitdd0f48ed98ef61049c82b3b31267d391f7b1d8ae (patch)
treee7cec708ada8fcb7cfa4a5c2c2f5243e788f3f00 /pkgs/applications/editors/vim
parent506a30418125d69b22a7e52c1d9dbe5f3bb7450c (diff)
downloadnixpkgs-dd0f48ed98ef61049c82b3b31267d391f7b1d8ae.tar
nixpkgs-dd0f48ed98ef61049c82b3b31267d391f7b1d8ae.tar.gz
nixpkgs-dd0f48ed98ef61049c82b3b31267d391f7b1d8ae.tar.bz2
nixpkgs-dd0f48ed98ef61049c82b3b31267d391f7b1d8ae.tar.lz
nixpkgs-dd0f48ed98ef61049c82b3b31267d391f7b1d8ae.tar.xz
nixpkgs-dd0f48ed98ef61049c82b3b31267d391f7b1d8ae.tar.zst
nixpkgs-dd0f48ed98ef61049c82b3b31267d391f7b1d8ae.zip
vim: enable support for Lua
Diffstat (limited to 'pkgs/applications/editors/vim')
-rw-r--r--pkgs/applications/editors/vim/configurable.nix13
1 files changed, 12 insertions, 1 deletions
diff --git a/pkgs/applications/editors/vim/configurable.nix b/pkgs/applications/editors/vim/configurable.nix
index 28e610f27f9..f8e717d6089 100644
--- a/pkgs/applications/editors/vim/configurable.nix
+++ b/pkgs/applications/editors/vim/configurable.nix
@@ -87,7 +87,17 @@ composableDerivation {
 
       // edf { name = "tcl"; enable = { nativeBuildInputs = [tcl]; }; } #Include Tcl interpreter.
       // edf { name = "ruby"; feat = "rubyinterp"; enable = { nativeBuildInputs = [ruby]; };} #Include Ruby interpreter.
-      // edf { name = "lua" ; feat = "luainterp"; enable = { nativeBuildInputs = [lua]; configureFlags = ["--with-lua-prefix=${args.lua}"];};}
+      // edf {
+        name = "lua";
+        feat = "luainterp";
+        enable = {
+          nativeBuildInputs = [lua];
+          configureFlags = [
+            "--with-lua-prefix=${args.lua}"
+            "--enable-luainterp"
+          ];
+        };
+      }
       // edf { name = "cscope"; } #Include cscope interface.
       // edf { name = "workshop"; } #Include Sun Visual Workshop support.
       // edf { name = "netbeans"; } #Disable NetBeans integration support.
@@ -102,6 +112,7 @@ composableDerivation {
       ;
 
   cfg = {
+    luaSupport       = config.vim.lua or true;
     pythonSupport    = config.vim.python or true;
     rubySupport      = config.vim.ruby or true;
     nlsSupport       = config.vim.nls or false;