generated from ellisonleao/nvim-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Nice tool! My installation is in LazyVim and done using the lazy.vim install instructions.
I notice that when I send a post, the language is set to Korean. Changing it is not mentioned in the README, and will cause issues for people who filter Mastodon content based on language.
I think it's due to it being hard-coded in api_client.lua on line 406:
mastodon.nvim/lua/mastodon/api_client.lua
Lines 399 to 407 in 605cd44
| body = vim.fn.json_encode({ | |
| status = message, | |
| media_ids = {}, | |
| sensitive = false, | |
| spoiler_text = "", | |
| visibility = vim.g.mastodon_toot_visibility or "unlisted", | |
| poll = nil, | |
| language = "ko", | |
| }), |
It would be great if it was possible for users to configure their preferred language in their configuration.
Metadata
Metadata
Assignees
Labels
No labels