simrat39 / rust-tools.nvim

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

Make a note/configuration option for disabling snippets #326

Open Supreeeme opened 1 year ago

Supreeeme commented 1 year ago

I just went through some confusion after disabling snippets in my config but still receiving them from rust-analyzer. I discovered that rust-tools enables snippet support unconditionally here: https://github.com/simrat39/rust-tools.nvim/blob/b297167d9e01accc9b9afe872ce91e791df2dde0/lua/rust-tools/lsp.lua#L134 Could there be some sort of configuration option for disabling snippets, or at least a note somewhere that this is done?