feat: full compatibility with neovim v0.6 (#2037)

This commit is contained in:
kylo252 2021-12-06 17:04:46 +01:00 committed by GitHub
parent 38a1724340
commit 6770808bec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 69 additions and 65 deletions

View file

@ -134,7 +134,7 @@ return {
{
"nvim-treesitter/nvim-treesitter",
commit = commit.treesitter,
branch = "0.5-compat",
branch = vim.fn.has "nvim-0.6" == 1 and "master" or "0.5-compat",
-- run = ":TSUpdate",
config = function()
require("lvim.core.treesitter").setup()