Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

fix: only have one source of get_node_text (nvim-treesitter.compat) #124

Merged
merged 1 commit into from Apr 15, 2023

Commits on Apr 15, 2023

  1. fix: only have one source of get_node_text (nvim-treesitter.compat)

    PR nvim-treesitter#120 used nvim-treesitter.compat in some occasions but not all:
    https://github.com/nvim-treesitter/playground/pull/120/files
    
    This made nvim-treesitter-playground incompatible with older
    Neovim versions nvim-treesitter#120 (comment)
    
    Although, we generally only support latest Neovim stable this is a
    unnecessary inconsistency in the code base. Also when, ts_compat should
    be removed in future it should there will be only one source of
    `get_node_text` that can then be swapped consistently around the whole
    code base. nvim-treesitter-playground is especially useful for older
    Neovim versions that don't have the built-in playground yet.
    theHamsta committed Apr 15, 2023
    Configuration menu
    Copy the full SHA
    8ba40de View commit details
    Browse the repository at this point in the history