aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/settings.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim-lsp-installer/settings.lua')
-rw-r--r--lua/nvim-lsp-installer/settings.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/lua/nvim-lsp-installer/settings.lua b/lua/nvim-lsp-installer/settings.lua
index 0eff752a..1d999573 100644
--- a/lua/nvim-lsp-installer/settings.lua
+++ b/lua/nvim-lsp-installer/settings.lua
@@ -1,3 +1,5 @@
+local path = require "nvim-lsp-installer.path"
+
local DEFAULT_SETTINGS = {
ui = {
icons = {
@@ -20,6 +22,9 @@ local DEFAULT_SETTINGS = {
},
},
+ -- The directory in which to install all servers.
+ install_root_dir = path.concat { vim.fn.stdpath "data", "lsp_servers" },
+
pip = {
-- These args will be added to `pip install` calls. Note that setting extra args might impact intended behavior
-- and is not recommended.