You are receiving this because you authored the thread. Triage notifications on the go with GitHub Mobile for iOS or Android. (language) to this email directly, view it on GitHub, or unsubscribe. * For code blocks within block quotes in Markdown, omit the > marker. * For doc-comments in Rust, omit the /// text. Of course, as a separate issue, you need some way of indicating that certain ranges should be omitted from the nested document. (doc_comment)+ "injection.language" "markdown") This important for languages like PHP, where it's not really possible to capture all of the text nodes together in one match.įor cases where you just want multiple nodes from the same match, couldn't you just allow multiple nodes with the same capture name? For example, to parse a series of doc comments as markdown, you could just allow this: In my opinion, combined should be reserved for cases when we need to combine the ranges of multiple matches and parse that as one document. To: nvim-treesitter/nvim-treesitter William Heinbockel Author Re: Injected markdown incorrectly highlights indented docstrings (Issue #2212) Selected from Ĭompilation: /Applications/Xcode_12.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -O2 -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/Users/runner/work/neovim/neovim/build/config -I/Users/runner/work/neovim/neovim/src -I/Users/runner/work/neovim/neovim/.deps/usr/include -I/Applications/Xcode_12.4.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX11.1.sdk/usr/include -I/Library/Frameworks/amework/Headers -I/Users/runner/work/neovim/neovim/build/src/nvim/auto -I/Users/runner/work/neovim/neovim/build/includeįrom: Max Brunsfeld Tuesday, Janu1:35:59 PM OK: `node` found v17.3.0 (only needed for :TSInstallFromGrammar) # Installation - OK: `tree-sitter` found 0.20.2 (parser generator, only needed for :TSInstallFromGrammar) For more information, see " Creating diagrams.Nvim-treesitter: require("nvim-treesitter.health").check() GitHub supports Mermaid, GeoJSON, TopoJSON, and ASCII STL syntax. You can also use code blocks to create diagrams in Markdown. The text will be displayed exactly as written in the HTML source code. Text in aelement is displayed in a fixed-width font, and the text preserves both spaces and line breaks. Definition and Usage The tag defines preformatted text. You can find out which keywords are valid in the languages YAML file. Try it Yourself » More 'Try it Yourself' examples below.
0 Comments
Leave a Reply. |