You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this PR #2942 added cli formatter support, this is great.
but in some formatters need the file path to location a config in the project (stylua) or use it to determine the file type (prettier),
in neovim we can use vim.api.nvim_buf_get_name(0) to get the current buf file path, but in hexlix seems no way to do so.
for example:
style:
--stdin-filepath Specify the location of the file that is being passed into stdin. Ignored
if not taking in input from stdin. This option is only used to help
determine where to find the configuration file
this PR #2942 added cli formatter support, this is great.
but in some formatters need the file path to location a config in the project (
stylua
) or use it to determine the file type (prettier
),in neovim we can use
vim.api.nvim_buf_get_name(0)
to get the current buf file path, but in hexlix seems no way to do so.for example:
style
:The text was updated successfully, but these errors were encountered: