added more to the ensure installed of treesitter

This commit is contained in:
Tawfeeq 2025-03-11 11:10:44 +01:00
parent 198370ae5b
commit 9a4ca7c839
2 changed files with 52 additions and 24 deletions

View file

@ -5,7 +5,10 @@ return {
event = { 'BufReadPre', 'BufNewFile' },
config = function()
local lint = require 'lint'
lint.linters_by_ft = {}
lint.linters_by_ft = {
javascript = {},
typescript = {},
}
-- To allow other plugins to add linters to require('lint').linters_by_ft,
-- instead set linters_by_ft like this: