nvimrc: fix missing variable

This commit is contained in:
Rob Watson 2022-01-05 20:38:22 +01:00
parent 4d8f632266
commit f186553f90
1 changed files with 1 additions and 0 deletions

1
nvimrc
View File

@ -497,6 +497,7 @@ augroup FormatAutogroup
augroup END augroup END
]], true) ]], true)
local bufnr = vim.call("bufnr", "%")
vim.api.nvim_buf_set_keymap(bufnr, 'n', '<leader>F', '<Cmd>silent Format<CR>', { noremap=true, silent=true }) vim.api.nvim_buf_set_keymap(bufnr, 'n', '<leader>F', '<Cmd>silent Format<CR>', { noremap=true, silent=true })
EOF EOF