From 8cf9c9528f4e5d024b6e5b73e8e34d479bb0fd03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Granstr=C3=B6m?= Date: Wed, 15 May 2024 18:54:29 +0200 Subject: [PATCH] Add installation instruction for lazy.nvim --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 482be9f2..e3ebdf6b 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,23 @@ ### Install +* Using [lazy.nvim](https://github.com/folke/lazy.nvim) + +```lua +return { + 'davidgranstrom/scnvim', + ft = 'supercollider', + config = function() + local scnvim = require 'scnvim' + local map = scnvim.map + local map_expr = scnvim.map_expr + scnvim.setup { + -- your config here + } + end +} +``` + * Using [packer.nvim](https://github.com/wbthomason/packer.nvim) ```lua