| Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: John Helmert III <ajak@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
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>
|
|
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>
|
|
Move gvim.svg install from gvim to vim-core since vim now uses it as
well.
Signed-off-by: Tim Harder <radhermit@gentoo.org>
|
|
/etc/vimrc.local.
Package-Manager: Portage-2.3.8, Repoman-2.3.3
|
|
Closes: https://bugs.gentoo.org/330187
Courtesy of Florian Crouzat <gentoo@floriancrouzat.net>
Package-Manager: Portage-2.3.8, Repoman-2.3.3
|
|
Bug: 611234
|
|
|
|
This fixes bug #598726.
|
|
Package-Manager: portage-2.3.1
|
|
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
|