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

Neovim LSP autocompletes everything twice when working with Flutter(dart) #344

Closed
1 task done
mmkumr opened this issue Apr 1, 2024 · 1 comment
Closed
1 task done

Comments

@mmkumr
Copy link

mmkumr commented Apr 1, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Neovim LSP autocompletes everything twice only when working with Flutter(dart). I am not facing this problem while working with other programming languages.
image
I have uninstalled Dartls lsp server and using Flutter-tool.nvim. Still facing the same problem.

Steps To Reproduce

LSPInfo output:

Language client log: /home/mmkumr/.local/state/nvim/lsp.log
Detected filetype: dart
1 client(s) attached to this buffer:
Client: dartls (id: 1, bufnr: [1])
`filetypes:       dart`

`autostart:       false`

`root directory:  /run/media/mmkumr/MyWorkspace/Projects/xioty/Botchef_V2/Android/botchef_v2`

`cmd:             /opt/flutter/bin/dart language-server --protocol=lsp`
Configured servers list: bashls, clangd, cmake, cssls, lua_ls, intelephense, pyright, pylsp, marksman, quick_lint_js, html, arduino_language_server, vimls

Environment

- OS: Manjaro Linux x86_64
- Kernel: 6.5.13-7-MANJARO
- Flutter version: 3.19.5
- Dart version: 3.3.3
- Is flutter in $PATH: Yes
- neovim version: 0.9.5

Anything else?

No response

@mmkumr mmkumr closed this as completed Apr 3, 2024
@mmkumr
Copy link
Author

mmkumr commented Apr 3, 2024

It's a bug present in nvim-cmp plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant