I broke up with neovim....vim is my best friend now
This commit is contained in:
5
dot_vim/plugged/vim-lsp/test/testproject-rust/Cargo.lock
generated
Normal file
5
dot_vim/plugged/vim-lsp/test/testproject-rust/Cargo.lock
generated
Normal file
@@ -0,0 +1,5 @@
|
||||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
[[package]]
|
||||
name = "testproject-rust"
|
||||
version = "0.1.0"
|
||||
9
dot_vim/plugged/vim-lsp/test/testproject-rust/Cargo.toml
Normal file
9
dot_vim/plugged/vim-lsp/test/testproject-rust/Cargo.toml
Normal file
@@ -0,0 +1,9 @@
|
||||
[package]
|
||||
name = "testproject-rust"
|
||||
version = "0.1.0"
|
||||
authors = ["Prabir Shrestha <mail@prabir.me>"]
|
||||
edition = "2018"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
@@ -0,0 +1 @@
|
||||
target/
|
||||
@@ -0,0 +1,3 @@
|
||||
pub fn add(a: u32, b: u32) -> u32 {
|
||||
a + b
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
pub mod add;
|
||||
@@ -0,0 +1,13 @@
|
||||
use crate::calc::add::add;
|
||||
|
||||
fn document_definition_same_file() {
|
||||
func1();
|
||||
}
|
||||
|
||||
fn func1() {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
fn document_definition_different_file() {
|
||||
add(1, 2);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fn document_diagnostics() {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
fn broken1(
|
||||
print
|
||||
}
|
||||
|
||||
fn broken2()
|
||||
broken(1);
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fn format () {
|
||||
unimplemented!();
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
mod calc;
|
||||
|
||||
mod documentdefinition;
|
||||
mod documentformat;
|
||||
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
||||
Reference in New Issue
Block a user