diff --git a/README.md b/README.md index ff0e9ca9..a8ce1a15 100644 --- a/README.md +++ b/README.md @@ -133,8 +133,8 @@ require('gitsigns').setup{ -- Actions map('n', 'hs', gs.stage_hunk) map('n', 'hr', gs.reset_hunk) - map('v', 'hs', function() gs.stage_hunk {vim.fn.line("."), vim.fn.line("v")} end) - map('v', 'hr', function() gs.reset_hunk {vim.fn.line("."), vim.fn.line("v")} end) + map('v', 'hs', function() gs.stage_hunk {vim.fn.line('.'), vim.fn.line('v')} end) + map('v', 'hr', function() gs.reset_hunk {vim.fn.line('.'), vim.fn.line('v')} end) map('n', 'hS', gs.stage_buffer) map('n', 'hu', gs.undo_stage_hunk) map('n', 'hR', gs.reset_buffer) @@ -272,7 +272,7 @@ This means the signs placed in the buffer reflect the changes introduced by that Null-ls can provide code actions from Gitsigns. To setup: ```lua -local null_ls = require("null-ls") +local null_ls = require('null-ls') null_ls.setup { sources = {