Prevent vim sourcing order overriding settings like mouse-=a with defaults.vim

This commit is contained in:
Brian Lee 2023-07-07 15:15:48 -07:00
parent 2497a648bf
commit 4868144e69
2 changed files with 9 additions and 3 deletions

View File

@ -28,5 +28,10 @@ None.
## Troubleshooting
* current vim runtime path with `:set runtimepath?`
* Check vim `:version`
```vim
:scriptnames
:set runtimepath?
:version
```
Also `vim -V`

View File

@ -19,7 +19,8 @@
path: /etc/vimrc
marker: '" {mark} ANSIBLE MANAGED BLOCK'
block: |
let skip_defaults_vim=1
set runtimepath+=/var/lib/vim/addons
if filereadable("/etc/vimrc.local")
source /etc/vimrc.local
endif
endif