Bug report
Describe the bug
postgres-language-server format removes all comments when formatting.
To Reproduce
See this example in my shell:
$ postgres-language-server version
CLI: 0.25.5
Server: not connected
$ cat file.sql
-- one
select * from foo; -- two
/*
three
*/
create table bar (id int primary key); -- four
$ postgres-language-server format file.sql --write
Processed 1 file in 2ms. Fixed 1 file.
$ cat file.sql
select * from foo;
create table bar (id int primary key);%
Expected behavior
I'd expect the comments to be preserved through formatting.
Screenshots
N/A
System information
Additional context
N/A
Bug report
Describe the bug
postgres-language-server formatremoves all comments when formatting.To Reproduce
See this example in my shell:
Expected behavior
I'd expect the comments to be preserved through formatting.
Screenshots
N/A
System information
Additional context
N/A