From cc7aaded75a9d18b758bbe41de2b85217861b232 Mon Sep 17 00:00:00 2001 From: Nitestack <74626967+Nitestack@users.noreply.github.com> Date: Sun, 17 Mar 2024 18:30:34 +0100 Subject: [PATCH] init: bootstrap cargo project --- .gitignore | 1 + Cargo.toml | 17 +++++++++++++++++ src/main.rs | 3 +++ 3 files changed, 21 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.toml create mode 100644 src/main.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..976dd83 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,17 @@ +[package] +name = "nvim-switcher" +version = "0.1.0" +edition = "2021" +description = "A CLI tool to switch between different Neovim configurations." +readme = "README.md" +keywords = ["neovim", "nvim", "switcher", "cli"] + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] + +[[bin]] +name = "nvims" +path = "src/main.rs" +plugin = false +proc-macro = false diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}