feat(nvim): add riscv syntax highlighting
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-03-11 09:12:47 -04:00
parent dbc1d3435c
commit cd4f7d8f94
3 changed files with 29 additions and 0 deletions

View file

@ -4,6 +4,7 @@
lib,
nvim-theme-src,
coc-stylelintplus,
vimplugin-riscv-src,
...
}: let
inherit (config.vars) neovimIde;
@ -250,6 +251,10 @@ in {
EOF
'';
}
(pkgs.vimUtils.buildVimPlugin {
name = "riscv-asm";
src = vimplugin-riscv-src;
})
])
# Treesitter
++ (with pkgs.vimPlugins; [

View file

@ -1520,6 +1520,7 @@
"spotifywm-src": "spotifywm-src",
"touch-gestures-src": "touch-gestures-src",
"trash-d-src": "trash-d-src",
"vimplugin-riscv-src": "vimplugin-riscv-src",
"xresources-theme-src": "xresources-theme-src"
}
},
@ -1757,6 +1758,22 @@
"type": "github"
}
},
"vimplugin-riscv-src": {
"flake": false,
"locked": {
"lastModified": 1708141837,
"narHash": "sha256-9OByJMfa85gu98g8rGJKtDgXqQdzZ8pc0du4UVomeqY=",
"owner": "henry-hsieh",
"repo": "riscv-asm-vim",
"rev": "4a287063af666292af74d912fd97b7af5fa32925",
"type": "github"
},
"original": {
"owner": "henry-hsieh",
"repo": "riscv-asm-vim",
"type": "github"
}
},
"wlroots": {
"flake": false,
"locked": {

View file

@ -333,6 +333,13 @@
flake = false;
};
vimplugin-riscv-src = {
type = "github";
owner = "henry-hsieh";
repo = "riscv-asm-vim";
flake = false;
};
## Overlays
spotifywm-src = {
# FIXME: remove this input once this gets merged: https://github.com/NixOS/nixpkgs/pull/261501