aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
Commit message (Collapse)AuthorAge
...
* | vim-patch:8.2.1588: cannot read back the prompt of a prompt bufferSean Dewar2021-04-21
|/ | | | | | | | | Problem: Cannot read back the prompt of a prompt buffer. Solution: Add prompt_getprompt(). (Ben Jackson, closes vim/vim#6851) https://github.com/vim/vim/commit/077cc7aa0e0c431e97795612374fe17fe7c88803 Updated prompt_getprompt() doc to https://github.com/vim/vim/commit/cb80aa2d53e56d3aba3b3c439fb467f29a750c5e and removed mention of method syntax usage (not supported by Nvim).
* Handle 'orphaned signs' on line deletion for signcolumn >= 2Dan Aloni2021-04-17
|
* Merge pull request #13684 from pohzipohzi/inputBjörn Linse2021-04-16
|\ | | | | doc: add description for cancelreturn option in input()
| * doc: add description for cancelreturn option in input()pohzipohzi2021-04-08
| |
* | ex_cmds: port :evalJan Edmund Lazo2021-04-15
| | | | | | | | | | Cherry-picked from patch v8.1.1807. Required for patch v8.2.2761.
* | doc: prefer "python -m pip" (#14353)Aru Sahni2021-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current guidance for install Python packages is to use python -m pip install <package_name> Instead of pip install <package_name> This ensures that one is using the version of pip that is tied to the environment's interpreter (and, thusly, its packages). This has [been endorsed by a core maintainer](https://snarky.ca/why-you-should-use-python-m-pip/) as being the recommended way to invoke pip. As there currently are a few places where the old invocation was used, attempt to bring them in line. Fixes #14234
* | doc: port prompt-buffer section (#14342)Sean Dewar2021-04-14
| | | | | | | | | | | | | | | | | | | | | | [skip ci] Changes from original include: - "See |terminal-window|" -> "See |terminal|". - Remove mention of using CTRL-W window commands in insert mode. - Converted usage example to use the Nvim job and channel API. - Removed logging from usage example, as ch_logfile() has no direct Nvim counterpart. - Fixed some small grammar/spelling mistakes.
* | Merge pull request #14046 from ↵Thomas Vigouroux2021-04-14
|\ \ | | | | | | | | | | | | nvim-treesitter/feature/language-tree-directive-config feat(treesitter): allow injections to be configured through directives
| * | feat(treesitter): allow injections to be configured through directivesSteven Sojka2021-04-02
| | |
* | | fix(doc): Add '/site' to stdpath('data') example in `:help 'rtp'`James McCoy2021-04-10
| | | | | | | | | | | | [skip ci]
* | | doc: advertise nanotee/nvim-lua-guide (#14332) [skip ci]Christian Clason2021-04-09
| | | | | | | | | | | | | | | Mention https://github.com/nanotee/nvim-lua-guide at the beginning of ":h lua" as well as ":h lua-vimscript". Closes #12369 .
* | | eval: add v:_null_stringJan Edmund Lazo2021-04-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replacement for Vim's test_null_string(). Vim uses it to verify that its codebase handles null strings. Preparation for the Test_null_list() in patch v8.2.1822. Use v:_null_string, not non-existent env var, for null string tests. Mention v:_null_string in id() because id(v:_null_string) returns (nil).
* | | vim-patch:8.0.1505: debugger can't break on a conditionJan Edmund Lazo2021-04-08
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Debugger can't break on a condition. (Charles Campbell) Solution: Add ":breakadd expr". (Christian Brabandt, closes vim/vim#859) https://github.com/vim/vim/commit/c6f9f739d32084923c3031cbf6f581f8c8bf7fd2 Do not port "has_watchexpr()" to avoid dead code. "has_watchexpr()" always returns 0 because "debug_expr" is always 0. Restore "eval_expr()" as a wrapper to allocate "typval_T" for "eval0()". Remove it in later patches. Include "typval_compare()" changes from patch v8.1.0958, partially ported in 8b60368c1b9e23f0695557da170d416d71f7e6a3. Close https://github.com/neovim/neovim/pull/12373 N/A patches for version.c: vim-patch:8.2.2720: GTK menu tooltip moves the cursor Problem: GTK menu tooltip moves the cursor. Solution: Position the cursor after displaying the tooltip. Do not show the tooltip when editing the command line. https://github.com/vim/vim/commit/01ac0a1f664c5b1ffd5c9ef196d4b47edf2fd494
* | docs: add priority option in buf_set_extmarkThomas Vigouroux2021-04-07
| |
* | Merge pull request #14063 from lewis6991/masterJan Edmund Lazo2021-04-04
|\ \ | | | | | | vim-patch:8.1.{1631,1682,1899}: sign improvements
| * | vim-patch:8.1.1682: placing a larger number of ...Lewis Russell2021-04-03
| | | | | | | | | | | | | | | | | | | | | | | | ...signs is slow Problem: Placing a larger number of signs is slow. Solution: Add functions for dealing with a list of signs. (Yegappan Lakshmanan, closes #4636)
* | | vim-patch:8.2.2697: function list test failsJan Edmund Lazo2021-04-03
|/ / | | | | | | | | | | Problem: Function list test fails. Solution: Add missing function. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/0df603014589c663f4b49dc6fd36c3b99db1718f
* / vim-patch:8.2.2694: when 'matchpairs' is empty every character beeps (#14279)Jan Edmund Lazo2021-04-03
|/ | | | | | Problem: When 'matchpairs' is empty every character beeps. (Marco Hinz) Solution: Bail out when no character in 'matchpairs' was found. (closes vim/vim#8053) Add assert_nobeep(). https://github.com/vim/vim/commit/5b8cabfef7c3707f3e53e13844d90e5a217e1e84
* doc: Fix typo in the help for <Cmd> where lhs was used instead of rhs (#14272)Kevin Svetlitski2021-04-01
|
* ts: Add language version to vim.treesitter (#14255)TJ DeVries2021-03-30
|
* vim-patch:8.2.2454: leading space can not be made visible (#14138)zeertzjq2021-03-29
| | | | | | Problem: Leading space can not be made visible. Solution: Add "lead:" to 'listchars'. (closes vim/vim#7772) https://github.com/vim/vim/commit/91478ae49a1b2dc1de63821db731a343e855dcc0
* vim-patch:8.2.2612: col('.') may get outdated column valueAndy K. Massimino2021-03-29
| | | | | | | Problem: col('.') may get outdated column value. Solution: Add a note to the help how to make this work and add a test for it. (closes vim/vim#7971) https://github.com/vim/vim/commit/18b7d86d7fa997bbb02a069dafacb32a0f73ca1e
* Merge pull request #13851 from VVKot/vim-8.1.0105Jan Edmund Lazo2021-03-28
|\ | | | | vim-patch:8.1.{0105,0114,0116,0126,0138,0154,0479,0542,0936}
| * vim-patch:8.1.0542: shiftwidth() does not take 'vartabstop' into accountVVKot2021-03-28
| | | | | | | | | | | | | | | | Problem: shiftwidth() does not take 'vartabstop' into account. Solution: Use the cursor position or a position explicitly passed. Also make >> and << work better with 'vartabstop'. (Christian Brabandt) https://github.com/vim/vim/commit/f951416a8396a54bbbe21de1a8b16716428549f2
| * vim-patch:8.1.0105: all tab stops are the sameVVKot2021-03-28
| | | | | | | | | | | | | | Problem: All tab stops are the same. Solution: Add the variable tabstop feature. (Christian Brabandt, closes vim/vim#2711) https://github.com/vim/vim/commit/04958cbaf25eea27eceedaa987adfb354ad5f7fd
* | Merge pull request #14091 from euclidianAce/euclidianAce/nvim_win_hideBjörn Linse2021-03-28
|\ \ | |/ |/| api: add vim.api.nvim_win_hide
| * run docgenCorey Williamson2021-03-28
| |
* | viml: embed Lua syntax highlighting [skip ci] (#14213)Marco Hinz2021-03-28
| |
* | vim-patch:8.1.2326: cannot parse a date/time stringJan Edmund Lazo2021-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot parse a date/time string. Solution: Add strptime(). (Stephen Wall, closes #) https://github.com/vim/vim/commit/10455d43fef041309ce0613fa792c635dd71e3a8 N/A patches for version.c: vim-patch:8.1.2344: Cygwin: warning for using strptime() Problem: Cygwin: warning for using strptime(). Solution: Move defining _XOPEN_SOURCE and __USE_XOPEN to vim.h. (Ken Takata, closes vim/vim#5265) Use 700 for _XOPEN_SOURCE for mkdtemp(). https://github.com/vim/vim/commit/6a228c6463935a73c8f21142cb7368545cfee317
* | Merge pull request #14178 from andymass/vim-8.2.0088Jan Edmund Lazo2021-03-22
|\ \ | | | | | | [RFC] vim-patch 8.2.0088: insufficient tests for tags...
| * | vim-patch:8.2.0088: insufficient tests for tags; bug in using extra tag fieldAndy K. Massimino2021-03-21
| | | | | | | | | | | | | | | | | | | | | Problem: Insufficient tests for tags; bug in using extra tag field when using an ex command to position the cursor. Solution: Fix the bug, add more tests. (Yegappan Lakshmanan, closes vim/vim#5439) https://github.com/vim/vim/commit/830c1afc9d2cd5819a05c71d4e0b1f748a8c0519
* | | vim-patch:8.2.2634: 'tagfunc' does not indicate using a patternJan Edmund Lazo2021-03-21
|/ / | | | | | | | | | | Problem: 'tagfunc' does not indicate using a pattern. Solution: Add the "r" flag. (Andy Massimino, closes vim/vim#7982) https://github.com/vim/vim/commit/f90c855c71863296859780f7b4e0386e96f1c465
* | Merge pull request #14060 from andymass/vim-8.2.1703Jan Edmund Lazo2021-03-20
|\ \ | | | | | | [RFC] vim-patch:8.2.{1693,1703,1705}
| * | vim-patch:8.2.1703: ":highlight clear" does not restore default linkAndy K. Massimino2021-03-05
| | | | | | | | | | | | | | | | | | | | | Problem: ":highlight clear" does not restore default link. Solution: Remember the default link and restore it. (Antony Scriven, closes vim/vim#6970, closes vim/vim#4405) https://github.com/vim/vim/commit/213da551dec465e193619684b260bf9d5a8d6afc
* | | Merge pull request #14164 from andymass/vim-8.1.2020Jan Edmund Lazo2021-03-20
|\ \ \ | | | | | | | | [RFC] vim-patch 8.{1.2020,2.0093,2.0422}: add win_splitmove()
| * | | vim-patch:8.1.2020: it is not easy to change the window layoutAndy K. Massimino2021-03-19
| | | | | | | | | | | | | | | | | | | | | | | | Problem: It is not easy to change the window layout. Solution: Add win_splitmove(). (Andy Massimino, closes vim/vim#4561) https://github.com/vim/vim/commit/d20dcb3d011da6111153109f6e46fbd5c7fe9fb6
* | | | lsp: set syntax instead of filetype for preview location highlightingMichael Lingelbach2021-03-19
|/ / /
* | | api: destabilize nvim_set_hl_nsBjörn Linse2021-03-15
| | | | | | | | | | | | | | | The sematics and signature of this API is going to change, but we don't wanna delay 0.5 for it. Mark API as unstable for now.
* | | lsp: Use incremental sync by defaultMathias Fussenegger2021-03-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | With the new implementation added in https://github.com/neovim/neovim/pull/14079 I think this is now working well enough to enable it by default. There are high CPU usage issues popping up now and then and they might at least partially be related to the full-text sync.
* | | Update lsp, lua and api docs (gen_vimdoc.py)Mathias Fussenegger2021-03-11
| | |
* | | lsp: get_language_id (#14092)TJ DeVries2021-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow specifying a languageId for a lsp For some languages the filetype might not match the languageId the language server accepts. In these cases the config for the language server can contain a function which gets the current buffer and filetype and returns a languageId. When it isn't provided the filetype is used instead. Example: ```lua require'lspconfig'.sourcekit.setup{ get_language_id = function(bufnr, ft) return 'swift' end; } ``` Closes #13093 * lsp: Change to get_language_id Co-authored-by: Jan Dammshäuser <mail@jandamm.de>
* | | runtime/termdebug 82be4849eed0b8fbee45bc8da99b685ec89af59a (#13660)Michael Sartain2021-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | port termdebug dissasembly window only (termdebug.vim) This patch adds disassembly window to Termdebug :Asm should bring up disassembly window or setting: g:termdebug_disasm_window Values greater than 1 will set disasm window height. Code works by calling gdb disassemble command, demangling output and storing in Termdebug-asm-listing buffer + window. Current pc address is parsed from 'addr=' cursor msg and we search for that address in the disasm window. When the search fails, we execute a new "disassemble $pc" command. When in a location without a proper stack frame, "disassemble $pc" can fail and in this case we add a +length argument and try again. Tested with x86_64 gdb v10.1 and v8.2.1, and aarch64 gdb v7.12.
* | | lsp: add incremental text synchronizationMichael Lingelbach2021-03-09
| |/ |/| | | | | | | * Implementation derived from and validated by vim-lsc authored by Nate Bosch
* | Added If true to show that {after} and {follow} parameters of nvim_put() are ↵Lee Wannacott2021-03-07
| | | | | | | | expecting boolean values
* | Forgot to add colon to the {follow} parameters statementLee Wannacott2021-03-07
| |
* | Clarify that nvim_put()'s {after} and {follow} parameters expect boolean ↵Lee Wannacott2021-03-07
|/ | | | values true, or false.
* vim-patch:30e9b3c42567 (#13936)Volodymyr Kot2021-03-03
| | | | Update runtime files https://github.com/vim/vim/commit/30e9b3c4256710781c3bd64efb33f138e4e074b3
* vim-patch:8.2.2236: 'scroll' option can change when setting the statuslineJan Edmund Lazo2021-03-02
| | | | | | | | Problem: 'scroll' option can change when setting the statusline or tabline but the option context is not updated. Solution: Update the script context when the scroll option is changed as a side effect. (Christian Brabandt, closes vim/vim#7533) https://github.com/vim/vim/commit/746670604a60cb0356b56c112ffb6d297c679099
* vim-patch:8.1.1901: the +insert_expand feature is not always availableJan Edmund Lazo2021-03-01
| | | | | | Problem: The +insert_expand feature is not always available. Solution: Graduate the +insert_expand feature. https://github.com/vim/vim/commit/e2c453d38f6512ac4cff7cd26aa7780b4e2534d7
* Merge pull request #14004 from erw7/fix-ficJan Edmund Lazo2021-02-25
|\ | | | | option: fix problem with fileignorecase not being set properly