nvim: Fix include of host-specific config
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
900e367c12
commit
141b27f30c
|
@ -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
|
||||
|
|
Reference in a new issue