Skip to content

fixed lua language server name and setup#1890

Closed
dknueppe wants to merge 1 commit intonvim-lua:masterfrom
dknueppe:fix
Closed

fixed lua language server name and setup#1890
dknueppe wants to merge 1 commit intonvim-lua:masterfrom
dknueppe:fix

Conversation

@dknueppe
Copy link

Was facing these issues:

Failed to run `config` for nvim-treesitter

/home/d/.config/nvim/init.lua:856: attempt to call field 'install' (a nil value)

# stacktrace:
  - init.lua:856 _in_ **config**
  - init.lua:257
Press ENTER or type command to continue
Error executing vim.schedule lua callback: ...l/share/nvim/lazy/mason.nvim/lua/mason-registry/init.lua:32: Cannot find package
"lua_ls".
stack traceback:
        [C]: in function 'error'
        ...l/share/nvim/lazy/mason.nvim/lua/mason-registry/init.lua:32: in function 'get_package'
        ...on-tool-installer.nvim/lua/mason-tool-installer/init.lua:269: in function 'callback'
        ...l/share/nvim/lazy/mason.nvim/lua/mason-registry/init.lua:155: in function 'refresh'
        ...on-tool-installer.nvim/lua/mason-tool-installer/init.lua:345: in function ''
        vim/_editor.lua: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>
Press ENTER or type command to continue

Changing these 2 lines fixed it.

@giogt
Copy link
Contributor

giogt commented Feb 22, 2026

The lua_ls issue seems to be already addressed in #1847

fam007e added a commit to fam007e/kickstart.nvim that referenced this pull request Feb 24, 2026
@oriori1703
Copy link
Collaborator

I fixed this in 1ba1789 by re-adding mason-lspconfig as a dependency.
Let me know if you still experience issues 😃

@oriori1703 oriori1703 closed this Feb 27, 2026
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.

3 participants