vim-detailed icon indicating copy to clipboard operation
vim-detailed copied to clipboard

Smart Here-docs

Open rking opened this issue 12 years ago • 1 comments

Idea from anoldhacker:

eval <<RUBY
this_should_look(:like, :ruby).code
RUBY

run_sql <<SQL
select * from foo
SQL

…etc.

This much could just directly map the downcased token to 'filetype'

Another aspect is that:

`cat /tmp/hihi`

…should be ft=shell

rking avatar Feb 14 '13 19:02 rking

http://blogs.perl.org/users/ovid/2011/06/syntax-highlight-your-sql-heredocs-in-vim.html

rking avatar Feb 14 '13 19:02 rking