add proper angular support

This commit is contained in:
Zoty 2026-04-13 16:55:07 -03:00
parent ae9aa49359
commit 33a5bd4b2a
Signed by: Zoty
SSH key fingerprint: SHA256:WsGEGivgl37t3Mth6uugXMOgMCTR7QolIepNbC+j/tA
3 changed files with 14 additions and 3 deletions

View file

@ -1,6 +1,6 @@
return {
cmd = { 'ngserver', '--stdio', '--tsProbeLocations', '', '--ngProbeLocations', '' },
filetypes = { 'typescript', 'html', 'htmlangular' },
filetypes = { 'typescript', 'htmlangular' },
root_markers = { 'angular.json' },
on_new_config = function(new_config, new_root_dir)
local node_modules = new_root_dir .. '/node_modules'