From b78302c10a5ed7e133a2dfe780f1e17066e6ca04 Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Wed, 13 Sep 2023 16:13:30 +0200 Subject: [PATCH] Fix formatting --- lua/plugins/config/cmp.lua | 4 ++-- lua/plugins/config/tree.lua | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lua/plugins/config/cmp.lua b/lua/plugins/config/cmp.lua index bfcb902..8002b06 100644 --- a/lua/plugins/config/cmp.lua +++ b/lua/plugins/config/cmp.lua @@ -124,10 +124,10 @@ cmp.setup({ sources = { { name = "nvim_lsp", }, { name = "luasnip", }, + { name = 'nvim_lsp_signature_help' }, + { name = 'nvim_lua' }, { name = "path", }, -- { name = 'buffer' }, - -- { name = 'nvim_lsp_signature_help' }, - -- { name = 'nvim_lua' }, }, }) diff --git a/lua/plugins/config/tree.lua b/lua/plugins/config/tree.lua index 99b7d5d..2f66c71 100644 --- a/lua/plugins/config/tree.lua +++ b/lua/plugins/config/tree.lua @@ -65,4 +65,8 @@ require("nvim-tree").setup({ }) local opts = { remap = false, silent = true, } -vim.keymap.set("n", "tt", function () require("nvim-tree.api").tree.toggle() end, opts) +vim.keymap.set( + "n", "tt", + function () require("nvim-tree.api").tree.toggle() end, + opts +)