summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
authorAlan Pearce2023-05-01 17:33:29 +0200
committerAlan Pearce2023-05-05 21:08:16 +0200
commitc6eecb147cb88530f726a557b552cb5077449693 (patch)
tree503bc68fee7e39adedfbc87eb950ebb25e5d59c3 /user/settings
parent894e28028f2eb3c0e92d61725a5b2993a634763b (diff)
downloadnixfiles-c6eecb147cb88530f726a557b552cb5077449693.tar.lz
nixfiles-c6eecb147cb88530f726a557b552cb5077449693.tar.zst
nixfiles-c6eecb147cb88530f726a557b552cb5077449693.zip
dev: add basic lua setup
Diffstat (limited to 'user/settings')
-rw-r--r--user/settings/development/base.nix1
-rw-r--r--user/settings/neovim.nix4
2 files changed, 5 insertions, 0 deletions
diff --git a/user/settings/development/base.nix b/user/settings/development/base.nix
index 51aa0447..32a52edf 100644
--- a/user/settings/development/base.nix
+++ b/user/settings/development/base.nix
@@ -17,6 +17,7 @@ in
       nodePackages.dockerfile-language-server-nodejs
       nodePackages.vscode-json-languageserver
       nodePackages.yaml-language-server
+      lua-language-server
       multimarkdown
       interactively
 
diff --git a/user/settings/neovim.nix b/user/settings/neovim.nix
index d86f403f..be64bc93 100644
--- a/user/settings/neovim.nix
+++ b/user/settings/neovim.nix
@@ -38,6 +38,10 @@
             command = "${pkgs.nil}/bin/nil";
             filetypes = [ "nix" ];
           };
+          lua = {
+            command = "${pkgs.lua-language-server}/bin/lua-language-server";
+            filetypes = [ "lua" ];
+          };
         };
       };
     };