From 5854acabba7f9301f666b570803609ee865f3f31 Mon Sep 17 00:00:00 2001 From: Daniil Rozanov Date: Tue, 7 May 2024 22:12:01 +0300 Subject: chore: install example in readme --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 49c13fd..a660a32 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,18 @@ installing (WIP) and packaging (WIP) a project. In addition, it provides a way to navigate through the project in terms of CMake, for example, displaying a list of targets, projects, directories and entities dependent on them (WIP). +# Install + +With Lazy.nvim do +```lua +{ + 'daniilrozanov/cmake.nvim', + lazy = false, + opts = {--[[...]]} +} +``` +Since the plugin is asynchronous, you don't have to lazily load it. Loading time in a directory with a project such as ranges v3 is about 4 ms. + ## TODO - [ ] Support CMake Presets -- cgit v1.2.3