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

Link completion does not work for filenames with accents #1584

Open
2 tasks done
apraga opened this issue Sep 16, 2024 · 0 comments
Open
2 tasks done

Link completion does not work for filenames with accents #1584

apraga opened this issue Sep 16, 2024 · 0 comments
Labels
bug Issues related to bugs. Please attach a severity, a priority and category with this label.

Comments

@apraga
Copy link

apraga commented Sep 16, 2024

Prerequisites

  • I am using the latest stable release of Neovim
  • I am using the latest version of the plugin

Neovim Version

v0.11.0-dev-782+ga0d8c2b86

Neorg setup

          ["core.defaults"] = {},
          ["core.concealer"] = {},
          ["core.completion"] = {
            config = {
              engine = "nvim-cmp",
            },
          },
          ["core.dirman"] = {
            config = {
              workspaces = {
                notes = "~/notes",
              },
              default_workspace = "notes",
            },
          },
          ["core.export"] = {},
          ["core.integrations.telescope"] = {},
        },
      })

Actual behavior

Completion is setup with nvim-cmp. Starting a new link works fine
comp1
Until an accent is typed : no result !
comp2
Continuing to type restart the search after the accent
comp3

Expected behavior

Complete the filename.

Steps to reproduce

Write a file with accent in the filename

Potentially conflicting plugins

No response

Other information

After a discussion with Two Nines on discord, it seems it's not easy to look for word with accents here https://github.com/nvim-neorg/neorg/blob/main/lua/neorg/modules/core/completion/module.lua#L653

Help

No

Implementation help

No response

@apraga apraga added the bug Issues related to bugs. Please attach a severity, a priority and category with this label. label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues related to bugs. Please attach a severity, a priority and category with this label.
Projects
None yet
Development

No branches or pull requests

1 participant