I broke up with neovim....vim is my best friend now
This commit is contained in:
@@ -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