I have the angular language server installed but client doesn't attach when I'm in an angular project because it doesn't have an angular.json
in the root (since it is an Nx workspace), which (according to the lsp-config documentation) is the root_pattern
for this language server.
In VSCode the language server is fine, and this Stack Overflow question mentions the "legacy view engine" which seems to be related.
I can't find any useful information about how I can set up the lsp config for neovim that will get it to work without the angular.json
file present.
I should add I'm using lsp-zero
to handle the lsp configuration.
I've found scattered bits of info indicating I could use project.json
as the root_pattern but I'm stumped as to how I can actually do that in the config.
lsp
in Neovim in regard to the angular language server? What is the structure of the project (a simplified structure is better than the real one)?