mirror of
https://github.com/neovim/neovim.git
synced 2026-04-29 02:34:10 +00:00
docs(gen): support language annotation in docstrings
This commit is contained in:
@@ -313,7 +313,7 @@ end
|
||||
--- In this case, add ``vim.bo.syntax = 'on'`` after the call to `start`.
|
||||
---
|
||||
--- Example:
|
||||
--- <pre>
|
||||
--- <pre>lua
|
||||
--- vim.api.nvim_create_autocmd( 'FileType', { pattern = 'tex',
|
||||
--- callback = function(args)
|
||||
--- vim.treesitter.start(args.buf, 'latex')
|
||||
|
||||
Reference in New Issue
Block a user