Skip to content

Instantly share code, notes, and snippets.

@daviddavis
Created July 5, 2012 23:15
Show Gist options
  • Select an option

  • Save daviddavis/3057046 to your computer and use it in GitHub Desktop.

Select an option

Save daviddavis/3057046 to your computer and use it in GitHub Desktop.
Fix to the annoying way vim handles indentation in p and li tags
" this goes in ~/.vim/after/indent/html.vim
let g:html_indent_tags = g:html_indent_tags . '\|li\|p'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment