PrashanthaTP / dotfiles

My dotfiles (Windows system)
1 stars 0 forks source link

Bug(Neovim): efm lua formatter adds extra blank lines #17

Closed PrashanthaTP closed 2 years ago

PrashanthaTP commented 2 years ago

Target : Neovim 0.6.0 (In Neovim 0.5.1 works fine) Plugin : Lsp, efm-langserver Topic : Document formatting

Description When using efm language server for document formatting , it adds extra blank lines. The number of blank lines increases as many number of times it is formatted.

For normal code it stops at 3 blank lines between every code line but for embedded vim or comments it keeps on increasing

PrashanthaTP commented 2 years ago

Try non-lsp solution once for document formatting such as formatter.nvim