From 92f7f3776f93833d820620050c34156cfe2941cc Mon Sep 17 00:00:00 2001 From: Xiaobo Liu Date: Thu, 3 Oct 2024 16:35:18 +0800 Subject: [PATCH] ebpf: Add rust-analyzer settings for neovim lsp Signed-off-by: Xiaobo Liu --- .cargo/rust-analyzer.toml | 2 ++ .vim/coc-settings.json | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 .cargo/rust-analyzer.toml delete mode 100644 .vim/coc-settings.json diff --git a/.cargo/rust-analyzer.toml b/.cargo/rust-analyzer.toml new file mode 100644 index 0000000..1d6ce56 --- /dev/null +++ b/.cargo/rust-analyzer.toml @@ -0,0 +1,2 @@ +[rust-analyzer] +linkedProjects = ["Cargo.toml", "lj-lua-bt-ebpf/Cargo.toml"] diff --git a/.vim/coc-settings.json b/.vim/coc-settings.json deleted file mode 100644 index 6a1ec7d..0000000 --- a/.vim/coc-settings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "rust-analyzer.linkedProjects": ["Cargo.toml", "{{project-name}}-ebpf/Cargo.toml"] -}