nixos-configuration/users/jrpotter/lang/lua.nix

17 lines
283 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
home.packages = with pkgs;[
lua-language-server
];
programs.neovim = {
nvim-lspconfig = ''
2024-01-04 17:01:01 +00:00
require('lua.init').nvim_lspconfig()
'';
2024-01-05 16:58:57 +00:00
nvim-snippets = ''
require('luasnip').add_snippets('lua', require('lua.snippets'))
'';
};
}