Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mgnsk committed Nov 24, 2024
1 parent b838287 commit bd8b751
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,10 @@ Example configuration for lazy.nvim:
dependencies = {
"nvim-treesitter/nvim-treesitter",
},
ft = "balafon",
build = function(plugin)
local parser_config = require("nvim-treesitter.parsers").get_parser_configs()

parser_config["balafon"] = {
install_info = {
url = plugin.dir,
Expand All @@ -328,8 +330,9 @@ Example configuration for lazy.nvim:
},
filetype = "bal",
}

vim.cmd("TSUpdateSync balafon")
end
end,
},
```

Expand Down

0 comments on commit bd8b751

Please sign in to comment.