tree-sitter-perl
tree-sitter-perl copied to clipboard
Struggling to install into nvim
My nvim config:
local parser_config = require 'nvim-treesitter.parsers'.get_parser_configs()
parser_config.perl = {
install_info = {
url = '~/clones/tree-sitter-perl',
files = { 'src/parser.c' },
},
filetype = 'perl',
used_by = {'pm', 'pl', 't'},
}
:TSInstall perl
worked fine, but I don't get syntax highlighting in perl files - if someone could point me in the right direction that would be much appreciated!
I don't think this package has implemented syntax highliting yet
On Sat, Jul 24, 2021, 14:48 Gforcedev @.***> wrote:
My nvim config:
local parser_config = require 'nvim-treesitter.parsers'.get_parser_configs() parser_config.perl = { install_info = { url = '~/clones/tree-sitter-perl', files = { 'src/parser.c' }, }, filetype = 'perl', used_by = {'pm', 'pl', 't'}, }
:TSInstall perl worked fine, but I don't get syntax highlighting in perl files - if someone could point me in the right direction that would be much appreciated!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ganezdragon/tree-sitter-perl/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFURPKQAV265WNIEZB5QDFDTZMDJPANCNFSM5A5XFG5Q .
I have this error too:
Error detected while processing CursorHold Autocommands for "<buffer=6>": E5108: Error executing lua Failed to load parser: uv_dlopen: /home/marcel/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parse r/perl.so: undefined symbol: tree_sitter_perl_external_scanner_create