all repos — nixfiles @ c6eecb147cb88530f726a557b552cb5077449693

System and user configuration, managed by nix and home-manager

dev: add basic lua setup
Alan Pearce alan@alanpearce.eu
Mon, 01 May 2023 17:33:29 +0200
commit

c6eecb147cb88530f726a557b552cb5077449693

parent

894e28028f2eb3c0e92d61725a5b2993a634763b

3 files changed, 6 insertions(+), 0 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -1048,6 +1048,7 @@ yaml-mode-hook             js-mode-hook
             css-mode-hook
             go-mode-hook
+            lua-mode-hook
             scss-mode-hook
             html-mode-hook
             nix-mode-hook
M user/settings/development/base.nixuser/settings/development/base.nix
@@ -17,6 +17,7 @@ python3Packages.yamllint       nodePackages.dockerfile-language-server-nodejs
       nodePackages.vscode-json-languageserver
       nodePackages.yaml-language-server
+      lua-language-server
       multimarkdown
       interactively
 
M user/settings/neovim.nixuser/settings/neovim.nix
@@ -38,6 +38,10 @@ nix = {             command = "${pkgs.nil}/bin/nil";
             filetypes = [ "nix" ];
           };
+          lua = {
+            command = "${pkgs.lua-language-server}/bin/lua-language-server";
+            filetypes = [ "lua" ];
+          };
         };
       };
     };