Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect description of the blocks in the output of <leader>oi #29

Closed
borisbrodski opened this issue Mar 20, 2018 · 0 comments
Closed

Comments

@borisbrodski
Copy link

Place cursor on a table name in a buffer connected to a DB and press <leader>oi (object information).

In the output section you will get a bunch of output blocks. Each block starts with a title and can be folded.

The bug is, that those titles are not correct. They are shifted downwards. Here is an example of a such shift:

=SQL 4
INDEX_NAME         | UNIQUE | PK | DEFINITIO...
-------------------+--------+----+----------...
U_TAAL_TABLE_ALIAS | YES    | NO | TABLE_ALI...
U_TAAL_TABLE_NAME  | YES    | NO | TABLE_NAM...

=SQL 3: TABLE_ALIAS - Indexes
COLUMN_NAME | DATA_TYPE           | PK | NUL...
------------+---------------------+----+----...
TABLE_NAME  | VARCHAR2(1000 Byte) | NO | NO ...
TABLE_ALIAS | VARCHAR2(4 Byte)    | NO | NO ...

Here the title "TABLE_ALIAS - Indexes" should be placed on the first block. The second block should be titled like "TABLE_ALIAS - Colunms"

PS
@cosminadrianpopescu It would be great, if you could place the columns first, since the first block is not folded by default and it is often the most useful information. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant