From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6ye1-00068h-Va for guix-patches@gnu.org; Sat, 06 May 2017 08:17:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6ydy-0004Kg-Nt for guix-patches@gnu.org; Sat, 06 May 2017 08:17:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59079) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d6ydy-0004KY-KB for guix-patches@gnu.org; Sat, 06 May 2017 08:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d6ydy-0005qf-F9 for guix-patches@gnu.org; Sat, 06 May 2017 08:17:02 -0400 Subject: bug#26800: Add vim-syntastic + neovim-syntastic Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6ydb-0005zd-EF for guix-patches@gnu.org; Sat, 06 May 2017 08:16:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6ydY-0004Ar-76 for guix-patches@gnu.org; Sat, 06 May 2017 08:16:39 -0400 Received: from 93-95-228-241.1984.is ([93.95.228.241]:42578 helo=sharknado9001.pragmatique.xyz) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d6ydX-00049n-OK for guix-patches@gnu.org; Sat, 06 May 2017 08:16:36 -0400 Received: by sharknado9001.pragmatique.xyz (OpenSMTPD) with ESMTPSA id dfdb2d5c (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Sat, 6 May 2017 12:16:22 +0000 (UTC) Date: Sat, 6 May 2017 12:16:29 +0000 From: ng0 Message-ID: <20170506121629.xhu2egx3wp3pnnfe@abyayala> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="tgtzom4kqnyblpl3" Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26800@debbugs.gnu.org --tgtzom4kqnyblpl3 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline This adds vim-syntastic, it builds and if memory serves me right I have tested it on vim and neovim. Given the recent vim failure and switching back to emacs, someone should give both plugins a try before it is applied. -- https://pragmatique.xyz PGP: https://people.pragmatique.xyz/ng0/ --tgtzom4kqnyblpl3 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-Add-vim-syntastic.patch" Content-Transfer-Encoding: quoted-printable =46rom 4e2a50ab1bbda5fe5c4a9cbc264d3cd7de11ccbb Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 15 Apr 2017 17:46:42 +0000 Subject: [PATCH 1/2] gnu: Add vim-syntastic. * gnu/packages/vim.scm (vim-syntastic): New variable. --- gnu/packages/vim.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 5ceb7c831..bb2bf3efb 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -512,6 +512,48 @@ and powerline symbols, etc.") (home-page "https://github.com/vim-airline/vim-airline-themes") (license license:expat)))) =20 +(define-public vim-syntastic + (package + (name "vim-syntastic") + (version "3.8.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/vim-syntastic/syntastic/arc= hive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wsnd9bsp5x6yiw96h1bnd1vyxdkh130hb82kyyxydgsplx92ima")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (vimfiles (string-append out "/share/vim/vimfiles")) + (doc (string-append vimfiles "/doc")) + (plugin (string-append vimfiles "/plugin")) + (autoload (string-append vimfiles "/autoload")) + (syntax-checkers (string-append vimfiles "/syntax_chec= kers"))) + (copy-recursively "doc" doc) + (copy-recursively "autoload" autoload) + (copy-recursively "plugin" plugin) + (copy-recursively "syntax_checkers" syntax-checkers) + #t)))))) + (synopsis "Syntax checking plugin for Vim") + (description + "Vim-syntastic is a syntax checking plugin for Vim. It runs files th= rough +external syntax checkers and displays any resulting errors to the user. T= his +can be done on demand, or automatically as files are saved. If syntax err= ors +are detected, the user is notified.") + (home-page "https://github.com/vim-syntastic/syntastic") + (license license:wtfpl2))) + (define-public neovim (package (name "neovim") --=20 2.12.2 --tgtzom4kqnyblpl3 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0002-gnu-Add-neovim-syntastic.patch" Content-Transfer-Encoding: quoted-printable =46rom 5b878c1144a20e1663bc7fabf88ddbf4eaa44722 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 15 Apr 2017 17:46:43 +0000 Subject: [PATCH 2/2] gnu: Add neovim-syntastic. * gnu/packages/vim.scm (neovim-syntastic): New variable. --- gnu/packages/vim.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index bb2bf3efb..697c7dedc 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -554,6 +554,36 @@ are detected, the user is notified.") (home-page "https://github.com/vim-syntastic/syntastic") (license license:wtfpl2))) =20 +(define-public neovim-syntastic + (package + (inherit vim-syntastic) + (name "neovim-syntastic") + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (vimfiles (string-append out "/share/nvim/site")) + (doc (string-append vimfiles "/doc")) + (plugin (string-append vimfiles "/plugin")) + (autoload (string-append vimfiles "/autoload")) + (syntax-checkers (string-append vimfiles "/syntax_chec= kers"))) + (copy-recursively "doc" doc) + (copy-recursively "autoload" autoload) + (copy-recursively "plugin" plugin) + (copy-recursively "syntax_checkers" syntax-checkers) + #t)))))) + (synopsis "Syntax checking plugin for Neovim") + (description + "Vim-syntastic is a syntax checking plugin for Neovim. It runs files= through +external syntax checkers and displays any resulting errors to the user. T= his +can be done on demand, or automatically as files are saved. If syntax err= ors +are detected, the user is notified."))) + (define-public neovim (package (name "neovim") --=20 2.12.2 --tgtzom4kqnyblpl3--