nvim: after/plugin/nvim-lint: Use leader instead of local leader

This commit is contained in:
Sanchayan Maity 2022-11-15 12:57:01 +05:30
parent 0359b68fbf
commit b294f196de
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
local nvim_lint = require 'lint'
vim.keymap.set('n', '<LocalLeader>l', ':lua require(\'lint\').try_lint()<CR>', { noremap = true, unique = true })
vim.keymap.set('n', '<Leader>l', ':lua require(\'lint\').try_lint()<CR>', { noremap = true, unique = true })
nvim_lint.linters_by_ft = {
dockerfile = { 'hadolint' },