Fix style error

This commit is contained in:
Mohammad H. AlShami 2026-05-06 16:15:41 +03:00
parent 3089f15df2
commit 546b80ee59
1 changed files with 1 additions and 1 deletions

View File

@ -927,7 +927,7 @@ require('lazy').setup({
local language = vim.treesitter.language.get_lang(filetype) local language = vim.treesitter.language.get_lang(filetype)
if not language then return end if not language then return end
local ok_installed, installed_parsers = pcall(function() return require('nvim-treesitter').get_installed('parsers') end) local ok_installed, installed_parsers = pcall(function() return require('nvim-treesitter').get_installed 'parsers' end)
if not ok_installed then installed_parsers = {} end if not ok_installed then installed_parsers = {} end
if vim.tbl_contains(installed_parsers, language) then if vim.tbl_contains(installed_parsers, language) then