Archived
1
0
Fork 0

nvim: Fix include of host-specific config

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss 2023-01-26 18:16:46 +01:00
parent 900e367c12
commit 141b27f30c
Signed by: c8h4
GPG key ID: 9C82009BEEDEA0FF

View file

@ -448,7 +448,7 @@ au FileType rust nmap <leader>gd <Plug>(rust-doc)
"*****************************************************************************
"" Include user's local vim config
let s:local_host_config = expand('~/.config/nvim/config.d' .. hostname())
let s:local_host_config = expand('~/.config/nvim/config.d/' .. hostname())
if filereadable(s:local_host_config)
execute 'source ' .. s:local_host_config
endif