feat(nvim): add riscv syntax highlighting
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
dbc1d3435c
commit
cd4f7d8f94
3 changed files with 29 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
||||||
lib,
|
lib,
|
||||||
nvim-theme-src,
|
nvim-theme-src,
|
||||||
coc-stylelintplus,
|
coc-stylelintplus,
|
||||||
|
vimplugin-riscv-src,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (config.vars) neovimIde;
|
inherit (config.vars) neovimIde;
|
||||||
|
@ -250,6 +251,10 @@ in {
|
||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
(pkgs.vimUtils.buildVimPlugin {
|
||||||
|
name = "riscv-asm";
|
||||||
|
src = vimplugin-riscv-src;
|
||||||
|
})
|
||||||
])
|
])
|
||||||
# Treesitter
|
# Treesitter
|
||||||
++ (with pkgs.vimPlugins; [
|
++ (with pkgs.vimPlugins; [
|
||||||
|
|
17
flake.lock
17
flake.lock
|
@ -1520,6 +1520,7 @@
|
||||||
"spotifywm-src": "spotifywm-src",
|
"spotifywm-src": "spotifywm-src",
|
||||||
"touch-gestures-src": "touch-gestures-src",
|
"touch-gestures-src": "touch-gestures-src",
|
||||||
"trash-d-src": "trash-d-src",
|
"trash-d-src": "trash-d-src",
|
||||||
|
"vimplugin-riscv-src": "vimplugin-riscv-src",
|
||||||
"xresources-theme-src": "xresources-theme-src"
|
"xresources-theme-src": "xresources-theme-src"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1757,6 +1758,22 @@
|
||||||
"type": "github"
|
"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": {
|
"wlroots": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|
|
@ -333,6 +333,13 @@
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vimplugin-riscv-src = {
|
||||||
|
type = "github";
|
||||||
|
owner = "henry-hsieh";
|
||||||
|
repo = "riscv-asm-vim";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
|
|
||||||
## Overlays
|
## Overlays
|
||||||
spotifywm-src = {
|
spotifywm-src = {
|
||||||
# FIXME: remove this input once this gets merged: https://github.com/NixOS/nixpkgs/pull/261501
|
# FIXME: remove this input once this gets merged: https://github.com/NixOS/nixpkgs/pull/261501
|
||||||
|
|
Loading…
Reference in a new issue