mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
app-editors/vim-core: place a system-vimrc autocommand in the right augroup
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>
This commit is contained in:
parent
5a5ef85723
commit
5421e614e8
@ -203,7 +203,7 @@ endif
|
||||
" (Ctrl-x/Ctrl-o) to work with any programming language if and only if a syntax
|
||||
" file exists for the said language.
|
||||
if exists("+omnifunc")
|
||||
autocmd Filetype *
|
||||
autocmd gentoo Filetype *
|
||||
\ if &omnifunc == "" |
|
||||
\ setlocal omnifunc=syntaxcomplete#Complete |
|
||||
\ endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user