src/Palete/LanguageClientDummy.vala
authorAlan Knowles <alan@roojs.com>
Sat, 16 Mar 2024 08:43:11 +0000 (16:43 +0800)
committerAlan Knowles <alan@roojs.com>
Sat, 16 Mar 2024 08:43:11 +0000 (16:43 +0800)
src/Palete/LanguageClientDummy.vala

index be78b2f..cb2ea1a 100644 (file)
@@ -32,6 +32,10 @@ namespace Palete {
                public override async  Lsp.Hover hover (JsRender.JsRender file, int line, int offset) throws GLib.Error {
                        return new Lsp.Hover();
                }
+               public override async Gee.ArrayList<Lsp.DocumentSymbol> documentSymbols (JsRender.JsRender file) throws GLib.Error {
+                       var ret = new Gee.ArrayList<Lsp.DocumentSymbol>();      
+                       return ret;
+               }
        }
        
 }
\ No newline at end of file