Reformat all neovim configuration files with stylua

This commit is contained in:
Marko Korhonen 2022-10-26 14:08:20 +03:00
parent d69a00df7e
commit bddcb64be8
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
16 changed files with 414 additions and 352 deletions

View file

@ -1,11 +1,11 @@
local map = vim.keymap.set
-- Navigate between buffers
map('n', '<C-N>', vim.cmd.bn, {silent = true})
map('n', '<C-B>', vim.cmd.bp, {silent = true})
map("n", "<C-N>", vim.cmd.bn, { silent = true })
map("n", "<C-B>", vim.cmd.bp, { silent = true })
-- Run Neoformat
map('n', '<M-f>', vim.cmd.Neoformat, {})
map("n", "<M-f>", vim.cmd.Neoformat, {})
-- Exit terminal insert mode with esc
map('t', '<Esc>', '<C-\\><C-n>', {})
map("t", "<Esc>", "<C-\\><C-n>", {})