summaryrefslogtreecommitdiff
path: root/app-editors/vim-core/files
AgeCommit message (Collapse)Author
2025-11-16app-editors/vim-core: place a system-vimrc autocommand in the right augroupD. Ben Knoble
This makes it easier to revert the system vimrc (see prior commits) or reload it and avoid duplicate autocommands. While we're here, make the indentation and whitespace consistent with the surrounding file. Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44504 Closes: https://github.com/gentoo/gentoo/pull/44504 Signed-off-by: Sam James <sam@gentoo.org>
2025-11-16app-editors/vim-core: set buffer options locallyD. Ben Knoble
Otherwise, they affect global settings and can bleed into other, subsequently opened buffers without warning. The fileencoding option is also set via a similar pattern, but it is only buffer local, so avoid the :setlocal there (it would be harmless). Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44504 Signed-off-by: Sam James <sam@gentoo.org>
2025-11-16app-editors/vim-core: provide an escape hatch to avoid the system vimrcD. Ben Knoble
It contains some problems or otherwise unnecessary settings for users with highly customized personal configurations. Here's taste of what it takes to disable the system vimrc's effects otherwise: " Undo /etc/vim/vimrc settings first set backspace& autoindent& history& ruler& viminfo& suffixes& numberwidth& set modeline& fileencodings& guifontset& hlsearch& silent! unmap Q " - Skip turning off syntax, since my vimrc is smart enough to already check " t_Co, has('gui_running'), _and_ !exists("g:syntax_on") before calling " `syntax enabled`. " - Skip undoing term settings because they don't apply to me " - Ignore filetype plugin on, even though it comes way too early; I do it again " later. " - &shell should not be empty for me " - I set is_bash set later, fine " Hmph. These autocommand set options like tabstop, shiftwidth, expandtab " globally insetad of locally. Broken. silent! autocmd! gentoo " Don't need this variable: I have a vimrc unlet! g:skip_defaults_vim " Can't revert the Filetype * autocommand for omnifunc because it's not in a " group, so I'll just have to live with duplicates. Obviously this doesn't cover all the effects, some of which are next-to-impossible to reliably revert, and some of the changes or omissions are relevant only to certain users. But for folks who just want a blank slate, we need to provide an escape hatch. Unlike defaults.vim, we cannot provide a simple mechanism to skip the whole file: by the time we would set the variable, in a local or user vimrc, it's too late! Instead, we first source any files in runtimepath called "skip_etc_vimrc.vim": they have an opportunity to go early and perform tasks like let skip_etc_vimrc = 1 to skip the remainder of the script. It's a complicated workaround, but it avoids a new USE flag. Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44504 Signed-off-by: Sam James <sam@gentoo.org>
2025-11-16app-editors/vim-core: revbump in preparation for subsequent changesD. Ben Knoble
Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44504 Signed-off-by: Sam James <sam@gentoo.org>
2025-11-11app-editors/vim-core: do not build/install xxd, depend on dev-util/xxd insteadHolger Hoffstätte
Bug: https://bugs.gentoo.org/962554 Co-Authored-By: Lucio Sauer <watermanpaint@posteo.net> Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/43726 Closes: https://github.com/gentoo/gentoo/pull/43726 Signed-off-by: Florian Schmaus <flow@gentoo.org>
2025-06-17app-editors/vim-core: remove unused fileMichael Mair-Keimberger
Signed-off-by: Michael Mair-Keimberger <mm1ke@gentoo.org> Part-of: https://github.com/gentoo/gentoo/pull/42602 Signed-off-by: Michael Mair-Keimberger <mm1ke@gentoo.org>
2024-05-19app-editors/vim-core: remove textwidth autocommandsWaldo Lemmer
vimrc registered an autocommand that set textwidth=78 for all *.txt buffers. This has sparked a few discussions, including this [1] forum post and bug 559800. Overriding the upstream default of textwidth=0 is not a good idea. This commit removes the relevant autocommand and revbumps all versions of the package. [1]: https://forums.gentoo.org/viewtopic-p-8450986.html Closes: https://bugs.gentoo.org/559800 Signed-off-by: Waldo Lemmer <waldolemmer1@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
2023-02-01app-editors/vim-core: remove unused patchMichael Mair-Keimberger
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/29345 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
2023-01-25app-editors/vim-core: drop 9.0.0099, 9.0.0828-r1John Helmert III
Signed-off-by: John Helmert III <ajak@gentoo.org>
2022-11-04app-editors/vim-core: fix configure w/ clang 16Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2022-08-17app-editors/vim-core: fix cross-compilation (configure check for timer_create)Varsha Teratipally
Problem: Configure check for timer_create may give wrong error. Solution: Give a warning instead of an error. Closes: https://github.com/gentoo/gentoo/pull/26713 Signed-off-by: Varsha Teratipally <teratipally@google.com> Signed-off-by: Sam James <sam@gentoo.org>
2022-07-29app-editors/vim-core: Don't try to assign to g:skip_defaults_vim for minimal ↵Kerin Millar
builds A recent adjustment to some of the vim-core ebuilds accidentally removed a sed command that removes the following line from /etc/vim/vimrc, provided that the "minimal" USE flag was in effect. let g:skip_defaults_vim = 1 The reason for doing so is that this assignment raises an error in the case of a minimal build. Rather than re-instate the missing sed commands, let's update the vimrc template so as to employ a feature guard, relying on the fact that minimal builds lack the +eval feature. Fixes: 5e9a3926fd3e0e573f529fd6aefebba53e082f4a Signed-off-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
2018-12-28app-editors/vim-core: version bump to 8.1.0648Tim Harder
Move gvim.svg install from gvim to vim-core since vim now uses it as well. Signed-off-by: Tim Harder <radhermit@gentoo.org>
2017-10-22app-editors/vim-core: enable omni completion before sourcing of ↵Patrice Clement
/etc/vimrc.local. Package-Manager: Portage-2.3.8, Repoman-2.3.3
2017-10-22app-editors/vim-core: enable omni completion based on syntax files.Patrice Clement
Closes: https://bugs.gentoo.org/330187 Courtesy of Florian Crouzat <gentoo@floriancrouzat.net> Package-Manager: Portage-2.3.8, Repoman-2.3.3
2017-02-28Drop remaining $Id$ and $Header$ from files.Ulrich Müller
Bug: 611234
2017-02-27app-editors/vim-core: remove oldTim Harder
2016-11-30app-editors/vim-core: disregard user mappings when restoring cursor positionTim Harder
This fixes bug #598726.
2016-09-20app-editors/vim-core: don't use vim's defaults (bug #594292)Jason A. Donenfeld
Package-Manager: portage-2.3.1
2015-08-08proj/gentoo: Initial commitRobin H. Johnson
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed