neovim: Add vim-nix-rummik

This change enables syntax highlighting of Nix strings with comments.
This commit is contained in:
Donovan Glover 2023-06-10 20:06:20 -04:00
parent 73282e699b
commit 53685b9e5e
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,4 +1,15 @@
{pkgs, ...}: {
{pkgs, ...}: let
vim-nix-rummik = pkgs.vimUtils.buildVimPluginFrom2Nix {
pname = "vim-nix";
version = "0def8020f152a51c011a707680780dac61a8989a";
src = pkgs.fetchFromGitHub {
owner = "rummik";
repo = "vim-nix";
rev = "0def8020f152a51c011a707680780dac61a8989a";
sha256 = "sha256-Q+Jx6/MgeE2hsd/a6FqfXpAOaRcNymZW6t75hYCcH4E=";
};
};
in {
programs.neovim.enable = true;
home-manager.sharedModules = [
@ -249,6 +260,7 @@
neoformat
bufdelete-nvim
vim-crystal
vim-nix-rummik
];
};