Coder Social home page Coder Social logo

Comments (4)

andymass avatar andymass commented on June 12, 2024

Would you be able to see if this is still a problem in latest HEAD?

from vim-matchup.

ribelo avatar ribelo commented on June 12, 2024

Look like there is still a problem

E486: Pattern not found: andy
Error detected while processing CursorMoved Autocommands for "*"..function 6[3]..7[71]..matchup#delim#get_current[1]..<SNR>80_get_delim_multi[3]..<SNR>80_get_delim[165]..matchup#delim#skip[13]..matchup#ts_syntax#skip_expr[5]..matchup#ts_syntax#synID[1]..<SNR>81_forward:
line    1:
E5108: Error executing lua ...-89722dd/share/nvim/runtime/lua/vim/treesitter/query.lua:577: bad argument #2 to 'handler' (string expected, got nil)
stack traceback:
	[C]: in function 'handler'
	...-89722dd/share/nvim/runtime/lua/vim/treesitter/query.lua:577: in function 'match_preds'
	...-89722dd/share/nvim/runtime/lua/vim/treesitter/query.lua:666: in function '(for generator)'
	...vim-matchup/lua/treesitter-matchup/third-party/utils.lua:67: in function 'fn'
	...d/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:231: in function 'for_each_tree'
	...vim-matchup/lua/treesitter-matchup/third-party/utils.lua:45: in function 'get_hl_groups_at_position'
	...m-matchup/lua/treesitter-matchup/third-party/hl-info.lua:74: in function 'get_treesitter_hl'
	.../nvim/lazy/vim-matchup/lua/treesitter-matchup/syntax.lua:83: in function 'synID'
	[string "luaeval()"]:1: in main chunk
Error detected while processing CursorMoved Autocommands for "*"..function 6[3]..7[71]..matchup#delim#get_current[1]..<SNR>80_get_delim_multi[3]..<SNR>80_get_delim[170]..matchup#delim#skip[13]..matchup#ts_syntax#skip_expr[5]..matchup#ts_syntax#synID[1]..<SNR>81_forward:
line    1:

vim-matchup version

    ● vim-matchup 3.18ms îȘ† BufReadPost
        3a48818 Fix a test case (11 hours ago)
        60afb50 Add ruby singleton class match (#270) (11 hours ago)
        54ac6e1 Fix html text_obj edges, fixes #218 (12 hours ago)
        1c7fa28 Remove reference to old nvim (12 hours ago)
        a1a9c1d Add vim TS queries for else and for (28 hours ago)
        cdb67af Add basic vim TS query (29 hours ago)
        2dffaed Handle nested TS syntax, closes #271 (29 hours ago)
        d7a5d19 Update TS support files (35 hours ago)

from vim-matchup.

andymass avatar andymass commented on June 12, 2024

The trace is inside nvim code, haven't found the problem yet. I am having trouble reproducing this, can you provide any more reproduction info? Such as configuration, language server, plugins used.

from vim-matchup.

ribelo avatar ribelo commented on June 12, 2024

To make it easier I updated nightly from NVIM v0.9.0-dev-fb1db80 to NVIM v0.9.0-dev-204a8b1, and it started working. Earlier, it wasn't working on a (some) stable version either. Seems like the error was on treesitter's side, which had a major update recently. Sorry for bothering you. By the way, thanks for the awesome plugin and your work <3

from vim-matchup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.