Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gamaut/bash-heredoc-sql.vim

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

bash-heredoc-sql.vim
====================

Applies SQL syntax highlighting in shell scripts if the SQL
code is within a heredoc:

Example
-------

    mysql -usomeUser -p <<SQL
        use mydb;
        truncate mytable;
        insert into mytable values (1, 2, 3);
        show warnings;
    SQL

Installation
------------

Add to .vimrc

    Plug 'gamaut/bash-heredoc-sql.vim'

About

Apply SQL syntax highlighting inside a shell script heredoc

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.