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

Error: No such mapping #169

Closed
ray-x opened this issue Jan 19, 2022 · 1 comment
Closed

Error: No such mapping #169

ray-x opened this issue Jan 19, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@ray-x
Copy link
Contributor

ray-x commented Jan 19, 2022

Describe the bug
Run doautocmd and saw keymap error

To Reproduce
Steps to reproduce the behavior:

  • Open go file, run following command
doautocmd FileType go

And saw error

Error detected while processing FileType Autocommands for "*":                                                                                        
E5108: Error executing lua ...r-textobjects/lua/nvim-treesitter/textobjects/attach.lua:54: E31: No such mapping                                       
stack traceback:                                                                                                                                      
        [C]: in function 'nvim_buf_del_keymap'                                                                                                        
        ...r-textobjects/lua/nvim-treesitter/textobjects/attach.lua:54: in function 'detach'                                                          
        ...cker/opt/nvim-treesitter/lua/nvim-treesitter/configs.lua:471: in function 'detach_module'                                                  
        ...cker/opt/nvim-treesitter/lua/nvim-treesitter/configs.lua:480: in function 'reattach_module'                                                
        [string ":lua"]:1: in main chunk                                                                                                              
E5108: Error executing lua ...r-textobjects/lua/nvim-treesitter/textobjects/select.lua:59: attempt to concatenate local 'query' (a table value)       
stack traceback:                                                                                                                                      
        ...r-textobjects/lua/nvim-treesitter/textobjects/select.lua:59: in function 'attach'                                                          
        ...cker/opt/nvim-treesitter/lua/nvim-treesitter/configs.lua:458: in function 'attach_module'                                                  
        ...cker/opt/nvim-treesitter/lua/nvim-treesitter/configs.lua:481: in function 'reattach_module'                                                
        [string ":lua"]:1: in main chunk    

Expected behavior
Should not see any errors

Output of :checkhealth nvim_treesitter

nvim_treesitte:

  • ERROR: No healthcheck found for "nvim_treesitte" plugin.

Output of nvim --version

NVIM v0.7.0-dev+907-g96aa7dd09
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by ray.xu@192-168-1-104.tpgi.com.au

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/share/nvim"

Run :checkhealth for more info

Additional context
Add any other context about the problem here.
MacOS, updated TS and TSObject plugin a few hrs ago

I noticed another issue report here : #167
I removed per-language setup but still see same issue.

@ray-x ray-x added the bug Something isn't working label Jan 19, 2022
@ray-x
Copy link
Contributor Author

ray-x commented Jan 19, 2022

seems related to go setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant