Use which-key and "f" to format

This commit is contained in:
Mark 2023-12-27 16:08:44 -05:00
parent 201c8d9da6
commit e049f35eda
1 changed files with 4 additions and 2 deletions

View File

@ -3,10 +3,12 @@
--
-- See the kickstart.nvim README for more information
vim.opt.colorcolumn = "80,100"
vim.opt.colorcolumn = '80,100'
vim.opt.number = true
vim.opt.relativenumber = true
vim.api.nvim_set_keymap('n', '<leader>cf', ':EslintFixAll<CR>:Neoformat<CR>', { noremap = true, silent = true })
require('which-key').register({
f = { ':Neoformat<CR>:EslintFixAll<CR>', 'Prettier then eslint' }
}, { prefix = '<leader>c' })
return {}