Message ID | cd1a382fd5034e697bca86428cfd2d07dc11b76f.1670891520.git.me@jonscoresby.com |
---|---|
State | New |
Headers | show |
Series | vim-build-system | expand |
Could you please add a note to the second commit explaining why exactly it's needed? -- (
> On 12/13/2022 12:06 MST ( <paren@disroot.org> wrote: > > > Wow, this is really nice work! :D Thanks! > Could you please add a note to the second commit explaining why exactly > it's needed? Sorry, do you mean to the commit message or to the file itself? Thank you for the review.
On Tue Dec 13, 2022 at 10:10 PM GMT, Jonathan Scoresby wrote:
> Sorry, do you mean to the commit message or to the file itself?
To the commit message, please.
-- (
diff --git a/gnu/packages/aux-files/guix.vim b/gnu/packages/aux-files/guix.vim index 9397c53701..7e7f8d653a 100644 --- a/gnu/packages/aux-files/guix.vim +++ b/gnu/packages/aux-files/guix.vim @@ -1,13 +1,7 @@ -" This appends all of the vim plugins to the end of Vim's runtimepath. +" This apends all applicable vim paths to the end of packagepath for directory in ["/run/current-system/profile", $HOME . "/.guix-profile", $HOME ."/.guix-home/profile", $GUIX_PROFILE, $GUIX_ENVIRONMENT] let vimplugins = directory . "/share/vim/vimfiles" if isdirectory(vimplugins) - let &rtp = join([&rtp,vimplugins], ',') + let &pp = join([&pp,vimplugins], ',') endif endfor -" Unconditionally add */after directories last, as intended by upstream -" TODO: Remove duplicate */after directories -for directory in [$VIM . "/vimfiles", $HOME ."/.vim"] - let vimplugins = directory . "/after" - let &rtp = join([&rtp,vimplugins], ',') -endfor