Skip to content

Commit

Permalink
docs: insert missing comma in example config (#48)
Browse files Browse the repository at this point in the history
fixes:
```
E5112: Error while creating lua chunk: .../init.lua:30: '}' expected 
(to close '{' at line 27) near 'init_options'
```
  • Loading branch information
Foo-x authored Mar 22, 2024
1 parent 8950859 commit 41403eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/neovim-lsp-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Example config when using [neovim/nvim-lspconfig](https://github.com/neovim/nvim
```lua
require('lspconfig').typos_lsp.setup({
-- Logging level of the language server. Logs appear in :LspLog. Defaults to error.
cmd_env = { RUST_LOG = "error" }
cmd_env = { RUST_LOG = "error" },
init_options = {
-- Custom config. Used together with any workspace config files, taking precedence for
-- settings declared in both. Equivalent to the typos `--config` cli argument.
Expand Down

0 comments on commit 41403eb

Please sign in to comment.