From 3054519b5815dbbb209899ec8882752fef0e3c04 Mon Sep 17 00:00:00 2001 From: Micya <126577462+Ocya1011@users.noreply.github.com> Date: Wed, 3 Apr 2024 18:01:13 +0800 Subject: [PATCH] Update README.md (#62) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 03733d4..e4e6d86 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ We precompiled the following targets: If your platform is in the above list, you can just run `make` after the plugin is installed like the above examples do, CodeSnap.nvim will automatically mount the shared file into the plugin. This means you don't need any Rust utils to compile manually from source. -## Compile from source +### Compile from source You need to install Rust development environment before compiling from source, you can refer [Install Rust](https://www.rust-lang.org/tools/install) for more detail. Please keep in mind, cross-compile to these platforms only helps a portion of users to have out-of-box experience, if your platform is not in the above targets list, you still need to compile from source using `make build_generator`, for instance using Lazy: @@ -95,7 +95,7 @@ To take a beautiful snapshot use CodeSnap.nvim, you can just use `CodeSnap` comm https://github.com/mistricky/codesnap.nvim/assets/22574136/99be72db-57d7-4839-91d0-2a9dfb1901ac -### Copy into clipboard on Linux Wayland +#### Copy into clipboard on Linux Wayland Copy screenshots directly into the clipboard is cool, however, it doesn't work well on wl-clipboard, because the wl-clipboard can't paste the content which come from exited processes. As Hyprland document say: