mirror of
https://github.com/neovim/neovim.git
synced 2026-04-02 21:59:28 +00:00
docs: fix syntax errors in examples #38606
This commit is contained in:
@@ -184,7 +184,7 @@ end
|
||||
--- })
|
||||
--- vim.lsp.config('…', {
|
||||
--- filetypes = { 'my_filetype1', 'my_filetype2' },
|
||||
--- }
|
||||
--- })
|
||||
--- ```
|
||||
--- @field filetypes? string[]
|
||||
---
|
||||
|
||||
@@ -55,7 +55,7 @@ local all_clients = {}
|
||||
--- string.
|
||||
--- Example:
|
||||
--- ```lua
|
||||
--- { PORT = 8080; HOST = '0.0.0.0'; }
|
||||
--- { PORT = 8080, HOST = '0.0.0.0' }
|
||||
--- ```
|
||||
--- @field cmd_env? table
|
||||
---
|
||||
|
||||
@@ -268,8 +268,8 @@ local explicit_queries = setmetatable({}, {
|
||||
--- 'c',
|
||||
--- 'highlights',
|
||||
--- [[;inherits c
|
||||
--- (identifier) @spell]])
|
||||
--- ]])
|
||||
--- (identifier) @spell]]
|
||||
--- )
|
||||
--- ```
|
||||
---
|
||||
---@param lang string Language to use for the query
|
||||
|
||||
Reference in New Issue
Block a user