Skip to content

Commit

Permalink
test files for language server hover docs
Browse files Browse the repository at this point in the history
  • Loading branch information
micahscopes committed Mar 21, 2024
1 parent d6e07fb commit 226be75
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
Empty file.
8 changes: 8 additions & 0 deletions crates/language-server/test_files/docstrings/src/lib.fe
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
use stuff::{ return_three, return_four }

/// ## `return_seven`
/// ### a function of numbers
/// #### returns the 3+4=7
fn return_seven() {
return_three() + return_four()
}
9 changes: 9 additions & 0 deletions crates/language-server/test_files/docstrings/src/stuff.fe
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/// A function that returns `3`
pub fn return_three() {
3
}

/// ## A function that returns 4
pub fn return_four() {
4
}

0 comments on commit 226be75

Please sign in to comment.