jesseduffield / lazygit

simple terminal UI for git commands
MIT License
52.41k stars 1.83k forks source link

fresh install throws stylua error #3132

Closed redwill17 closed 11 months ago

redwill17 commented 11 months ago

installed lazyvim without any previous configuration, and saving any lua file throws an error saying "Formatter failed. See :ConformInfo for details", which gives me:

Log file: /home/javu/.local/state/nvim/conform.log
          22:29:46[ERROR] Formatter 'stylua' error in jobstart: Vim:E903: Process failed to start: no such file or directory: "/home/javu/.local/share/nvim/mason/bin/stylua"
          22:29:47[ERROR] Formatter 'stylua' error in jobstart: Vim:E903: Process failed to start: no such file or directory: "/home/javu/.local/share/nvim/mason/bin/stylua"
          22:29:59[ERROR] Formatter 'stylua' error in jobstart: Vim:E903: Process failed to start: no such file or directory: "/home/javu/.local/share/nvim/mason/bin/stylua"
          22:32:11[ERROR] Formatter 'stylua' error in jobstart: Vim:E903: Process failed to start: no such file or directory: "/home/javu/.local/share/nvim/mason/bin/stylua"

Formatters for this buffer:
<none>

Other formatters:
fish_indent unavailable: Command not found
shfmt ready (sh)
stylua ready (lua)

also, both lua-language-server and stylua in ~/.local/share/nvim/mason/bin throw the error cannot execute: required file not found when executed, is that intended behavior

redwill17 commented 11 months ago

accidentally sent it here and not in the lazyvim repo :p