mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-09 12:49:45 -05:00
gnu: vim-tagbar: Add ctags fallback location.
* gnu/packages/vim.scm (vim-tagbar)[arguments]: Add fill path to ctags as fallback location. [inputs]: Add universal-ctags.
This commit is contained in:
parent
9d9fa800b3
commit
1a80b8909a
1 changed files with 13 additions and 1 deletions
|
@ -43,6 +43,7 @@ (define-module (gnu packages vim)
|
||||||
#:use-module (gnu packages attr)
|
#:use-module (gnu packages attr)
|
||||||
#:use-module (gnu packages autotools)
|
#:use-module (gnu packages autotools)
|
||||||
#:use-module (gnu packages base)
|
#:use-module (gnu packages base)
|
||||||
|
#:use-module (gnu packages code)
|
||||||
#:use-module (gnu packages enlightenment)
|
#:use-module (gnu packages enlightenment)
|
||||||
#:use-module (gnu packages fontutils)
|
#:use-module (gnu packages fontutils)
|
||||||
#:use-module (gnu packages gawk)
|
#:use-module (gnu packages gawk)
|
||||||
|
@ -1273,7 +1274,18 @@ (define-public vim-tagbar
|
||||||
'(("autoload" "share/vim/vimfiles/")
|
'(("autoload" "share/vim/vimfiles/")
|
||||||
("doc" "share/vim/vimfiles/")
|
("doc" "share/vim/vimfiles/")
|
||||||
("plugin" "share/vim/vimfiles/")
|
("plugin" "share/vim/vimfiles/")
|
||||||
("syntax" "share/vim/vimfiles/"))))
|
("syntax" "share/vim/vimfiles/"))
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'link-univerisal-ctags
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(let ((ctags (assoc-ref inputs "universal-ctags")))
|
||||||
|
(substitute* "autoload/tagbar.vim"
|
||||||
|
(("(.*)universal-ctags']" all leader)
|
||||||
|
(string-append all "\n"
|
||||||
|
leader ctags "/bin/ctags']")))))))))
|
||||||
|
(inputs
|
||||||
|
`(("universal-ctags" ,universal-ctags)))
|
||||||
(home-page "https://github.com/preservim/tagbar")
|
(home-page "https://github.com/preservim/tagbar")
|
||||||
(synopsis "Vim plugin that displays tags in a window, ordered by scope")
|
(synopsis "Vim plugin that displays tags in a window, ordered by scope")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue