diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-03-02 00:34:02 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-03-02 00:34:02 +0100 |
commit | 6b540d7db030e4110aa3a31dd06c6c41387444db (patch) | |
tree | 1cd1da5b35cf1c34b38d7506ff93aabf861747bf /syntax/pgsql.vim | |
parent | 35ea4d2b9072594b6c0ccf87bde7978ed9f94755 (diff) | |
download | vim-polyglot-6b540d7db030e4110aa3a31dd06c6c41387444db.tar.gz vim-polyglot-6b540d7db030e4110aa3a31dd06c6c41387444db.zip |
Update
Diffstat (limited to 'syntax/pgsql.vim')
-rw-r--r-- | syntax/pgsql.vim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/syntax/pgsql.vim b/syntax/pgsql.vim index 88d99064..fa4d7e48 100644 --- a/syntax/pgsql.vim +++ b/syntax/pgsql.vim @@ -1943,9 +1943,7 @@ syn match sqlPlpgsqlVariable ".\zs@[A-z0-9_]\+" contained " PL/pgSQL operators syn match sqlPlpgsqlOperator ":=" contained -syn region plpgsql matchgroup=sqlString start=+\$pgsql\$+ end=+\$pgsql\$+ keepend - \ contains=sqlIsKeyword,sqlIsFunction,sqlComment,sqlPlpgsqlKeyword,sqlPlpgsqlVariable,sqlPlpgsqlOperator,sqlNumber,sqlIsOperator,sqlString,sqlTodo -syn region plpgsql matchgroup=sqlString start=+\$body\$+ end=+\$body\$+ keepend +syn region plpgsql matchgroup=sqlString start=+\$\z(pgsql\|body\|function\)\$+ end=+\$\z1\$+ keepend \ contains=sqlIsKeyword,sqlIsFunction,sqlComment,sqlPlpgsqlKeyword,sqlPlpgsqlVariable,sqlPlpgsqlOperator,sqlNumber,sqlIsOperator,sqlString,sqlTodo if get(g:, 'pgsql_dollar_strings', 0) syn region sqlString start=+\$\$+ end=+\$\$+ contains=@Spell |