From 99e6e0f221ccdb7aa983121359aedb7791e870dd Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Thu, 8 Sep 2022 12:54:41 +0800 Subject: [PATCH] docs(treesitter): fix doxygen --- runtime/doc/treesitter.txt | 3 ++- runtime/lua/vim/treesitter.lua | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/runtime/doc/treesitter.txt b/runtime/doc/treesitter.txt index dbc81dbd96..eb7ea04254 100644 --- a/runtime/doc/treesitter.txt +++ b/runtime/doc/treesitter.txt @@ -452,7 +452,8 @@ start({bufnr}, {lang}) *start()* Can be used in an ftplugin or FileType autocommand Note: By default, disables regex syntax highlighting, which may be - required for some plugins. In this case, add vim.bo.syntax = 'on `after the call to` start`. + required for some plugins. In this case, add `vim.bo.syntax = 'on'` after + the call to `start`. Example: > diff --git a/runtime/lua/vim/treesitter.lua b/runtime/lua/vim/treesitter.lua index cde0491b12..69faea7edc 100644 --- a/runtime/lua/vim/treesitter.lua +++ b/runtime/lua/vim/treesitter.lua @@ -247,7 +247,7 @@ end --- Can be used in an ftplugin or FileType autocommand --- --- Note: By default, disables regex syntax highlighting, which may be required for some plugins. ---- In this case, add `vim.bo.syntax = 'on'` after the call to `start`. +--- In this case, add ``vim.bo.syntax = 'on'`` after the call to `start`. --- --- Example: ---