From e9a3abf8d92ad845cbbec1a2482b2061789ee43b Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Tue, 29 Nov 2022 13:25:43 +0100 Subject: [PATCH] Setup LSP, DAP, linters and formatters --- lua/plugins.lua | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/lua/plugins.lua b/lua/plugins.lua index 086caea..8279610 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -47,10 +47,29 @@ return require('packer').startup(function() -- LSP use 'neovim/nvim-lspconfig' + + -- LSP, DAP, linters and formatters + -- use 'jose-elias-alvarez/null-ls.nvim' + use { + 'dense-analysis/ale', + config = function() + vim.cmd [[ g:ale_sign_column_always = 1 ]] + end + } + + -- management for LSP, DAP, linters and formatters use { 'williamboman/mason.nvim', config = function() - require('mason').setup() + require('mason').setup({ + ui = { + icons = { + package_installed = "✓", + package_pending = "➜", + package_uninstalled = "✗" + } + } + }) end } use 'williamboman/mason-lspconfig.nvim'