aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Vigouroux <thomas.vigouroux@protonmail.com>2022-09-08 08:20:27 +0200
committerGitHub <noreply@github.com>2022-09-08 08:20:27 +0200
commit79afdae2f3bbf5572d04f3900a80ac62f01fd76f (patch)
treefed0527ba4e8f264cc1060a0f29d6067a5d98861
parent078e49b96a4f3e4255371cd40c18295bab2149d0 (diff)
parent99e6e0f221ccdb7aa983121359aedb7791e870dd (diff)
downloadrneovim-79afdae2f3bbf5572d04f3900a80ac62f01fd76f.tar.gz
rneovim-79afdae2f3bbf5572d04f3900a80ac62f01fd76f.tar.bz2
rneovim-79afdae2f3bbf5572d04f3900a80ac62f01fd76f.zip
Merge pull request #20114 from zeertzjq/ts-docs
docs(treesitter): fix doxygen comment
-rw-r--r--runtime/doc/treesitter.txt3
-rw-r--r--runtime/lua/vim/treesitter.lua2
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:
---