From 94e81693d930132721cb22acf5df845bec3c72f2 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Tue, 11 Apr 2023 07:40:22 +0200 Subject: [PATCH] style: auto-format --- home-manager/neovim/lspconfig.lua | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/home-manager/neovim/lspconfig.lua b/home-manager/neovim/lspconfig.lua index 630d9c8..55dbefa 100644 --- a/home-manager/neovim/lspconfig.lua +++ b/home-manager/neovim/lspconfig.lua @@ -6,9 +6,13 @@ local on_attach = function(client, bufnr) end local function format_buffer() - vim.lsp.buf.format({ timeout_ms = 3000, async = false, filter = function(formatter) - return formatter.name ~= "tsserver" and formatter.name ~= "volar" - end }) + vim.lsp.buf.format({ + timeout_ms = 3000, + async = false, + filter = function(formatter) + return formatter.name ~= "tsserver" and formatter.name ~= "volar" + end + }) end local telescope = require("telescope.builtin") @@ -131,7 +135,6 @@ null_ls.setup({ null_ls.builtins.diagnostics.eslint_d, null_ls.builtins.diagnostics.tsc, }, - on_attach = on_attach, })