Your message dated Tue, 24 Feb 2026 06:51:45 -0500
with message-id <aZ2PoImSEDmDmbdX@localhost>
and subject line Re: Bug#1128898: neovim: no systemd-wide config file?
has caused the Debian Bug report #1128898,
regarding neovim: no systemd-wide config file?
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.)
--
1128898: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128898
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: neovim
Version: 0.11.6-1
Severity: normal
Hi,
I'm considering switching to neovim from vim and I'm wondering about
some differences between the implementations.
The "standard" vim ships a system-wide init config file in /etc/vim
which can be used to enable some things (syntax highlighting or
reopening a buffer at the same place).
I don't see a similar file for neovim. Looking at :initialization and
:verbose version I can see there could be a /usr/share/nvim/sysinit.vim
but I don't think it's wise for an admin to touch stuff in /usr/share.
Would it be possible to look in /etc/nvim and even maybe fall back to
/etc/vim for system-wide, admin configuration file?
Thanks in advance,
Regards,
--
Yves-Alexis
-- System Information:
Debian Release: forky/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'),
(450, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.18.12+deb14-amd64 (SMP w/14 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages neovim depends on:
ii libc6 2.42-13
ii libluajit-5.1-2 2.1.0+openresty20251030-1+b1
ii libtree-sitter0.25 0.25.9-7
ii libunibilium4 2.1.1-2+b2
ii libutf8proc3 2.10.0-2+b1
ii libuv1t64 1.51.0-2+b1
ii lua-lpeg 1.1.0-3
ii lua-luv 1.51.0-1-1
ii neovim-runtime 0.11.6-1
Versions of packages neovim recommends:
pn python3-pynvim <none>
ii xclip 0.13-4
ii xxd 2:9.1.2141-1
Versions of packages neovim suggests:
ii exuberant-ctags [ctags] 1:5.9~svn20110310-20
ii vim-scripts 20210124.5+nmu1
-- no debconf information
--- End Message ---
--- Begin Message ---
On Tue, Feb 24, 2026 at 09:51:26AM +0100, Yves-Alexis Perez wrote:
I don't see a similar file for neovim. Looking at :initialization and
:verbose version I can see there could be a /usr/share/nvim/sysinit.vim
but I don't think it's wise for an admin to touch stuff in /usr/share.
Would it be possible to look in /etc/nvim and even maybe fall back to
/etc/vim for system-wide, admin configuration file?
This is already supported. From ":help sysinit.vim"
*system-vimrc* *sysinit.vim*
a. The system vimrc file is read for initializations. If
nvim/sysinit.vim file exists in one of $XDG_CONFIG_DIRS, it will be
used. Otherwise the system vimrc file is used. The path of this file
is given by the |:version| command. Usually it's "$VIM/sysinit.vim".
":echo stdpath('config_dirs')" shows your environment's set of config
dirs. In my case that's ['/etc/xdg/nvim'].
Cheers,
--
James (he/him)
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB
--- End Message ---