Skip to content

Commit

Permalink
merge: change texdoc server
Browse files Browse the repository at this point in the history
refer: #3071
  • Loading branch information
lervag committed Jan 9, 2025
2 parents a707d39 + 018030e commit adce3d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion autoload/vimtex/doc.vim
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ function! s:packages_open(context) abort " {{{1
call vimtex#doc#make_selection(a:context)
if empty(a:context.selected) | return 0 | endif

call vimtex#util#www('http://texdoc.net/pkg/' . a:context.selected)
call vimtex#util#www('http://texdoc.org/pkg/' . a:context.selected)
redraw!
endfunction

Expand Down
6 changes: 3 additions & 3 deletions doc/vimtex.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1682,7 +1682,7 @@ OPTIONS *vimtex-options*

`'vimtex#doc#handler#texdoc'` Open documentation with local `texdoc`.
Fallback Open documentation online through
http://texdoc.net/pkg/packagename.
http://texdoc.org/pkg/packagename.

To use the local `texdoc`, set: >vim

Expand Down Expand Up @@ -5526,7 +5526,7 @@ LATEXRUN *vimtex-compiler-latexrun*

https://github.com/aclements/latexrun
> See LaTeX run. Run latexrun.
>
>
> latexrun fits LaTeX into a modern build environment. It hides LaTeX's
> circular dependencies, surfaces errors in a standard and user-friendly
> format, and generally enables other tools to do what they do best.
Expand Down Expand Up @@ -6244,7 +6244,7 @@ VimTeX provides the command |:VimtexDocPackage| to open documentation for
packages and documentclasses. The command is mapped to `K` by default.

For simplicity, the standard method provided by VimTeX is to look up
documentation online through http://texdoc.net/. However, this can be
documentation online through http://texdoc.org/. However, this can be
customized with the option |g:vimtex_doc_handlers|. The option allows much
flexibility for advanced users. For users that want to use a local `texdoc`
installation as the main method, they may use the following config: >vim
Expand Down

0 comments on commit adce3d3

Please sign in to comment.