74e43e5e283e5d7ad2d4cfef431ee1c6f260541b — unwox 1 year, 4 months ago ab687be
add vim-autopairs package
1 files changed, 40 insertions(+), 1 deletions(-)

M guixrus/packages/vim.scm
M guixrus/packages/vim.scm => guixrus/packages/vim.scm +40 -1
@@ 1,7 1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2022 (unmatched parenthesis <paren@disroot.org>
;;; Copyright © 2022 unwox <me@unwox.com>
;;; Copyright © 2022,2023 unwox <me@unwox.com>
;;; Copyright © 2023 Kitty-Cricket Piapiac <kitty@piapiac.org>
;;; This file is not part of GNU Guix.

@@ 712,3 712,42 @@ possible.")
(syntax checking and semantic errors) in NeoVim 0.2.0+ and Vim 8 while you edit
your text files, and acts as a Vim Language Server Protocol client.")
    (license license:bsd-2)))

(define-public vim-autopairs
    (name "vim-autopairs")
    (version "2.0.0")
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/jiangmiao/auto-pairs")
              (commit (string-append "v" version))))
       (file-name (git-file-name name version))
        (base32 "0pxrsmrcnci2k3crmj6ldb0faiai5f9ic1ywx513v148cl4vh8h1"))))
    (build-system copy-build-system)
       '(("doc" "share/vim/vimfiles/")
         ("plugin" "share/vim/vimfiles/"))))
    (home-page "https://github.com/jiangmiao/auto-pairs")
    (synopsis "Automatic insertion and deletion of brackets, parens, quotes in Vim")
    (description "Insert or delete brackets, parens, quotes in pair.

@item Insert in pair
@item Delete in pair
@item Insert new indented line after Return
@item Insert spaces before closing characters, only for [], (), {}
@item Skip ' when inside a word
@item Skip closed bracket.
@item Ignore auto pair when previous character is \
@item Fast Wrap
@item Quick move char to closed pair
@item Quick jump to closed pair.
@item Fly Mode
@item Multibyte Pairs
@end itemize")
    (license license:expat)))