aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rw-r--r--doc/nvim-lsp-installer.txt6
2 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 3d3bea12..a8b840db 100644
--- a/README.md
+++ b/README.md
@@ -119,7 +119,7 @@ Example:
local lsp_installer = require("nvim-lsp-installer")
-- Provide settings first!
-lsp_installer.settings {
+lsp_installer.settings({
ui = {
icons = {
server_installed = "✓",
@@ -127,7 +127,7 @@ lsp_installer.settings {
server_uninstalled = "✗"
}
}
-}
+})
lsp_installer.on_server_ready(function (server) server:setup {} end)
```
diff --git a/doc/nvim-lsp-installer.txt b/doc/nvim-lsp-installer.txt
index 3cb7bf08..34fffb09 100644
--- a/doc/nvim-lsp-installer.txt
+++ b/doc/nvim-lsp-installer.txt
@@ -166,7 +166,7 @@ Example: >
local lsp_installer = require("nvim-lsp-installer")
-- Provide settings first!
- lsp_installer.settings {
+ lsp_installer.settings({
ui = {
icons = {
server_installed = "✓",
@@ -174,7 +174,7 @@ Example: >
server_uninstalled = "✗"
}
}
- }
+ })
lsp_installer.on_server_ready(function (server)
server:setup {}
@@ -233,7 +233,7 @@ DEBUGGING *nvim-lsp-installer-debugging*
To help with debugging issues with installing/uninstall servers, please make
sure to set nvim-lsp-installer's log level to DEBUG or TRACE, like so: >
- :lua require("nvim-lsp-installer").settings { log_level = vim.log.levels.DEBUG }
+ :lua require("nvim-lsp-installer").settings({ log_level = vim.log.levels.DEBUG })
<
You may find the logs by entering the command `:LspInstallLog`. Providing the