vim/runtime/doc
Christian Brabandt 279dd703e1
patch 9.1.1054: Vim doesn't work well with TERM=xterm-direct
Problem:  Vim doesn't work well with TERM=xterm-direct
          (Andrea Pappacoda)
Solution: detect if a terminal supports true-colors and
          enable termguicolors

The terminfo database for xterm-direct contains both the (non-standard)
termcap RGB capability and a number of colors == 0x1000000 so it seems
either of those two options can be used to detect a terminal capable of
displaying true colors.

So set the termguicolor option automatically, when either of the two
options is detected. (for some reasons, my debian xterm (v393) does not
respond to XTGETTCAP query attempts, so falling back to the number of
colors seems like a good compromize)

fixes: #16327
closes: #16490

Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-01-26 10:53:17 +01:00
..
arabic.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
autocmd.txt patch 9.1.0905: Missing information in CompleteDone event 2024-12-04 20:31:43 +01:00
builtin.txt patch 9.1.1025: wrong return type of blob2str() 2025-01-17 11:48:12 +01:00
change.txt runtime(doc): update the change.txt help file 2024-12-15 21:17:49 +01:00
channel.txt runtime(doc): minor updates. 2024-07-17 20:04:22 +02:00
cmdline.txt runtime(doc): update formatting and syntax 2024-10-05 17:16:18 +02:00
debug.txt runtime(doc): update and remove some invalid links 2024-05-11 11:16:21 +02:00
debugger.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
develop.txt runtime(doc): mention auto-format using clang-format for sound.c/sign.c 2024-12-25 18:03:09 +01:00
diff.txt patch 9.1.0099: Not able to use diff() with 'diffexpr' 2024-02-12 20:24:56 +01:00
digraph.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
doctags.c
doctags.vim
editing.txt runtime(doc): add some docs for file-watcher programs 2024-10-14 22:08:22 +02:00
eval.txt runtime: decouple Open and Launch commands and gx mapping from netrw 2025-01-25 16:07:12 +01:00
evim-fr.1
evim-fr.UTF-8.1
evim-it.1 translation(it): update Italian manpages 2024-08-17 15:14:43 +02:00
evim-it.UTF-8.1 translation(it): update Italian manpages 2024-08-17 15:14:43 +02:00
evim-ja.UTF-8.1
evim-pl.1
evim-pl.UTF-8.1
evim-ru.1 translation(ru): update man pages 2024-08-20 19:57:00 +02:00
evim-ru.UTF-8.1 translation(ru): update man pages 2024-08-20 19:57:00 +02:00
evim-tr.1
evim-tr.UTF-8.1
evim.1 patch 9.1.0676: style issues with man pages 2024-08-15 21:39:33 +02:00
evim.man patch 9.1.0676: style issues with man pages 2024-08-15 21:39:33 +02:00
farsi.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
filetype.txt runtime(doc): make tag alignment more consistent in filetype.txt 2024-12-04 20:08:25 +01:00
fold.txt runtime(doc): Fix style in fold.txt 2024-12-17 20:48:42 +01:00
ft_ada.txt runtime(doc): reformat gnat example 2024-09-29 10:10:51 +02:00
ft_context.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
ft_hare.txt patch 9.1.0442: hare runtime files outdated 2024-05-24 08:05:00 +02:00
ft_mp.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
ft_ps1.txt
ft_raku.txt
ft_rust.txt runtime(doc): add missing help tags 2024-01-01 20:50:51 +01:00
ft_sql.txt runtime(doc): fix inconsistent indent (#14089) 2024-02-25 08:42:52 +01:00
gui.txt patch 9.1.0868: the warning about missing clipboard can be improved 2024-11-17 16:07:50 +01:00
gui_w32.txt patch 9.1.0050: Win32 Keyboard handling is sub-optimal 2024-01-23 23:19:02 +01:00
gui_x11.txt patch 9.1.0868: the warning about missing clipboard can be improved 2024-11-17 16:07:50 +01:00
hangulin.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
hebrew.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
help.txt runtime(doc): Add vietnamese.txt to helps main TOC 2024-12-06 16:03:37 +01:00
help.txt.info
helphelp.txt runtime(doc): add package-<name> helptags for included packages 2025-01-11 10:14:24 +01:00
howto.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
if_cscop.txt runtime(doc): update and remove some invalid links 2024-05-11 11:16:21 +02:00
if_lua.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
if_mzsch.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
if_ole.txt runtime(doc): fix inconsistent indent (#14089) 2024-02-25 08:42:52 +01:00
if_perl.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
if_pyth.txt runtime(doc): Tweak documentation style a bit 2024-11-09 18:37:32 +01:00
if_ruby.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
if_sniff.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
if_tcl.txt runtime(doc): update formatting and syntax 2024-10-05 17:16:18 +02:00
indent.txt patch 9.1.0934: hard to view an existing buffer in the preview window 2024-12-16 21:22:09 +01:00
index.txt runtime: decouple Open and Launch commands and gx mapping from netrw 2025-01-25 16:07:12 +01:00
insert.txt patch 9.1.0983: not able to get the displayed items in complete_info() 2024-12-31 10:58:30 +01:00
intro.txt runtime(doc): update formatting and syntax 2024-10-05 17:16:18 +02:00
Make_all.mak runtime(doc): include vietnamese.txt 2024-12-03 21:59:52 +01:00
Make_mvc.mak patch 9.1.1029: the installer can be improved 2025-01-17 14:04:44 +01:00
Makefile patch 9.1.1029: the installer can be improved 2025-01-17 14:04:44 +01:00
makehtml.awk
maketags.awk CI: Check help tags for errors (duplicates, missing, etc) (#13865) 2024-01-14 19:24:05 +01:00
map.txt patch 9.1.0770: current command line completion is a bit limited 2024-10-08 22:24:04 +02:00
mbyte.txt runtime(doc): fix typo "a xterm" -> "an xterm" 2024-07-17 20:41:48 +02:00
message.txt patch 9.1.0908: not possible to configure :messages 2024-12-06 17:26:25 +01:00
mlang.txt patch 9.1.0559: translation of vim scripts can be improved 2024-07-11 21:14:15 +02:00
motion.txt patch 9.1.0942: a few typos were found 2024-12-17 20:55:13 +01:00
netbeans.txt runtime(doc): update and remove some invalid links 2024-05-11 11:16:21 +02:00
options.txt patch 9.1.1054: Vim doesn't work well with TERM=xterm-direct 2025-01-26 10:53:17 +01:00
os_390.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
os_amiga.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
os_beos.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
os_dos.txt runtime(help): Add better support for language annotation highlighting 2024-12-25 10:55:48 +01:00
os_haiku.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
os_mac.txt runtime(doc): update how to report issues for mac Vim 2024-11-14 21:13:34 +01:00
os_mint.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
os_msdos.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
os_os2.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
os_qnx.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
os_risc.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
os_unix.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
os_vms.txt runtime(doc): update and remove some invalid links 2024-05-11 11:16:21 +02:00
os_win32.txt runtime(doc): update and remove some invalid links 2024-05-11 11:16:21 +02:00
pattern.txt patch 9.1.0963: fuzzy-matching does not prefer full match 2024-12-26 15:46:56 +01:00
pi_getscript.txt runtime(doc): Fix style in documents 2024-10-05 16:56:47 +02:00
pi_gzip.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
pi_logipat.txt
pi_netrw.txt runtime(netrw): change netrw maintainer 2025-01-17 13:03:53 +01:00
pi_paren.txt runtime(matchparen): Add matchparen_disable_cursor_hl config option 2024-11-04 20:46:54 +01:00
pi_spec.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
pi_tar.txt runtime(doc): update and remove some invalid links 2024-05-11 11:16:21 +02:00
pi_tutor.txt runtime(doc): fix some small errors 2024-12-17 20:24:24 +01:00
pi_vimball.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
pi_zip.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
popup.txt runtime(doc): clarify buffer deletion on popup_close() 2025-01-08 14:09:02 +01:00
print.txt runtime(doc): update and remove some invalid links 2024-05-11 11:16:21 +02:00
quickfix.txt runtime(doc): add package-<name> helptags for included packages 2025-01-11 10:14:24 +01:00
quickref.txt patch 9.1.0831: 'findexpr' can't be used as lambad or Funcref 2024-11-02 18:43:42 +01:00
quotes.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
recover.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
remote.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
repeat.txt runtime(help): fix end of sentence highlight in code examples 2024-10-16 21:59:50 +02:00
rileft.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
russian.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
scroll.txt runtime(doc): Remove wrong help tag CTRL-SHIFT-CR 2024-07-06 11:29:38 +02:00
sign.txt patch 9.1.0540: Unused assignment in sign_define_cmd() 2024-07-07 20:33:46 +02:00
spell.txt runtime(doc): update formatting and syntax 2024-10-05 17:16:18 +02:00
sponsor.txt runtime(doc): Remove mentioning of the voting feature 2024-08-14 14:39:32 +02:00
starting.txt runtime(doc): Add a note about handling symbolic links in starting.txt 2024-12-19 20:51:36 +01:00
syntax.txt runtime(kconfig): updated ftplugin and syntax script 2025-01-20 21:01:41 +01:00
tabpage.txt patch 9.1.0572: cannot specify tab page closing behaviour 2024-07-12 19:36:53 +02:00
tags runtime: decouple Open and Launch commands and gx mapping from netrw 2025-01-25 16:07:12 +01:00
tagsrch.txt runtime(doc): re-format tag example lines, mention ctags --list-kinds 2024-08-01 09:27:53 +02:00
term.txt runtime(doc): use standard SGR format at :h xterm-true-color 2024-12-31 10:46:22 +01:00
terminal.txt tests: Load screendump files with "git vimdumps" 2025-01-11 17:12:04 +01:00
test_urls.vim runtime(doc): update and remove some invalid links 2024-05-11 11:16:21 +02:00
testing.txt runtime(doc): fix more inconsistencies in assert function docs 2024-07-18 21:16:05 +02:00
textprop.txt patch 9.1.0722: crash with large id in text_prop interface 2024-09-08 20:05:23 +02:00
tips.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
todo.txt patch 9.1.1020: no way to get current selected item in a async context 2025-01-16 14:37:44 +01:00
uganda.txt runtime(doc): Remove mentioning of the voting feature 2024-08-14 14:39:32 +02:00
undo.txt runtime(doc): Tweak documentation style a bit 2024-11-09 18:37:32 +01:00
userfunc.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
usr_01.txt runtime(doc): fix some small errors 2024-12-17 20:24:24 +01:00
usr_02.txt runtime(doc): fix typo in usr_02.txt 2025-01-16 19:12:48 +01:00
usr_03.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
usr_04.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
usr_05.txt runtime(doc): add package-<name> helptags for included packages 2025-01-11 10:14:24 +01:00
usr_06.txt runtime(doc): Fix to two-space convention in user manual 2024-10-05 16:44:27 +02:00
usr_07.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
usr_08.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
usr_09.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
usr_10.txt runtime(doc): clarify the use of filters and external commands 2024-11-12 21:38:22 +01:00
usr_11.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
usr_12.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
usr_20.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
usr_21.txt patch 9.1.0420: :browse oldfiles prompts even with single entry 2024-05-19 09:11:09 +02:00
usr_22.txt runtime(doc): Fix to two-space convention in user manual 2024-10-05 16:44:27 +02:00
usr_23.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
usr_24.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
usr_25.txt runtime(doc): add package-<name> helptags for included packages 2025-01-11 10:14:24 +01:00
usr_26.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
usr_27.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
usr_28.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
usr_29.txt runtime(doc): update formatting and syntax 2024-10-05 17:16:18 +02:00
usr_30.txt runtime(doc): Fix a typo in usr_30.txt 2024-04-29 20:22:46 +02:00
usr_31.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
usr_32.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
usr_40.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
usr_41.txt patch 9.1.1024: blob2str/str2blob() do not support list of strings 2025-01-16 19:16:42 +01:00
usr_42.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
usr_43.txt runtime(doc): Fix to two-space convention in user manual 2024-10-05 16:44:27 +02:00
usr_44.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
usr_45.txt runtime(doc): update formatting and syntax 2024-10-05 17:16:18 +02:00
usr_50.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
usr_51.txt runtime(doc): mention option-backslash at :h CompilerSet 2024-11-13 20:28:43 +01:00
usr_52.txt runtime(doc): add missing usr_52 entry to toc 2024-10-07 21:48:32 +02:00
usr_90.txt runtime(doc): update formatting and syntax 2024-10-05 17:16:18 +02:00
usr_toc.txt runtime(doc): add missing usr_52 entry to toc 2024-10-07 21:48:32 +02:00
various.txt runtime(doc): fix a few minor errors from the last doc updates 2024-12-16 10:20:51 +01:00
version4.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
version5.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
version6.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
version7.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
version8.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
version9.txt patch 9.1.1054: Vim doesn't work well with TERM=xterm-direct 2025-01-26 10:53:17 +01:00
vi_diff.txt runtime(doc): add a table of supported Operating Systems 2024-11-10 20:10:42 +01:00
vietnamese.txt runtime(doc): update wrong Vietnamese localization tag 2024-12-07 15:57:34 +01:00
vim-da.1
vim-da.UTF-8.1
vim-de.1 translation(de): update German manpages 2024-11-28 21:45:39 +01:00
vim-de.UTF-8.1 translation(de): update German manpages 2024-11-28 21:45:39 +01:00
vim-fr.1
vim-fr.UTF-8.1
vim-it.1 translation(it): Fix filemode of Italian manpages 2024-08-21 19:57:21 +02:00
vim-it.UTF-8.1 translation(it): Fix filemode of Italian manpages 2024-08-21 19:57:21 +02:00
vim-ja.UTF-8.1 translation(ja): Update Japanese translations to latest release 2024-08-15 22:02:45 +02:00
vim-pl.1
vim-pl.UTF-8.1
vim-ru.1 translation(ru): update man pages 2024-08-20 19:57:00 +02:00
vim-ru.UTF-8.1 translation(ru): update man pages 2024-08-20 19:57:00 +02:00
vim-tr.1 translation(tr): Improve Turkish documentation (#13800) 2023-12-29 16:30:40 +01:00
vim-tr.UTF-8.1 translation(tr): Improve Turkish documentation (#13800) 2023-12-29 16:30:40 +01:00
vim.1 patch 9.1.0676: style issues with man pages 2024-08-15 21:39:33 +02:00
vim.man patch 9.1.0676: style issues with man pages 2024-08-15 21:39:33 +02:00
vim.man.info
vim2html.pl runtime(doc): Add Makefile for the Vim documentation on Windows (#13467) 2023-11-04 09:57:09 +01:00
vim9.txt patch 9.1.1044: Vim9: Patch 9.1.1014 causes regressions 2025-01-21 22:17:50 +01:00
vim9class.txt runtime(doc): Fix enum example syntax 2024-12-29 15:33:12 +01:00
vimdiff-da.1
vimdiff-da.UTF-8.1
vimdiff-fr.1
vimdiff-fr.UTF-8.1
vimdiff-it.1 translation(it): update Italian manpages 2024-08-17 15:14:43 +02:00
vimdiff-it.UTF-8.1 translation(it): update Italian manpages 2024-08-17 15:14:43 +02:00
vimdiff-ja.UTF-8.1
vimdiff-pl.1
vimdiff-pl.UTF-8.1
vimdiff-ru.1 translation(ru): update man pages 2024-08-20 19:57:00 +02:00
vimdiff-ru.UTF-8.1 translation(ru): update man pages 2024-08-20 19:57:00 +02:00
vimdiff-tr.1
vimdiff-tr.UTF-8.1
vimdiff.1 patch 9.1.0676: style issues with man pages 2024-08-15 21:39:33 +02:00
vimdiff.man patch 9.1.0676: style issues with man pages 2024-08-15 21:39:33 +02:00
vimtutor-da.1
vimtutor-da.UTF-8.1
vimtutor-fr.1
vimtutor-fr.UTF-8.1
vimtutor-it.1 translation(it): update Italian manpage for vimtutor 2024-12-04 20:02:08 +01:00
vimtutor-it.UTF-8.1 translation(it): update Italian manpage for vimtutor 2024-12-04 20:02:08 +01:00
vimtutor-ja.UTF-8.1 translation(ja): Update Japanese translation (#13723) 2023-12-19 20:21:40 +01:00
vimtutor-pl.1
vimtutor-pl.UTF-8.1
vimtutor-ru.1 translation(ru): updated vimtutor translation, update MAINTAINERS file 2024-11-24 13:50:28 +01:00
vimtutor-ru.UTF-8.1 translation(ru): updated vimtutor translation, update MAINTAINERS file 2024-11-24 13:50:28 +01:00
vimtutor-tr.1
vimtutor-tr.UTF-8.1
vimtutor.1 runtime(doc): fix typo in vimtutor manpage 2024-12-03 21:23:43 +01:00
vimtutor.man runtime(doc): fix typo in vimtutor manpage 2024-12-03 21:23:43 +01:00
visual.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
windows.txt runtime(doc): update doc for :horizontal 2025-01-02 17:34:55 +01:00
workshop.txt patch 9.1.0000: Vim 9.1 release 2024-01-02 16:51:11 +01:00
xxd-fr.1
xxd-fr.UTF-8.1
xxd-it.1 translation(it): updated xxd man page 2024-09-17 19:12:03 +02:00
xxd-it.UTF-8.1 translation(it): updated xxd man page 2024-09-17 19:12:03 +02:00
xxd-ja.UTF-8.1 translation(ja): Update Japanese translations to latest release 2024-08-15 22:02:45 +02:00
xxd-pl.1
xxd-pl.UTF-8.1
xxd-ru.1 translation(ru): updated xxd man page 2024-09-17 19:03:16 +02:00
xxd-ru.UTF-8.1 translation(ru): updated xxd man page 2024-09-17 19:03:16 +02:00
xxd.1 patch 9.1.0732: xxd: cannot use -b and -i together 2024-09-15 20:03:05 +02:00
xxd.man patch 9.1.0732: xxd: cannot use -b and -i together 2024-09-15 20:03:05 +02:00