diff options
Diffstat (limited to 'configs/shared/.config/nvim/templates')
-rw-r--r-- | configs/shared/.config/nvim/templates/boilerplate.c | 6 | ||||
-rw-r--r-- | configs/shared/.config/nvim/templates/boilerplate.rs | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/configs/shared/.config/nvim/templates/boilerplate.c b/configs/shared/.config/nvim/templates/boilerplate.c new file mode 100644 index 000000000000..949743d72587 --- /dev/null +++ b/configs/shared/.config/nvim/templates/boilerplate.c @@ -0,0 +1,6 @@ +#include <stdio.h> + +int main() { + printf("Hello, world!"); + return 0; +} diff --git a/configs/shared/.config/nvim/templates/boilerplate.rs b/configs/shared/.config/nvim/templates/boilerplate.rs new file mode 100644 index 000000000000..c83adbc69fa0 --- /dev/null +++ b/configs/shared/.config/nvim/templates/boilerplate.rs @@ -0,0 +1,5 @@ +fn main() { + // The statements here will be executed when the compiled binary is called. + + println!("Hello, world!"); +} |