nvim: format w/ stylua

This commit is contained in:
Price Hiller 2022-06-02 20:29:48 -05:00
parent f6ea0c9d19
commit c51753bdaa
7 changed files with 13 additions and 14 deletions

View File

@ -1,4 +1,3 @@
local file_loc = vim.fn.expand('%:p:h') local file_loc = vim.fn.expand('%:p:h')
vim.opt.makeprg = 'docker build ' .. file_loc
vim.opt.makeprg = "docker build " .. file_loc

View File

@ -1,6 +1,6 @@
vim.api.nvim_create_autocmd("BufWrite", { vim.api.nvim_create_autocmd('BufWrite', {
pattern = "*", pattern = '*',
callback = function() callback = function()
vim.cmd('lua vim.lsp.buf.format({ async = true })') vim.cmd('lua vim.lsp.buf.format({ async = true })')
end end,
}) })

View File

@ -6,8 +6,8 @@ neotree.setup({
use_libuv_file_watcher = true, use_libuv_file_watcher = true,
window = { window = {
mappings = { mappings = {
["/"] = "" ['/'] = '',
} },
} },
}, },
}) })

View File

@ -514,8 +514,8 @@ return packer.startup({
require('neogit').setup({ require('neogit').setup({
integrations = { integrations = {
disable_commit_confirmation = true, disable_commit_confirmation = true,
diffview = true diffview = true,
} },
}) })
end, end,
requires = { requires = {