diff --git a/README.md b/README.md index 49c127e4..b31b4d2f 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ lua require('crates').setup() [__lazy.nvim__](https://github.com/folke/lazy.nvim) ```lua -use { +{ 'saecki/crates.nvim', tag = 'v0.3.0', dependencies = { 'nvim-lua/plenary.nvim' }, @@ -72,7 +72,7 @@ lua require('crates').setup() [__lazy.nvim__](https://github.com/folke/lazy.nvim) ```lua -use { +{ 'saecki/crates.nvim', dependencies = { 'nvim-lua/plenary.nvim' }, config = function() @@ -87,7 +87,7 @@ use { For lazy loading. ```lua -use { +{ 'saecki/crates.nvim', event = { "BufRead Cargo.toml" }, dependencies = { 'nvim-lua/plenary.nvim' }, diff --git a/scripts/README.md.in b/scripts/README.md.in index a5821ae6..701ef8ed 100644 --- a/scripts/README.md.in +++ b/scripts/README.md.in @@ -49,7 +49,7 @@ lua require('crates').setup() [__lazy.nvim__](https://github.com/folke/lazy.nvim) ```lua -use { +{ 'saecki/crates.nvim', tag = 'v', dependencies = { 'nvim-lua/plenary.nvim' }, @@ -72,7 +72,7 @@ lua require('crates').setup() [__lazy.nvim__](https://github.com/folke/lazy.nvim) ```lua -use { +{ 'saecki/crates.nvim', dependencies = { 'nvim-lua/plenary.nvim' }, config = function() @@ -87,7 +87,7 @@ use { For lazy loading. ```lua -use { +{ 'saecki/crates.nvim', event = { "BufRead Cargo.toml" }, dependencies = { 'nvim-lua/plenary.nvim' },