Skip to content

Instantly share code, notes, and snippets.

@mogumogu2333
Forked from ikegami-yukino/vim_hive.sh
Created October 10, 2017 17:41
Show Gist options
  • Select an option

  • Save mogumogu2333/9235c3440e2a03ad8b752d0a79aab2d2 to your computer and use it in GitHub Desktop.

Select an option

Save mogumogu2333/9235c3440e2a03ad8b752d0a79aab2d2 to your computer and use it in GitHub Desktop.
Hive syntax for Vim
mkdir -p .vim/syntax
wget -O .vim/syntax/hive.vim https://raw.githubusercontent.com/autowitch/hive.vim/master/syntax/hive.vim
echo "au BufNewFile,BufRead *.hql set filetype=hive expandtab" >> ~/.vimrc
echo "au BufNewFile,BufRead *.q set filetype=hive expandtab" >> ~/.vimrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment