Random NVIM refactorings, sorry those accumulated

This commit is contained in:
2023-03-25 13:42:53 +01:00
parent 72edd200c7
commit 94e3626ed3
2 changed files with 60 additions and 34 deletions

View File

@ -17,4 +17,8 @@ function helpers.diagnostic_on_cursor_hold(bufnr)
})
end
function helpers.nmap(keys, command, description)
vim.keymap.set('n', keys, command, { desc = description })
end
return helpers