Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(lua_ls): add rootPath to workspace.library#3796

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Mo-tmd wants to merge1 commit intoneovim:master
base:master
Choose a base branch
Loading
fromMo-tmd:master

Conversation

@Mo-tmd
Copy link

@Mo-tmdMo-tmd commentedApr 27, 2025
edited
Loading

This seems to make it possible to jump to any lua file under rootPath, regardless of directory structure.

I'm a noob in this area, please let me know if there's anything strange.

@Mo-tmdMo-tmd requested a review fromglepnir as acode ownerApril 27, 2025 18:28
@Mo-tmdMo-tmdforce-pushed themaster branch 4 times, most recently fromd16d96b to6953f0cCompareApril 27, 2025 18:42
This seems to make it possible to jump to any file regardless ofproject structure.
@Mo-tmdMo-tmd changed the titlefeatu(lua_ls): Add rootPath to workspace.libraryfeat(lua_ls): add rootPath to workspace.libraryApr 27, 2025
@antonk52

This comment was marked as resolved.

@Mo-tmd

This comment was marked as resolved.

@antonk52

This comment was marked as resolved.

@justinmk
Copy link
Member

This seems interesting but in the Lua projects I tried, it doesn't seem to have any effect, thelibrary is always{}.

Here is the output of:lua =vim.lsp.config['lua_ls'] :

{  before_init = <function 1>,  cmd = { "lua-language-server" },  filetypes = { "lua" },  name = "lua_ls",  root_markers = { ".luarc.json", ".luarc.jsonc", ".luacheckrc", ".stylua.toml", "stylua.toml", "selene.toml", "selene.yml", ".git" },  settings = {    Lua = {      workspace = {        library = {}      }    }  }}

What is an example that you are seeing? And what does:checkhealth vim.lsp show for you?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@glepnirglepnirAwaiting requested review from glepnir

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@Mo-tmd@antonk52@justinmk

[8]ページ先頭

©2009-2025 Movatter.jp