Skip to content

feat: angularls #3746

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

Merged
merged 1 commit into from
Apr 18, 2025
Merged

feat: angularls #3746

merged 1 commit into from
Apr 18, 2025

Conversation

BBboy01
Copy link
Contributor

@BBboy01 BBboy01 commented Apr 18, 2025

This PR crosses angularls from #3705

mainly same with lua/lspconfig/configs/angularls.lua

@BBboy01 BBboy01 requested a review from glepnir as a code owner April 18, 2025 08:59
end)
:join(',')

---@brief
Copy link
Member

@justinmk justinmk Apr 18, 2025

Choose a reason for hiding this comment

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

should be at top of the file

end

local default_probe_dir = get_probe_dir()
local default_angular_core_version = get_angular_core_version()
Copy link
Member

Choose a reason for hiding this comment

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

evaluating this here (and getcwd() above) means that if the user changes the CWD later, that won't be used by the config.

It seems like cwd should be defined as a function for this config, instead of a list. That makes it more "dynamic".

The old config https://github.com/neovim/nvim-lspconfig/blob/master/lua/lspconfig/configs/angularls.lua had this issue too, though, so I guess this can be revisited later...

@justinmk justinmk merged commit 4692f3a into neovim:master Apr 18, 2025
11 checks passed
@justinmk
Copy link
Member

This config has problems which broke the doc generator. I mitigated the issue in e8963b5 , but the logic needs attention...

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