guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#57389] [PATCH 16/29] gnu: Add vim-markdown.


From: (
Subject: [bug#57389] [PATCH 16/29] gnu: Add vim-markdown.
Date: Wed, 24 Aug 2022 18:08:43 +0100

* gnu/packages/vim.scm (vim-markdown): New variable.
---
 gnu/packages/vim.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 045cfe3c6c..a85c8fa01d 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1680,3 +1680,34 @@ (define-public neovim-cmp-luasnip
        "This package adds a LuaSnip source for the @code{neovim-cmp}
 completion engine, allowing auto-completion of code snippets.")
       (license license:asl2.0))))
+
+(define-public vim-markdown
+  ;; Latest tag is over 7 years old.
+  (let ((commit "3a9643961233c2812816078af8bd1eaabc530dce")
+        (revision "0"))
+    (package
+      (name "vim-markdown")
+      (version (git-version "2.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/preservim/vim-markdown";)
+                      (commit commit)))
+                (sha256
+                 (base32
+                  "1yw8d1c5mjkjs93nby9xfx4jwxnb8zq36p1p7ciq808xzks42994"))))
+      (build-system copy-build-system)
+      (arguments
+       (list #:install-plan
+             #~'(("after" "share/vim/vimfiles/")
+                 ("doc" "share/vim/vimfiles/")
+                 ("ftdetect" "share/vim/vimfiles/")
+                 ("ftplugin" "share/vim/vimfiles/")
+                 ("indent" "share/vim/vimfiles/")
+                 ("syntax" "share/vim/vimfiles/"))))
+      (home-page "https://github.com/preservim/vim-markdown";)
+      (synopsis "Better Markdown support for Vim")
+      (description
+       "This package provides better syntax highlighting, indentation,
+and interactions (folding, concealing, keymaps) for Markdown in Vim.")
+      (license license:expat))))
-- 
2.37.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]