Skip to content

Switch from lua_ls to emmylua_ls - #2163

Open
oriori1703 wants to merge 2 commits into
masterfrom
feature/emmylua-ls
Open

oriori1703 wants to merge 2 commits into
masterfrom
feature/emmylua-ls

Conversation

@oriori1703

@oriori1703 oriori1703 commented Sep 14, 2026 •

Copy link
Copy Markdown
Collaborator

Recently neovim maintainers switched from lua_ls to emmylua for the neovim/neovim repo (neovim/neovim#41750).

I thought this was probably a good time to try to switch to emmylua in kickstart.
I'm going to test this for bit before making a descision.
I would greatly appreciate if other people could check this out and report on their experience :)

related to #2147
closes: #1975

@oriori1703

Copy link
Copy Markdown
Collaborator Author

BTW, I also open a PR to add type hints for emmylua's lsp settings.
neovim/nvim-lspconfig#4534

@dribic

dribic commented Sep 28, 2026

Copy link
Copy Markdown

Is there a reason for not merging this? Whats the holdup?

@oriori1703

Copy link
Copy Markdown
Collaborator Author

Is there a reason for not merging this? Whats the holdup?

Mainly because I'm looking for feedback (positive or negative), and because I'm on vacation and don't have the time right now :)

Comment thread init.lua
-- NOTE: this is a lot slower and will cause issues when working on your own configuration.
-- See https://github.com/neovim/nvim-lspconfig/issues/3189
library = vim.api.nvim_get_runtime_file('', true),
format = { enable = false }, -- Disable formatting (formatting is done by stylua)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to this https://github.com/EmmyLuaLs/emmylua-analyzer-rust/blob/main/docs/external_format/external_formatter_options_EN.md you can use external formatter by making emmyrc.json file.

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.

Opening init.lua starts loading workspace

3 participants