Add autoformat and af hotkey

This commit is contained in:
Mark 2023-12-27 15:08:22 -05:00
parent 401003e42a
commit 19136f3577
3 changed files with 6 additions and 1 deletions

View File

@ -14,6 +14,7 @@
"mason-lspconfig.nvim": { "branch": "main", "commit": "56e435e09f8729af2d41973e81a0db440f8fe9c9" },
"mason.nvim": { "branch": "main", "commit": "41e75af1f578e55ba050c863587cffde3556ffa6" },
"neodev.nvim": { "branch": "main", "commit": "029899ea32d3dc8ed8c910ceca2ee5d16e566c11" },
"neoformat": { "branch": "master", "commit": "cd45ca8309d5261e8e76557c11a22b2f1ffc710b" },
"neoscroll.nvim": { "branch": "master", "commit": "be4ebf855a52f71ca4338694a5696675d807eff9" },
"nvim-blame-line": { "branch": "master", "commit": "b3d94f0ed5882d3d1c843c69788b9670476e1f42" },
"nvim-cmp": { "branch": "main", "commit": "538e37ba87284942c1d76ed38dd497e54e65b891" },

View File

@ -3,9 +3,10 @@
--
-- See the kickstart.nvim README for more information
vim.opt.colorcolumn = "80,100"
vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.colorcolumn = "80,100"
vim.api.nvim_set_keymap('n', '<leader>cf', ':EslintFixAll<CR>:Neoformat<CR>', { noremap = true, silent = true })
return {}

View File

@ -0,0 +1,3 @@
return {
"sbdchd/neoformat"
}