aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer.lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2021-09-30 16:34:15 +0200
committerGitHub <noreply@github.com>2021-09-30 16:34:15 +0200
commitbb24fca211c5d5e8d3cf88151e60d0b2b0555127 (patch)
treee34e2bca86356bc9bdf2e72464bd87c37baa70e3 /lua/nvim-lsp-installer.lua
parentshell: don't set pipefail option for sh (diff)
downloadmason-bb24fca211c5d5e8d3cf88151e60d0b2b0555127.tar
mason-bb24fca211c5d5e8d3cf88151e60d0b2b0555127.tar.gz
mason-bb24fca211c5d5e8d3cf88151e60d0b2b0555127.tar.bz2
mason-bb24fca211c5d5e8d3cf88151e60d0b2b0555127.tar.lz
mason-bb24fca211c5d5e8d3cf88151e60d0b2b0555127.tar.xz
mason-bb24fca211c5d5e8d3cf88151e60d0b2b0555127.tar.zst
mason-bb24fca211c5d5e8d3cf88151e60d0b2b0555127.zip
add Lua API to override default settings (#111)
Diffstat (limited to 'lua/nvim-lsp-installer.lua')
-rw-r--r--lua/nvim-lsp-installer.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/nvim-lsp-installer.lua b/lua/nvim-lsp-installer.lua
index 58b909dd..b05ac31c 100644
--- a/lua/nvim-lsp-installer.lua
+++ b/lua/nvim-lsp-installer.lua
@@ -3,9 +3,12 @@ local dispatcher = require "nvim-lsp-installer.dispatcher"
local process = require "nvim-lsp-installer.process"
local status_win = require "nvim-lsp-installer.ui.status-win"
local servers = require "nvim-lsp-installer.servers"
+local settings = require "nvim-lsp-installer.settings"
local M = {}
+M.settings = settings.set
+
function M.display()
status_win().open()
end