Fix terraform devdocs eldoc docs
This commit is contained in:
parent
f8c3f76cbd
commit
211904a190
@ -5,7 +5,8 @@
|
||||
devdocs-lookup
|
||||
devdocs-install
|
||||
devdocs-delete
|
||||
devdocs-update-all)
|
||||
devdocs-update-all
|
||||
devdocs-as-string)
|
||||
:config
|
||||
(defvar devdocs-entry-aliases nil
|
||||
"Alist mapping expected DevDocs entry names to their actual names.")
|
||||
|
@ -8,7 +8,8 @@
|
||||
"Returns the devdocs for Terraform resource RESOURCE of type TYPE (\"data\" or \"resource\")as a string."
|
||||
(devdocs-as-string resource "terraform" type))
|
||||
|
||||
(add-to-list 'devdocs-entry-aliases '("aws_alb" . "aws_lb"))
|
||||
(with-eval-after-load 'devdocs
|
||||
(add-to-list 'devdocs-entry-aliases '("aws_alb" . "aws_lb")))
|
||||
|
||||
(defun terraform-block-metadata-at-pos (pos)
|
||||
(let* ((parser (treesit-parser-create 'hcl))
|
||||
|
@ -109,6 +109,7 @@
|
||||
(require 'init-xml)
|
||||
(require 'init-yaml)
|
||||
(require 'init-groovy)
|
||||
(require 'init-devdocs)
|
||||
(require 'init-terraform)
|
||||
(require 'init-docker)
|
||||
(require 'init-nix)
|
||||
@ -122,7 +123,6 @@
|
||||
(require 'init-epub)
|
||||
(require 'init-pdf)
|
||||
(require 'init-homebrew)
|
||||
(require 'init-devdocs)
|
||||
(require 'init-elfeed)
|
||||
(require 'init-1pass)
|
||||
(require 'init-wallabag)
|
||||
|
Loading…
Reference in New Issue
Block a user