Forums before death by AOL, social media and spammers... "We can't have nice things"
|    linux.debian.bugs.dist    |    Ohh some weird Debian bug report thing    |    30,133 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 28,771 of 30,133    |
|    Yves-Alexis Perez to James McCoy    |
|    Bug#1128898: neovim: no systemd-wide con    |
|    24 Feb 26 13:50:01    |
   
   From: corsac@debian.org   
      
   -----BEGIN PGP SIGNED MESSAGE-----   
   Hash: SHA256   
      
   On Tue, 2026-02-24 at 06:51 -0500, James McCoy wrote:   
   > > 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'].   
      
   Hi, thanks, seems to work fine indeed.   
      
   Would it be possible then to ship a standard /etc/xdg/nvim/sysinit.vim so it's   
   better documented, and maybe mimic the default vim init file in order to   
   facilitate the transition?   
      
   Regards,   
   - --    
   Yves-Alexis   
   -----BEGIN PGP SIGNATURE-----   
      
   iQEzBAEBCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAmmdnLMACgkQ3rYcyPpX   
   RFvF7wf/TQBrfVNg7HPjpjsmxdvvgw1V2wwz5y7HKWoOuWQh5S8m17qjpQajNLwu   
   149H8DnaeXJCXHX4+9znYqk09yLOVUpTi60HIadS/rUpYJIaA0opNsaaZlzidzPt   
   7TzohYsRhpxx2L5nSXLYbB8zCntpyzF58NUPE5djzO1EncUZlOcnY97Qf8d9GOcU   
   09E8J+4v3NwHcncyx3NMmOSsR/6D9whCwop+cwSQQraQbtTQEEACXRfDpdm6cyyo   
   76/I34MCIO6a7kURJ75YA6qUovxJaPVrkXZMB1TZHb00uC3cxBN4nkqz4vH64+A3   
   BULChr90kfHuJ3xZzlAiy3MNeGZBEw==   
   =tNEC   
   -----END PGP SIGNATURE-----   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca