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

fix: remove not used language_mappings defition #84

Merged
merged 1 commit into from
Apr 23, 2023

Conversation

robsonpeixoto
Copy link
Contributor

The package mason.mappings.language does not exists and is always raising the
error:

   Error  09:11:32 msg_show.lua_error   DapInstall delve Error executing Lua callback: .../share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:45: Vim:Error executing Lua callback: ...y/mason-nvim-dap.nvim/lua/mason-nvim-dap/api/command.lua:12: module 'mason.mappings.language' not found:
	no field package.preload['mason.mappings.language']
cache_loader: module mason.mappings.language not found
cache_loader_lib: module mason.mappings.language not found
	no file './mason/mappings/language.lua'
	no file '/usr/local/share/luajit-2.1.0-beta3/mason/mappings/language.lua'
	no file '/usr/local/share/lua/5.1/mason/mappings/language.lua'
	no file '/usr/local/share/lua/5.1/mason/mappings/language/init.lua'
	no file './mason/mappings/language.so'
	no file '/usr/local/lib/lua/5.1/mason/mappings/language.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'
	no file './mason.so'
	no file '/usr/local/lib/lua/5.1/mason.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
	[C]: in function 'error'
	...share/nvim/lazy/mason.nvim/lua/mason-core/async/init.lua:113: in function 'callback'
	...share/nvim/lazy/mason.nvim/lua/mason-core/async/init.lua:91: in function 'step'
	...share/nvim/lazy/mason.nvim/lua/mason-core/async/init.lua:96: in function 'DapInstall'
	...y/mason-nvim-dap.nvim/lua/mason-nvim-dap/api/command.lua:113: in function <...y/mason-nvim-dap.nvim/lua/mason-nvim-dap/api/command.lua:112>
	[C]: in function 'cmd'
	.../share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:45: in function <.../share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:16>
stack traceback:
	[C]: in function 'cmd'
	.../share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:45: in function <.../share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:16>

As language_mappings is not used, I'm removing it.

The package `mason.mappings.language` does not exists and is always raising the
error:
```
   Error  09:11:32 msg_show.lua_error   DapInstall delve Error executing Lua callback: .../share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:45: Vim:Error executing Lua callback: ...y/mason-nvim-dap.nvim/lua/mason-nvim-dap/api/command.lua:12: module 'mason.mappings.language' not found:
	no field package.preload['mason.mappings.language']
cache_loader: module mason.mappings.language not found
cache_loader_lib: module mason.mappings.language not found
	no file './mason/mappings/language.lua'
	no file '/usr/local/share/luajit-2.1.0-beta3/mason/mappings/language.lua'
	no file '/usr/local/share/lua/5.1/mason/mappings/language.lua'
	no file '/usr/local/share/lua/5.1/mason/mappings/language/init.lua'
	no file './mason/mappings/language.so'
	no file '/usr/local/lib/lua/5.1/mason/mappings/language.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'
	no file './mason.so'
	no file '/usr/local/lib/lua/5.1/mason.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
	[C]: in function 'error'
	...share/nvim/lazy/mason.nvim/lua/mason-core/async/init.lua:113: in function 'callback'
	...share/nvim/lazy/mason.nvim/lua/mason-core/async/init.lua:91: in function 'step'
	...share/nvim/lazy/mason.nvim/lua/mason-core/async/init.lua:96: in function 'DapInstall'
	...y/mason-nvim-dap.nvim/lua/mason-nvim-dap/api/command.lua:113: in function <...y/mason-nvim-dap.nvim/lua/mason-nvim-dap/api/command.lua:112>
	[C]: in function 'cmd'
	.../share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:45: in function <.../share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:16>
stack traceback:
	[C]: in function 'cmd'
	.../share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:45: in function <.../share/nvim/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:16>
```

As `language_mappings` is not used, I'm removing it.
@jay-babu jay-babu merged commit 9512a88 into jay-babu:main Apr 23, 2023
@robsonpeixoto robsonpeixoto deleted the fix/remove-not-used-import branch April 23, 2023 21:34
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

Successfully merging this pull request may close these issues.

2 participants