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

Reply via email to