From e28f6ae504875e3893c8582b478350f279eae1d0 Mon Sep 17 00:00:00 2001 From: Markus Sagen Date: Mon, 29 Jul 2024 16:33:43 +0200 Subject: [PATCH] fix: project name --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6ba3697..d3fd7c1 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,9 @@ Small Neovim plugin that provides keymaps for putting certain characters (or strings) at the end of the current line (but before the comment if the line has one) without moving your cursor. Useful for languages that require semicolons at the end of the line. + ## Usage + ```lua local m = require("put_at_end") vim.keymap.set("n", "", m.put_semicolon) @@ -15,12 +17,14 @@ Useful for languages that require semicolons at the end of the line. ``` ## Installation and Example Configuration + - With [lazy](https://github.com/folke/lazy.nvim) + ```lua { - "rareitems/put_at_end", + "rareitems/put_at_end.nvim", keys = { -- Basic lazy loading - -- Plugin doesn't set any keymaps you have to set your own + -- Plugin doesn't set any keymaps you have to set your own { "", function() @@ -47,6 +51,7 @@ Useful for languages that require semicolons at the end of the line. ``` - With [packer.nvim](https://github.com/wbthomason/packer.nvim) + ```lua use { 'rareitems/put_at_end.nvim' } ```