-
Notifications
You must be signed in to change notification settings - Fork 269
Open
Labels
Description
Contributing guidelines
- I have read CONTRIBUTING.md
- I have read CODE_OF_CONDUCT.md
- I have updated 'mini.nvim' to latest version of the
main
branch
Module(s)
mini.completion
Neovim version
0.12 (!at least latest Nightly build!)
Description
When completing a react prop name using mini.completion, an "x" character is sometimes inserted at the beginning of the prop.
Expected behaviour is that an "x" should not be inserted.
Reproduction
nvim version: v0.12.0-dev-1351+g8151fc59cf
vtsls version: 0.2.9
- Clone the example repo with a minimal neovim config and sample react files: https://github.com/lukeramljak/nvim-completion-bug
- Install the vtsls language server
- Open react/App.tsx from the repo
- Add the missing title prop to the component as per the screen recording below
- Accept the completion suggestion for title using
<c-y>
or<cr>