Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:ObsidianTOC doesn't output all headings in non-latin languages #789

Open
RobberFox opened this issue Dec 10, 2024 · 1 comment
Open

:ObsidianTOC doesn't output all headings in non-latin languages #789

RobberFox opened this issue Dec 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@RobberFox
Copy link

🐛 Describe the bug

I don't know how exacly but some headings (in russian language, in this case) don't get outputted:
image
As you can see only 4/6 headings are listed

Config

{
	"epwalsh/obsidian.nvim",
	version = "*",  -- recommended, use latest release instead of latest commit
	lazy = true,
	ft = "markdown",
	dependencies = {
		-- Required.
		"nvim-lua/plenary.nvim",
		"nvim-telescope/telescope.nvim",
		"nvim-treesitter/nvim-treesitter",
	},

	opts = {
	workspaces = {
		{
			name = "personal",
			path = "~/vaults/personal",
		},
		{
			name = "work",
			path = "~/vaults/work",
		},
	},
}

	keys = {
		vim.keymap.set({"n", "i"}, "<A-c>", "<cmd>ObsidianTemplate<CR>"),
		vim.keymap.set({"n", "i"}, "<A-v>", "<cmd>ObsidianPasteImg<CR>"),

		vim.keymap.set({"n", "i"}, "<A-o>", "<cmd>ObsidianQuickSwitch<CR>"),
		vim.keymap.set({"n", "i"}, "<A-l>", "<cmd>ObsidianBacklinks<CR>"),
		vim.keymap.set({"n", "i"}, "<A-m>", "<cmd>ObsidianExtractNote<CR>"),
		vim.keymap.set({"n", "i"}, "<A-j>", "<cmd>ObsidianSearch<CR>"),
		vim.keymap.set({"n", "i"}, "<A-n>", "<cmd>ObsidianNew<CR>"),
	}
},

Environment

NVIM v0.11.0-dev-1326+g3bb2d02759
Build type: RelWithDebInfo
LuaJIT 2.1.1732813678
Run "nvim -V1 -v" for more info
@RobberFox RobberFox added the bug Something isn't working label Dec 10, 2024
@RobberFox
Copy link
Author

RobberFox commented Dec 16, 2024

This is automatically fixed by applying this hack: #669
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant