mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-18 01:38:57 +00:00
Fix #155 regression when not using treesitter
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
if not pcall(require, 'nvim-treesitter') then
|
||||
return { is_active = function() return false end }
|
||||
return {
|
||||
is_active = function() return false end,
|
||||
synID = function(lnum, col, transparent)
|
||||
return vim.fn.synID(lnum, col, transparent)
|
||||
end
|
||||
}
|
||||
end
|
||||
|
||||
local api = vim.api
|
||||
|
||||
Reference in New Issue
Block a user