sbdchd / neoformat

:sparkles: A (Neo)vim plugin for formatting code.
BSD 2-Clause "Simplified" License
1.98k stars 188 forks source link

feat: add blade-formatter #419

Closed mjbrownie closed 2 years ago

mjbrownie commented 2 years ago

Handler for blade templates (used in the Laravel framework)

https://github.com/shufo/blade-formatter

sbdchd commented 2 years ago

Thanks!

jesseleite commented 2 years ago

Hey @mjbrownie, I don't see blade as a supported filetype in nvim-treesitter. Curious how you're doing your filetype and syntax highlighting for blade files atm?

mjbrownie commented 2 years ago

hi @jesseleite yeah I've been waiting on a parser. I just installed the old vim-blade plugin which is ok for me (predominantly api coding atm), but would like more text object motions in the future.

use 'jwalton512/vim-blade'

Randomly saw this the other day but the poster was light on links / context... pehaps message them?

https://www.reddit.com/r/neovim/comments/vxhr0g/treesitter_on_laravel_blade_is_awesome/

jesseleite commented 2 years ago

@mjbrownie Ah gotcha. Thanks!