File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 event = "FileType" ;
1919 pattern = "typescript" ;
2020 }
21+ {
22+ event = "FileType" ;
23+ pattern = "html" ;
24+ }
25+ {
26+ event = "FileType" ;
27+ pattern = "htmlangular" ;
28+ }
2129 ] ;
2230 setupOpts = {
2331 settings = {
3543 "@styled/typescript-styled-plugin"
3644 "@effect/language-service"
3745 "@angular/language-service"
46+ "typescript-eslint-language-service"
3847 ] ;
3948 } ;
4049 } ;
7281 cmd = [ "${ pkgs . angular-language-server } /bin/ngserver" "--stdio" ] ;
7382 filetypes = [ "htmlangular" "typescript" "html" ] ;
7483 root_markers = [ ".git" "package.json" ] ;
84+ on_attach =
85+ lib . generators . mkLuaInline
86+ /*
87+ lua
88+ */
89+ ''
90+ function(client, bufnr)
91+ -- This shit is the most annoying thing ever
92+ client.server_capabilities.insertReplaceSupport = false
93+ client.server_capabilities.renameProvider = false
94+ client.server_capabilities.referencesProvider = false
95+ client.server_capabilities.documentFormattingProvider = false
96+ client.server_capabilities.documentRangeFormattingProvider = false
97+ client.server_capabilities.documentOnTypeFormattingProvider = false
98+ end
99+ '' ;
75100 } ;
76101 # csharp = mkDashDefault {
77102 # enable = true;
You can’t perform that action at this time.
0 commit comments