Closed kkharji closed 3 years ago
Thanks @tami5! That would be nice! Please send the PR to check the format (github action?) and reformat all files.
What plugin do you use to apply stylua?
Thanks @tami5! That would be nice! Please send the PR to check the format (github action?) and reformat all files.
What plugin do you use to apply stylua?
sure thing, I have set it up in a plugin before and it should be a quick and easy pr.
I'm using null_ls, it has some issues here and there but overall working good.
my config:
function()
local null_ls = require "null-ls"
local b = null_ls.builtins
null_ls.setup {
sources = {
b.formatting.stylua.with {
args = {
"--config-path",
vim.env.HOME .. "/.config/nvim/stylua.toml",
"-",
},
},
}
end
Purpose
Try and fix some mappings. closes #191.
Details
I'm using stylua so it auto formatted the buffer a bit. I strongly propose to use stylua and @pwntester if you like, I can set it up in another pr.