Your message dated Sat, 12 Nov 2016 17:03:23 -0500
with message-id <[email protected]>
and subject line Re: Bug#844164: vim: since version 8, vim ignores indentation
settings in /etc/vim/vimrc.local
has caused the Debian Bug report #844164,
regarding vim: since version 8, vim ignores indentation settings in
/etc/vim/vimrc.local
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
844164: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844164
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: vim
Version: 2:8.0.0022-1
Severity: normal
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
I want to set up indentation rules that I am used to.
On vim7, it is possible to modify indentation rules in
/etc/vim/vimrc.local, but on vim8, most of the settings in
/etc/vim/vimrc.local are ignored.
* What exactly did you do (or not do) that was effective (or
ineffective)?
I have this /etc/vim/vimrc.local file:
set nocp
set autoindent
set nocindent
set backupcopy=auto,breakhardlink
set bs=indent
set t_Co=1
hi ModeMsg term=none
hi NonText term=none
hi SpecialKey term=none
hi MatchParen term=none
syntax off
filetype off
filetype plugin off
filetype indent off
* What was the outcome of this action?
Vim8 ignores some of the above settings
Vim automatically turns on the "cindent" rule if the file has "c"
extension (despite the fact that there is "filetype off" and "nocindent").
The command ":set backupcopy" shows "backupcopy=auto" (the breakhardlink flag
is ignored)
The command ":set bs" shows "backspace=indent,eol,start" (the setting should be
just "indent")
The command ":filetype" shows "filetype detection:ON plugin:ON indent:ON" (it
should be turned off)
* What outcome did you expect instead?
Vim should honor the configuration file /etc/vim/vimrc.local
*** End of the template - remove these template lines ***
-- Package-specific info:
--- real paths of main Vim binaries ---
/usr/bin/vi is /usr/bin/vim.basic
/usr/bin/vim is /usr/bin/vim.basic
-- System Information:
Debian Release: stretch/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, x32
Kernel: Linux 4.9.0-rc4+ (SMP w/12 CPU cores; PREEMPT)
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages vim depends on:
ii libacl1 2.2.52-3
ii libc6 2.24-3
ii libgpm2 1.20.4-6.2
ii libselinux1 2.6-3
ii libtinfo5 6.0+20160917-1
ii vim-common 2:8.0.0022-1
ii vim-runtime 2:8.0.0022-1
vim recommends no packages.
Versions of packages vim suggests:
pn ctags <none>
pn vim-doc <none>
pn vim-scripts <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
On Sat, Nov 12, 2016 at 10:42:55PM +0100, Mikulas Patocka wrote:
> * What led up to the situation?
> I want to set up indentation rules that I am used to.
> On vim7, it is possible to modify indentation rules in
> /etc/vim/vimrc.local, but on vim8, most of the settings in
> /etc/vim/vimrc.local are ignored.
Please read the NEWS file that came with the update.
vim (2:8.0.0022-1) unstable; urgency=medium
Vim now ships with a defaults.vim file which, when the user has no vimrc,
enables some options that have historically been disabled by default.
This
is described in more detail at ":help defaults.vim".
Since defaults.vim is loaded when the user's vimrc would typically be
loaded, it will override any settings in /etc/vim/vimrc(.local). In order
to disable the loading of defaults.vim, add
let g:skip_defaults_vim = 1
to /etc/vim/vimrc(.local).
-- James McCoy <[email protected]> Tue, 04 Oct 2016 20:28:02 -0400
Cheers,
--
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB
--- End Message ---