aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2021-11-08 15:36:12 +0100
committerWilliam Boman <william@redwill.se>2021-11-08 15:36:23 +0100
commit821666fdc534dfcba32fcc0b016d751b3d55db82 (patch)
tree08f4db91ecce13aac27998299742b361c16eb46c /README.md
parentfix: solang needs to specify a target now, can be: ewasm, solana, substrate |... (diff)
downloadmason-821666fdc534dfcba32fcc0b016d751b3d55db82.tar
mason-821666fdc534dfcba32fcc0b016d751b3d55db82.tar.gz
mason-821666fdc534dfcba32fcc0b016d751b3d55db82.tar.bz2
mason-821666fdc534dfcba32fcc0b016d751b3d55db82.tar.lz
mason-821666fdc534dfcba32fcc0b016d751b3d55db82.tar.xz
mason-821666fdc534dfcba32fcc0b016d751b3d55db82.tar.zst
mason-821666fdc534dfcba32fcc0b016d751b3d55db82.zip
docs: wrap table arg with parantheses to avoid ambiguous syntax
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 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)
```