simrat39 / rust-tools.nvim

Tools for better development in rust using neovim's builtin lsp
MIT License
2.16k stars 158 forks source link

Many native lsp features are not their #263

Closed ayush-india closed 2 years ago

ayush-india commented 2 years ago

Many of the native lsp features are not their in rust-tools eg:

    vim.lsp.buf.declaration()
    vim.lsp.buf.definition()
    vim.lsp.buf.signature_help()
    vim.lsp.buf.type_definition()
    vim.lsp.buf.references()
    vim.diagnostic.goto_prev()
    vim.diagnostic.goto_next()
    vim.diagnostic.setloclist()
    vim.lsp.buf.implementation()

and if their are these features the please tell me how can i use them because the insctructions are not clear

Thanks for reading

Diablo-D3 commented 2 years ago

This seems like a bug better filed with the nvim-lsp team.

ayush-india commented 2 years ago

I will try to fix it on my own by removing rust-tools and trying to do only with rust lsp

I will keep updating

ayush-india commented 2 years ago

I got it working

Let me know if anyone wants the config

ayush-india commented 2 years ago

Just remove rust tools and use native lsp instead to get more features