aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/treesitter/languagetree.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2024-03-08 12:25:18 +0000
committerLewis Russell <me@lewisr.dev>2024-03-09 11:21:55 +0000
commitade1b12f49c3b3914c74847d791eb90ea90b56b7 (patch)
treeb76b5f4cbb3398c7c7081e33db0b8fba99600f6e /runtime/lua/vim/treesitter/languagetree.lua
parent0e284939143ae5bd55f78ece388346811af842ea (diff)
downloadrneovim-ade1b12f49c3b3914c74847d791eb90ea90b56b7.tar.gz
rneovim-ade1b12f49c3b3914c74847d791eb90ea90b56b7.tar.bz2
rneovim-ade1b12f49c3b3914c74847d791eb90ea90b56b7.zip
docs: support inline markdown
- Tags are now created with `[tag]()` - References are now created with `[tag]` - Code spans are no longer wrapped
Diffstat (limited to 'runtime/lua/vim/treesitter/languagetree.lua')
-rw-r--r--runtime/lua/vim/treesitter/languagetree.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/lua/vim/treesitter/languagetree.lua b/runtime/lua/vim/treesitter/languagetree.lua
index 640477eed4..62714d3f1b 100644
--- a/runtime/lua/vim/treesitter/languagetree.lua
+++ b/runtime/lua/vim/treesitter/languagetree.lua
@@ -1,4 +1,4 @@
---- @brief A \*LanguageTree\* contains a tree of parsers: the root treesitter parser for {lang} and
+--- @brief A [LanguageTree]() contains a tree of parsers: the root treesitter parser for {lang} and
--- any "injected" language parsers, which themselves may inject other languages, recursively.
--- For example a Lua buffer containing some Vimscript commands needs multiple parsers to fully
--- understand its contents.
@@ -93,8 +93,8 @@ local LanguageTree = {}
---Optional arguments:
---@class vim.treesitter.LanguageTree.new.Opts
---@inlinedoc
----@field queries table<string,string> -- Deprecated
----@field injections table<string,string>
+---@field queries? table<string,string> -- Deprecated
+---@field injections? table<string,string>
LanguageTree.__index = LanguageTree