1
1
Fork
You've already forked pgsql.vim
0

Some enhancements to dollar-string highlighting. #9

Merged
StephenWall merged 1 commit from master into master 2018年11月24日 11:02:21 +01:00
StephenWall commented 2018年11月20日 21:01:57 +01:00 (Migrated from github.com)
Copy link

Replace $HERE$ with $anyword$, where anyword consists of a string of 1 or more word characters.
Add $BODY$ as a synonym for $pgsql$. (These supercede $anyword$.)
Add a setting, g:pgsql_dollars_as_text, which, when set to '1', will make $$ strings be highlighted as plain text instead of PL/pgSQL code.

Replace `$HERE$` with `$anyword$`, where anyword consists of a string of 1 or more word characters. Add `$BODY$` as a synonym for `$pgsql$`. (These supercede `$anyword$`.) Add a setting, `g:pgsql_dollars_as_text`, which, when set to '1', will make `$$` strings be highlighted as plain text instead of PL/pgSQL code.
lifepillar commented 2018年11月24日 11:02:32 +01:00 (Migrated from github.com)
Copy link

Thanks!

Thanks!
lifepillar commented 2018年11月24日 12:19:10 +01:00 (Migrated from github.com)
Copy link

Please note that I have renamed g:pgsql_dollars_as_text into g:pgsql_dollar_strings.

Thanks again for the contribution!

Please note that I have renamed `g:pgsql_dollars_as_text` into `g:pgsql_dollar_strings`. Thanks again for the contribution!
StephenWall commented 2018年11月26日 14:39:07 +01:00 (Migrated from github.com)
Copy link

Welcome.

BTW, do you have plans for a 2.1.3 release?

Welcome. BTW, do you have plans for a 2.1.3 release?
lifepillar commented 2018年11月26日 23:15:57 +01:00 (Migrated from github.com)
Copy link

I am waiting for Homebrew to update PostgreSQL to v11, after which I will tag an update.

I am waiting for [Homebrew](https://github.com/Homebrew/) to update PostgreSQL to v11, after which I will tag an update.
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lifepillar/pgsql.vim!9
Reference in a new issue
lifepillar/pgsql.vim
No description provided.
Delete branch "master"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?