Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Struggling to install into nvim #4

Open
gforcedev opened this issue Jul 24, 2021 · 2 comments
Open

Struggling to install into nvim #4

gforcedev opened this issue Jul 24, 2021 · 2 comments

Comments

@gforcedev
Copy link

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!

@rabbiveesh
Copy link

rabbiveesh commented Jul 25, 2021 via email

@marcelarie
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants