aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
* Merge pull request #12708 from runiq/lsp-docTJ DeVries2020-08-25
|\ | | | | Add docs for some methods in vim.lsp
| * Add FIXMEsPatrice Peterson2020-08-23
| |
| * Add docs for most vim.lsp methodsPatrice Peterson2020-08-23
| | | | | | | | Most of the lsp.log will be addressed in a separate PR.
* | vim-patch:8.2.1517: cannot easily get the character under the cursorJan Edmund Lazo2020-08-23
|/ | | | | | Problem: Cannot easily get the character under the cursor. Solution: Add the {chars} argument to strpart(). https://github.com/vim/vim/commit/6c53fca02301ff871cddc1c74c388e23e53a424a
* vim-patch:8.2.1476: filetype test fails on MS-WindowsJan Edmund Lazo2020-08-17
| | | | | | Problem: Filetype test fails on MS-Windows. Solution: Remove "^" from pattern. https://github.com/vim/vim/commit/aa9675a61d510c4a56c3845d05b32b1ef780d119
* vim-patch:8.2.1474: /usr/lib/udef/rules.d not recognized as udevrulesJan Edmund Lazo2020-08-17
| | | | | | Problem: /usr/lib/udef/rules.d not recognized as udevrules. Solution: Adjust match pattern. (Haochen Tong, closes 36722) https://github.com/vim/vim/commit/624b6eaf20f3e8c669425b6a32f17fb9ec2ebbd2
* runtime/tex.vim: patch to 2547aa930b59 #12504Manuel Krebs2020-08-16
| | | vim/vim@2547aa930b59f5e2bcb70e81d5a57ed461e59b4f
* defaults: sessionoptions+=unix,slash #12760Jan Edmund Lazo2020-08-15
| | | | | | | Since 1c3ca4f18fdc, 2c1d12d0beda, #7836, the "unix" and "slash" behavior of 'sessionoptions'/'viewoptions' is always enabled, and the flags are just ignored. There is no reason for that behavior to be configurable. Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
* fixup! mksession: always unix slashes "/" for filepathsJan Edmund Lazo2020-08-15
|
* fixup! vim-patch:68e6560b84f1Jan Edmund Lazo2020-08-15
|
* vim-patch:8.2.1458: .gawk files not recognizedJan Edmund Lazo2020-08-15
| | | | | | Problem: .gawk files not recognized. Solution: Recognize .gawk files. (Doug Kearns) https://github.com/vim/vim/commit/9a5c553f790f74e4c36295ce5d46c1aa7d13eae6
* vim-patch:8.2.1410: adding compiler plugin requires test changeJan Edmund Lazo2020-08-14
| | | | | | Problem: Adding compiler plugin requires test change. Solution: Include compiler plugin and adjust test. https://github.com/vim/vim/commit/7f7a8888699bca6df0a45a16db5f0e313383b5f1
* vim-patch:8.2.1409: nmpmrc and php.ini filetypes not recognizedJan Edmund Lazo2020-08-14
| | | | | | Problem: Nmpmrc and php.ini filetypes not recognized. Solution: Add filetype detection. (Doug Kearns) https://github.com/vim/vim/commit/1e91eafc2e19b84ea44347ea929d2791d2fdd5e3
* vim-patch:8.2.1347: cannot easily get the script IDJan Edmund Lazo2020-08-14
| | | | | | Problem: Cannot easily get the script ID. Solution: Support expand('<SID>'). https://github.com/vim/vim/commit/909443028b57d7514ce3c71f00e9d808f2126b4f
* vim-patch:8.1.2341: not so easy to interrupt a script programaticallyJan Edmund Lazo2020-08-14
| | | | | | Problem: Not so easy to interrupt a script programatically. Solution: Add the interrupt() function. (Yasuhiro Matsumoto, closes vim/vim#2834) https://github.com/vim/vim/commit/67a2deb9cb4ac2224cb1e4d240a5d0659f036264
* vim-patch:8.1.1674: script to check a colorscheme can be improvedJan Edmund Lazo2020-08-14
| | | | | | Problem: Script to check a colorscheme can be improved. Solution: Match the whole group name. Don't warn for what is usually omitted. https://github.com/vim/vim/commit/4e63f9425e6623aec4cd016af6def0b354b935f1
* vim-patch:8.1.0573: cannot redefine user command without ! in same scriptJan Edmund Lazo2020-08-14
| | | | | | | Problem: Cannot redefine user command without ! in same script Solution: Allow redefining user command without ! in same script, like with functions. https://github.com/vim/vim/commit/55d46913084745a48749d7ac4f48930852e1d87e
* 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
| |