| Crates.io | tree-sitter-icelang |
| lib.rs | tree-sitter-icelang |
| version | 0.1.6 |
| created_at | 2023-06-28 14:11:08.253619+00 |
| updated_at | 2023-08-25 11:38:29.486168+00 |
| description | icelang grammar for the tree-sitter parsing library |
| homepage | |
| repository | https://github.com/luckasRanarison/tree-sitter-icelang |
| max_upload_size | |
| id | 902158 |
| size | 432,547 |
icelang grammar for tree-sitter
# install tree-sitter-cli with cargo or npm
cargo install tree-sitter-cli
# or
npm i -g tree-sitter-cli
# generate parser
tree-sitter generate
To use it in Neovim, you have install the parser manually by adding the following code in your nvim-treesitter configuration, and run :TSInstall icelang.
local parser_config = require("nvim-treesitter.parsers").get_parser_configs()
parser_config.icelang = {
install_info = {
url = "https://github.com/luckasRanarison/tree-sitter-icelang",
files = { "src/parser.c" },
branch = "master",
},
filetype = "icelang",
}
To get syntax highlightings, folds and indents, you can use the repository as plugin by installing it with your package manager.
Lazy:
return { "luckasRanarison/tree-sitter-icelang" }
Packer:
use { "luckasRanarison/tree-sitter-icelang" }