aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
...
* lua: add vim.register_keystroke_callback (#12536)TJ DeVries2020-08-14
| | | | | | | | | | | | | | | * feat: Add vim.register_keystroke_callback * fixup: Forgot to remove mention of old option * fixup: Answer jamessan comments * fixup: Answer norcalli comments * fixup: portability * Update runtime/doc/lua.txt Co-authored-by: Ashkan Kiani <ashkan.k.kiani@gmail.com>
* Merge pull request #12739 from vigoux/ts-refactor-predicatesTJ DeVries2020-08-14
|\ | | | | treesitter: refactor
| * treesitter: allow to force predicate additionThomas Vigouroux2020-08-13
| |
| * treesitter: update docs on predicatesThomas Vigouroux2020-08-13
| |
| * treesitter: add predicate negationThomas Vigouroux2020-08-13
| |
| * treesitter: add and test vim-match? predicateThomas Vigouroux2020-08-13
| |
| * treesitter: add contains? predicateThomas Vigouroux2020-08-13
| |
| * treesitter(docs): update and refresh docsThomas Vigouroux2020-08-13
| |
| * treesitter: refactor and use lua regexesThomas Vigouroux2020-08-13
| |
* | Merge pull request #12621 from Shougo/vim-8.1.1564Matthieu Coudron2020-08-09
|\ \ | | | | | | [RDY] vim-patch:8.1.1564, 1570, 1623, 1712 : sign column takes up space
| * | vim-patch:8.1.1564: sign column takes up spaceShougo Matsushita2020-07-23
| | | | | | | | | | | | | | | | | | | | | Problem: Sign column takes up space. (Adam Stankiewicz) Solution: Optionally put signs in the number column. (Yegappan Lakshmanan, closes vim/vim#4555, closes vim/vim#4515) https://github.com/vim/vim/commit/394c5d8870b15150fc91a4c058dc571fd5eaa97e
* | | Remove unused function (#12719)Patrice Peterson2020-08-08
| |/ |/|
* | man.vim: Add - to 'iskeyword' (#12598)Anmol Sethi2020-08-08
| | | | | | | | | | Pressing K on manpages with - in their name will now work. I noticed this the manpages of https://github.com/cli/cli
* | vim-patch:8.1.0862: no verbose version of character classesJan Edmund Lazo2020-08-02
| | | | | | | | | | | | | | Problem: No verbose version of character classes. Solution: Add [:ident:], [:keyword:] and [:fname:]. (Ozaki Kiichi, closes vim/vim#1373) https://github.com/vim/vim/commit/221cd9f4dd866503777b2fffa721c1403716ad63
* | vim-patch:8.2.1292: AIDL filetype not recognizedJan Edmund Lazo2020-08-02
| | | | | | | | | | | | Problem: AIDL filetype not recognized. Solution: Add filetype detection. (Dominique Pellé, closes vim/vim#6533) https://github.com/vim/vim/commit/2afc3b4f776a4fe2bb22d0a79e77012d79b4ec1e
* | Revert "lsp: Fix text edits with the same start position (#12434)" (#12564)Andreas Johansson2020-07-30
|/ | | This reverts commit 44fe8828f06a22bc9aa3617a6fd8aae447a838de.
* Merge pull request #12654 from cbarrete/nomodifiable-hoverMatthieu Coudron2020-07-21
|\ | | | | LSP: make the hover window nomodifiable
| * Make the window `nomodifiable` when it's createdCédric Barreteau2020-07-20
| |
| * LSP: make the hover window nomodifiableCédric Barreteau2020-07-20
| |
* | man.vim: Simplify man#init to reduce load time (#12482)Anmol Sethi2020-07-21
| | | | | | | | | | | | | | | | | | | | | | | | | | I removed the SunOS stuff since no one uses SunOS and I've never tested it on there. I removed the section_flag init as we can just use -S instead of -s and -S is used by every implementation as far as I know. This brings man#init's time from 50-70ms to 15-20ms for me. Closes #12318 Related #6766 Related #6815
* | Merge pull request #12575 from cbarrete/vim-8.2.0935Matthieu Coudron2020-07-20
|\ \ | |/ |/| [RFC] vim-patch:8.2.{0935,0937}
| * vim-patch:8.2.0935: flattening a list with existing code is slowCédric Barreteau2020-07-15
| | | | | | | | | | | | Problem: Flattening a list with existing code is slow. Solution: Add flatten(). (Mopp, closes vim/vim#3676) https://github.com/vim/vim/commit/077a1e670ad69ef4cefc22103ca6635bd269e764
* | doc: Add documentation for some `vim.lsp.buf` functions (#12552)cbarrete2020-07-19
| | | | | | | | | | | | | | | | | | * Add documentation for some `vim.lsp.buf` functions * Add inline Lua documentation * Use generated documentation for LSP buffer functions Co-authored-by: Cédric Barreteau <>
* | Fix / improve report messages (#12396)David Lukes2020-07-19
| |
* | Merge pull request #12480 from nhooyr/mansect-trimMatthieu Coudron2020-07-19
|\ \ | | | | | | man.vim: Refactor verify_exists to unset $MANSECT as needed
| * | man.vim: Remove unnecessary codeAnmol Sethi2020-06-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | Not sure why this was added in https://github.com/neovim/neovim/commit/94f4469638590ca5cc724ab6459f2cfc78c621a4 It doesn't seem to do anything and I can't reproduce the linked issue with this patch so I think it's all working now. cc @justinmk
| * | man.vim: Fix tagfunc to respect b:man_default_sectsAnmol Sethi2020-06-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, kudos to @zsugabubus for fixing a related issue in #12417 This also prevents any sorting of the paths from man. We need to respect the order we get from it otherwise you end up loading /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/share/man/man1/ls.1 on MacOS instead of /usr/share/man/man1/ls.1
| * | man.vim: Refactor verify_exists to unset $MANSECT as neededAnmol Sethi2020-06-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also cleaned it up a little and made it faster. Closes #9159 and #9271 Also changes man#extract_sect_and_name_ref to only return a single section at a time. This fixes a bug in its usage in man#goto_tag where get_paths would be called with multiple sections and it does not support that. I noticed that our tagfunc doesn't obey b:man_default_sects and I'll fix that next.
* | | vim-patch:8.2.0893: assert_equalfile() does not take a third argumentJan Edmund Lazo2020-07-19
| | | | | | | | | | | | | | | | | | Problem: Assert_equalfile() does not take a third argument. Solution: Implement the third argument. (Gary Johnson) https://github.com/vim/vim/commit/fb517bac2384798bb5142ed1f75f965f93984c0a
* | | lsp: Add support for call hierarchies (#12556)cbarrete2020-07-18
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * LSP: Add support for call hierarchies * LSP: Add support for call hierarchies * LSP: Add support for call hierarchies * LSP: Jump to call location Jump to the call site instead of jumping to the definition of the caller/callee. * LSP: add tests for the call hierarchy callbacks * Fix linting error Co-authored-by: Cédric Barreteau <>
* | treesitter: add parser on_lines callbacksThomas Vigouroux2020-07-10
| |
* | treesitter: cache the capture hl relationThomas Vigouroux2020-07-10
| |
* | treesitter: use change calbacks on redrawThomas Vigouroux2020-07-10
| |
* | treesitter: call bufload before parsing (#12603)Thomas Vigouroux2020-07-10
| |
* | doc: Add information about lua function calls (#12574)TJ DeVries2020-07-08
| |
* | doc: mention that defer_fn applies schedule_wrap (#12601)Christian Clason2020-07-07
| |
* | Merge pull request #12538 from janlazo/vim-8.2.1055Matthieu Coudron2020-07-06
|\ \ | | | | | | vim-patch:8.1.{93,1372},8.2.{1055,1060,1089,1095,1104}
| * | vim-patch:8.1.0093: non-MS-Windows: Cannot interrupt gdb when program is runningJan Edmund Lazo2020-07-04
| | | | | | | | | | | | | | | | | | Problem: non-MS-Windows: Cannot interrupt gdb when program is running. Solution: Only use debugbreak() on MS-Windows. https://github.com/vim/vim/commit/2ed890f1f810f977ec6a235efd8bf58adddcd0e7
| * | vim-patch:8.2.1060: not all elinks files are recognizedJan Edmund Lazo2020-07-04
| | | | | | | | | | | | | | | | | | Problem: Not all elinks files are recognized. Solution: Just check for "elinks.conf". (Guido Cella, closes vim/vim#6337) https://github.com/vim/vim/commit/5f36d5fbb836e6fdeb9e3b2c26edb88e45150db4
| * | vim-patch:8.1.1372: when evaluating 'statusline' the current window is unknownJan Edmund Lazo2020-07-04
| | | | | | | | | | | | | | | | | | | | | | | | Problem: When evaluating 'statusline' the current window is unknown. (Daniel Hahler) Solution: Set "g:actual_curwin" for %{} items. Set "g:statusline_winid" when evaluationg %!. (closes vim/vim#4406, closes vim/vim#3299) https://github.com/vim/vim/commit/1c6fd1e100fd0457375642ec50d483bcc0f61bb2
| * | vim-patch:8.2.1055: no filetype set for pacman config filesJan Edmund Lazo2020-07-04
| | | | | | | | | | | | | | | | | | Problem: No filetype set for pacman config files. Solution: Recognize pacman.conf and *.hook. (Guido Cella, closes vim/vim#6335) https://github.com/vim/vim/commit/73b4465ba7f170c5a1701ad908144970e758b1f5
* | | lua: add options to highlight.on_yank (#12549)Christian Clason2020-07-05
| | | | | | | | | | | | | | | NOTE: Configuration options have changed for highlight.on_yank. Check help for |:help highlight.on_yank()|
* | | lsp: add optional vertical padding, maximal size to floats (#12444)Christian Clason2020-07-05
|/ / | | | | | | | | | | | | | | | | | | | | * add vertical padding to floats * add max_width, max_height option to float methods * lint * lintlint * guard against nil wrap_at
* | Merge pull request #12531 from BK1603/autoread-tuiMatthieu Coudron2020-07-04
|\ \ | | | | | | Autoread now works in TUI too. The checktimestamp test is run at most once every 2 seconds not to poll too much and also because it doesn't make sense on some filesystems. A solution based on filesystem notifications should arrive soon.
| * | Added healt check for tmux focus eventsBK16032020-07-02
| | |
* | | doc: fix scripts and regenerate (#12506)TJ DeVries2020-07-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix some small doc issues * doc: fixup * doc: fixup * Fix lint and rebase * Remove bad advice * Ugh, stupid mpack files... * Don't let people include these for now until they specifically want to * Prevent duplicate tag
* | | docs: Describe how to escape keycodes with nvim_feedkeys (#12484)Anmol Sethi2020-07-01
| | | | | | | | | Closes #12297
* | | lsp: Use nvim_buf_get_lines in locations_to_items and add more tests (#12357)Mathias Fußenegger2020-06-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * LSP: Add tests & use nvim_buf_get_lines in locations_to_items This is to add support for cases where the server returns a URI in the locations that does not have a file scheme but needs to be loaded via a BufReadCmd event. * LSP: Don't iterate through all lines in locations_to_items * fixup! LSP: Don't iterate through all lines in locations_to_items * fixup! fixup! LSP: Don't iterate through all lines in locations_to_items * fixup! fixup! fixup! LSP: Don't iterate through all lines in locations_to_items
* | | Merge pull request #12491 from vigoux/treesitter-set-rangesMatthieu Coudron2020-06-30
|\ \ \ | | | | | | | | [RDY] Treesitter set ranges
| * | | treesitter: use nodes to mark rangesThomas Vigouroux2020-06-29
| | | |