From e1bdec5276b8595efb92497d2ad0087d85763da1 Mon Sep 17 00:00:00 2001 From: Markus Dieckmann Date: Fri, 2 Sep 2022 16:08:48 +0200 Subject: [PATCH] trouble, prettier; disable spelling --- nvim/lua/null-ls_config.lua | 4 ++-- nvim/lua/plugins.lua | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/nvim/lua/null-ls_config.lua b/nvim/lua/null-ls_config.lua index 28fe85d..9177b4f 100644 --- a/nvim/lua/null-ls_config.lua +++ b/nvim/lua/null-ls_config.lua @@ -2,7 +2,7 @@ require("null-ls").setup({ sources = { require("null-ls").builtins.formatting.stylua, - require("null-ls").builtins.diagnostics.eslint, - require("null-ls").builtins.completion.spell, + -- require("null-ls").builtins.diagnostics.eslint, + -- require("null-ls").builtins.completion.spell, }, }) diff --git a/nvim/lua/plugins.lua b/nvim/lua/plugins.lua index 871b3ac..332e506 100644 --- a/nvim/lua/plugins.lua +++ b/nvim/lua/plugins.lua @@ -76,4 +76,22 @@ require("packer").startup(function(use) "nvim-neotest/neotest-vim-test", }, }) + use({ + "MunifTanjim/prettier.nvim", + requires = { + "jose-elias-alvarez/null-ls.nvim", + "neovim/nvim-lspconfig", + }, + }) + use { + "folke/trouble.nvim", + requires = "kyazdani42/nvim-web-devicons", + config = function() + require("trouble").setup { + -- your configuration comes here + -- or leave it empty to use the default settings + -- refer to the configuration section below + } + end +} end)