kickstart.nvim icon indicating copy to clipboard operation
kickstart.nvim copied to clipboard

Autoformat lua_ls & stylua discrepancies.

Open zwergius opened this issue 2 years ago • 0 comments

Describe the bug

I recently forked the project and have been adding my personal touches and enabled require 'kickstart.plugins.autoformat'

This made it impossible for me to commit my changes as the "Check Lua Formatting" workflow would fail.

This is due to all Lua files being formatted with lua_ls rather than stylua.

I thought this was a bit inconvenient.

To Reproduce

  1. Fork & clone the repo
  2. Enable require 'kickstart.plugins.autoformat'
  3. Make a change in init.lua and save (Should now be auto formatted with lua_ls)
  4. Commit and push changes, see that workflow fails.

Desktop

  • OS: MAC
  • Terminal: Alacritty

Neovim Version

:version NVIM v0.9.4 Build type: Release LuaJIT 2.1.1703358377

zwergius avatar Jan 24 '24 11:01 zwergius