Add rust docs to online lookup providers
If :lang rust is enabled.
This commit is contained in:
parent
236c9ceeab
commit
cc3a793407
1 changed files with 13 additions and 11 deletions
|
@ -13,7 +13,7 @@
|
|||
;; `dumb-jump' to find what you want.
|
||||
|
||||
(defvar +lookup-provider-url-alist
|
||||
'(("Google" . "https://google.com/search?q=%s")
|
||||
(append '(("Google" . "https://google.com/search?q=%s")
|
||||
("Google images" . "https://www.google.com/images?q=%s")
|
||||
("Google maps" . "https://maps.google.com/maps?q=%s")
|
||||
("Project Gutenberg" . "http://www.gutenberg.org/ebooks/search/?query=%s")
|
||||
|
@ -24,6 +24,8 @@
|
|||
("Youtube" . "https://youtube.com/results?aq=f&oq=&search_query=%s")
|
||||
("Wolfram alpha" . "https://wolframalpha.com/input/?i=%s")
|
||||
("Wikipedia" . "https://wikipedia.org/search-redirect.php?language=en&go=Go&search=%s"))
|
||||
(when (featurep! :lang rust)
|
||||
'(("Rust Docs" . "https://doc.rust-lang.org/edition-guide/?search=%s"))))
|
||||
"An alist that maps online resources to their search url or a function that
|
||||
produces an url. Used by `+lookup/online'.")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue