@@ -1447,3 +1447,29 @@ (define-public neovim-gas
(arguments
(list #:install-plan
#~'(("syntax" "share/nvim/site/pack/guix/start/gas/"))))))
+
+(define-public vim-riscv
+ (let ((commit "b471644ee06698940f121d7a9af6a579a7390e85")
+ (revision "0"))
+ (package
+ (name "vim-riscv")
+ (version (git-version "0.0.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/kylelaker/riscv.vim")
+ (commit commit)))
+ (sha256
+ (base32
+ "0cfr2jvjc98c4hfjjddx1y4gqxmbcva5gka94dz4m4ycxg69yiky"))))
+ (build-system copy-build-system)
+ (arguments
+ (list #:install-plan
+ #~'(("ftdetect" "share/vim/vimfiles/")
+ ("syntax" "share/vim/vimfiles/"))))
+ (home-page "https://github.com/kylelaker/riscv.vim")
+ (synopsis "RISC-V syntax highlighting for Vim")
+ (description
+ "This package provides syntax highlighting for RISC-V assembly
+language in Vim.")
+ (license license:expat))))