- Install the nvim-treesitter plugin
- Add this to your init.lua file
require "nvim-treesitter.parsers".get_parser_configs().lucy = {
install_info = {
url = "https://github.com/lucy-language/tree-sitter-lucy",
files = { "src/parser.c" },
branch = "master"
},
filetype = "lc"
}If you use an init.vim file add this
lua << EOF
require "nvim-treesitter.parsers".get_parser_configs().lucy = {
install_info = {
url = "https://github.com/lucy-language/tree-sitter-lucy",
files = { "src/parser.c" },
branch = "master"
},
filetype = "lc"
}
EOF- Open neovim and run
:TSInstall lucy - To add highlighting follow these steps with the files found here
