Replace vim.api.nvim_set_keymap with vim.keymap.set
This commit is contained in:
parent
6f512112d8
commit
6115ca4be2
3 changed files with 10 additions and 15 deletions
|
|
@ -4,6 +4,4 @@ local source_link = require('source-link')
|
|||
|
||||
source_link.setup()
|
||||
|
||||
local opts = { noremap = true, silent = true }
|
||||
|
||||
vim.api.nvim_set_keymap('n', '<C-L>', '<cmd>:SourceOpen<CR>', opts)
|
||||
vim.keymap.set('n', '<C-L>', '<cmd>:SourceOpen<CR>', { noremap = true, silent = true })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue