NeoVIM plugin port of vscode-sort-json.
https://github.com/2nthony/sortjson.nvim/assets/19513289/5d425e1b-28c5-4c3b-8d42-3e4b4d1dd266
-- lazy.nvim
return {
"2nthony/sortjson.nvim",
cmd = {
"SortJSONByAlphaNum",
"SortJSONByAlphaNumReverse",
"SortJSONByKeyLength",
"SortJSONByKeyLengthReverse",
},
config = true,
}
# Supported commands see `cmd = {}` above
:SortJSONByAlphaNum
MIT © 2nthony