@@ -25,7 +25,7 @@ func NewState() State {
2525 return State {Configs : map [string ]store.Store {}}
2626}
2727
28- func (s * State ) OpenDocument (l * logger.Logger , docURI protocol.DocumentURI , text string ) []protocol.Diagnostic {
28+ func (s * State ) OpenDocument (l logger.Logger , docURI protocol.DocumentURI , text string ) []protocol.Diagnostic {
2929 l .Debug (
3030 "Opening document" ,
3131 "uri" , docURI ,
@@ -35,7 +35,7 @@ func (s *State) OpenDocument(l *logger.Logger, docURI protocol.DocumentURI, text
3535 return s .updateState (l , docURI , text )
3636}
3737
38- func (s * State ) UpdateDocument (l * logger.Logger , docURI protocol.DocumentURI , text string ) []protocol.Diagnostic {
38+ func (s * State ) UpdateDocument (l logger.Logger , docURI protocol.DocumentURI , text string ) []protocol.Diagnostic {
3939 l .Debug (
4040 "Updating document" ,
4141 "uri" , docURI ,
@@ -45,7 +45,7 @@ func (s *State) UpdateDocument(l *logger.Logger, docURI protocol.DocumentURI, te
4545 return s .updateState (l , docURI , text )
4646}
4747
48- func (s * State ) updateState (l * logger.Logger , docURI protocol.DocumentURI , text string ) []protocol.Diagnostic {
48+ func (s * State ) updateState (l logger.Logger , docURI protocol.DocumentURI , text string ) []protocol.Diagnostic {
4949 cfg , diags := parseTerragruntBuffer (docURI .Filename (), text )
5050
5151 l .Debug (
@@ -71,7 +71,7 @@ func (s *State) updateState(l *logger.Logger, docURI protocol.DocumentURI, text
7171 return diags
7272}
7373
74- func (s * State ) Hover (l * logger.Logger , id int , docURI protocol.DocumentURI , position protocol.Position ) lsp.HoverResponse {
74+ func (s * State ) Hover (l logger.Logger , id int , docURI protocol.DocumentURI , position protocol.Position ) lsp.HoverResponse {
7575 store := s .Configs [docURI .Filename ()]
7676
7777 l .Debug (
@@ -150,7 +150,7 @@ func wrapAsHCLCodeFence(s string) string {
150150 return "```hcl\n " + s + "\n ```"
151151}
152152
153- func (s * State ) Definition (l * logger.Logger , id int , docURI protocol.DocumentURI , position protocol.Position ) lsp.DefinitionResponse {
153+ func (s * State ) Definition (l logger.Logger , id int , docURI protocol.DocumentURI , position protocol.Position ) lsp.DefinitionResponse {
154154 store := s .Configs [docURI .Filename ()]
155155
156156 l .Debug (
@@ -244,7 +244,7 @@ func buildEmptyDefinitionResponse(id int, docURI protocol.DocumentURI, position
244244 }
245245}
246246
247- func (s * State ) TextDocumentCompletion (l * logger.Logger , id int , docURI protocol.DocumentURI , position protocol.Position ) lsp.CompletionResponse {
247+ func (s * State ) TextDocumentCompletion (l logger.Logger , id int , docURI protocol.DocumentURI , position protocol.Position ) lsp.CompletionResponse {
248248 items := completion .GetCompletions (l , s .Configs [docURI .Filename ()], position )
249249
250250 response := lsp.CompletionResponse {
0 commit comments