I would like to install the ninja-build syntax file using vim's Vundle, what should I do?
In Vundle, the github repository itself is a plug-in, and the plug-in on vim.org is easy to install.
But how do I install a single file plug-in like ninja's syntax file?
The syntax file for ninja can be found at the link below.
https://github.com/ninja-build/ninja/blob/master/misc/ninja.vim
You can add it to rtp
without using Vundle, but I would like to manage it as much as possible with Vundle
After installing ninja-build repository in Vundle, how about creating a symbolic link file to ninja.vim
in the $HOME/.vim/syntax/
directory?
$HOME/.vimrc
Bundle 'ninja-build/ninja'
silent execute'![-f~/.vim/syntax/ninja.vim]||ln-sf~/.vim/bundle/ninja/misc/ninja.vim~/.vim/syntax/'
© 2024 OneMinuteCode. All rights reserved.