I’ve just published the N1QL syntax file configuration for Vim. The project includes a simple, one-command local installer to $HOME/.vim and a short HOWTO just in case. My team validated it as much as we could against our body of N1QL query files.
You may view/fork/common on it at: http://github.com/pr3d4t0r/n1ql-vim-syntax
Thanks and have a successful day!