Skip to content

Commit 9ef0655

Browse files
author
Ron Gut
committed
Fix docstring lint: use correct quotes on symbols; limit line length
1 parent f16a7ff commit 9ef0655

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

terraform-mode.el

+4-3
Original file line numberDiff line numberDiff line change
@@ -258,10 +258,10 @@
258258

259259
(defun terraform--get-resource-provider-source (provider &optional dir)
260260
"Return Terraform provider source for PROVIDER located in DIR.
261-
Terraform provider source is searched in 'required_provider' declaration
261+
Terraform provider source is searched in `required_provider' declaration
262262
in current buffer or in other Terraform files located in the same directory
263263
of the file of current buffer. If still not found, the provider source is
264-
searched by running command 'terraform providers'.
264+
searched by running command `terraform providers'.
265265
The DIR parameter is optional and used only for tests."
266266
(goto-char (point-min))
267267
;; find current directory if it's not specified in arguments
@@ -285,7 +285,8 @@ The DIR parameter is optional and used only for tests."
285285
provider-source))
286286

287287
(defun terraform--get-resource-provider-source-in-buffer (provider)
288-
"Search and return provider namespace for PROVIDER in current buffer. Return nil if not found."
288+
"Search and return provider namespace for PROVIDER in current buffer.
289+
Return nil if not found."
289290
(goto-char (point-min))
290291
(if (and (re-search-forward "^terraform[[:blank:]]*{" nil t)
291292
(re-search-forward "^[[:blank:]]*required_providers[[:blank:]]*{" nil t)

0 commit comments

Comments
 (0)