Commit graph

10 commits

Author SHA1 Message Date
Frederick Zhang
f799b39eaf
fix(rust): avoid resetting cmp group_index to 1 (#2332)
For example, 'buffer' source by default has group_index = 2 [1], however
if we take all the sources plus crates and run them through
cmp.config.sources() again, since it's a one-dimensional list, all
group_indexes will be reset to 1.

[1] 879e29504d/lua/lazyvim/plugins/coding.lua (L74-L80)
2024-01-22 07:51:19 +01:00
jyuan0
237be9e3a7
fix(rust): explicitly enable nvim-cmp source registration for crates (#1609) 2023-10-07 11:45:03 +02:00
GrigoreAlexandru-Arch
6045a52d82
fix: #1305 rust debugging not working on windows due to missing liblldb path (#1390) 2023-09-04 23:07:55 +02:00
Folke Lemaitre
39627cab42
fix(rust): remove rust-tools dep from lspconfig 2023-07-02 13:02:51 +02:00
Folke Lemaitre
eaa0118dd2
feat(rust): make taplo configurable 2023-07-02 12:58:09 +02:00
Folke Lemaitre
272f6af842
feat(rust): make mason optional 2023-07-02 12:58:09 +02:00
Folke Lemaitre
a46d47653e
feat(rust): refactor to allow easy user customization and keymaps 2023-07-02 12:46:29 +02:00
loqusion
79b1c92dd2
feat(rust): rust improvements (#1015)
* fix(rust): move lspconfig opts to correct location

lspconfig's `opts` goes in rust-tools's `opts.server`; see
https://github.com/simrat39/rust-tools.nvim#configuration

* feat(rust): add neotest-rust

* feat(rust): allow user to extend rust-tools with `opts`

Also avoids calling rust-tools's `setup()` twice.

* style(rust): fix indentation for stylua comment
2023-06-30 16:19:00 +02:00
André Freitas
c992ebec46
fix(lang): indentation in rust lang extra (#1017) 2023-06-30 16:03:22 +02:00
Amaan Qureshi
5a441f8972
feat(lang): Add Rust config (#1012) 2023-06-30 08:55:18 +02:00