mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 07:15:37 +00:00
remove silent from formatter
This commit is contained in:
parent
3a04b58574
commit
a3ff05b40c
@ -155,6 +155,7 @@ require("packer").startup(function(use)
|
|||||||
-- Linting
|
-- Linting
|
||||||
use({
|
use({
|
||||||
"jose-elias-alvarez/null-ls.nvim",
|
"jose-elias-alvarez/null-ls.nvim",
|
||||||
|
branch = "main",
|
||||||
requires = {
|
requires = {
|
||||||
"nvim-lua/plenary.nvim",
|
"nvim-lua/plenary.nvim",
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
@ -455,7 +456,7 @@ vim.api.nvim_exec(
|
|||||||
-- Formatting
|
-- Formatting
|
||||||
vim.api.nvim_exec(
|
vim.api.nvim_exec(
|
||||||
[[
|
[[
|
||||||
au BufWritePost * silent! lua vim.lsp.buf.formatting()
|
au BufWritePost * lua vim.lsp.buf.formatting()
|
||||||
]],
|
]],
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user