aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
* vim-patch:8.2.2879: file extension .hsig not recognized (#14628)Jan Edmund Lazo2021-05-23
| | | | | | Problem: File extension .hsig not recognized. Solution: Use Haskell filetype for .hsig files. (Marcin Szamotulski, closes vim/vim#8236) https://github.com/vim/vim/commit/f5409dbf66f4e4a0461d3f2079c1bffacbf12392
* lsp: Only mute RequestCancelled or ContentModified, but not other errorsMathias Fussenegger2021-05-23
| | | | | | | | | | | | | | | | | | | | | | | | | | handlers passed to `lsp_buf_request` weren't called if the server responded with an error that looks like this: "decoded", { error = { code = -32601, message = "No delegateCommandHandler for foo" }, id = 5, jsonrpc = "2.0" } An example where that happens is both eclipse.jdt.ls and the haskell-language-server when invoking a command that doesn't exist: :lua vim.lsp.buf_request( 0, 'workspace/executeCommand', { command = 'foo' }, function(err, _, res) print(vim.inspect(err), vim.inspect(res)) end )
* vim-patch:8.2.2778: problem restoring 'packpath' in sessionJan Edmund Lazo2021-05-22
| | | | | | | | Problem: Problem restoring 'packpath' in session. Solution: Let "skiprtp" also apply to 'packpath'. https://github.com/vim/vim/commit/d23b714d8b9ed8e16ef553098acc6da0979e94fc Port Test_mksession_skiprtp() to lua functional test.
* vim-patch:8.2.2772: problems when restoring 'runtimepath' from a session fileJan Edmund Lazo2021-05-22
| | | | | | | | | | | Problem: Problems when restoring 'runtimepath' from a session file. Solution: Add the "skiprtp" item in 'sessionoptions'. https://github.com/vim/vim/commit/635bd60804966803490287e97460ecdc91d5fe0a Allow "terminal" value for sessionoptions even if it's no-opt because patch v8.0.1592 is not ported yet. Omit vim9 test, Test_mksession_skiprtp().
* Merge pull request #14615 from folke/faster_locations_to_itemsMichael Lingelbach2021-05-22
|\ | | | | perf(lsp): `locations_to_items`: use libuv for unloaded buffers to get line
| * perf(lsp): locations_to_items use libuv for unloaded buffers to get lineFolke Lemaitre2021-05-22
| |
* | Merge pull request #14269 from fdschmidt93/fix/document_symbol_rangeMichael Lingelbach2021-05-22
|\ \ | | | | | | fix(lsp): prefer selectionRange over range for document symbols in vim.lsp.util.symbols_to_items
| * | fix: selectionrange over range for document symbolsFabian David Schmidt2021-04-01
| | |
* | | Merge pull request #14603 from folke/format_on_saveMichael Lingelbach2021-05-22
|\ \ \ | |_|/ |/| | fix(lsp): allow apply_text_edits to append text (insert at last line)
| * | fix(lsp): allow apply_text_edits and set_lines to insert text after the last ↵Folke Lemaitre2021-05-21
| | | | | | | | | | | | line. Fixes #14017
* | | doc/options: Removed vim-only text from ambiwidth. (#14602)Thiago Mota Martins2021-05-21
| | | | | | | | | NeoVim always includes all features and doesn´t have termcap-options (t_u7).
* | | Merge pull request #14604 from folke/masterMichael Lingelbach2021-05-21
|\ \ \ | | | | | | | | feat(lsp): use same formatting for `signature_help` as `hover`
| * | | feat(lsp): use fancy_floating_markdown for signature_helpFolke Lemaitre2021-05-21
| | | |
| * | | fix(lsp): clear current_syntax before formatting fancy markdown regionFolke Lemaitre2021-05-21
| | | |
| * | | fix(lsp): preview_location options and syntax fallbackFolke Lemaitre2021-05-21
| | | |
* | | | Merge pull request #14596 from folke/masterMichael Lingelbach2021-05-20
|\| | | | |/ / |/| | lsp: `lsp.util.fancy_floating_markdown` improvements
| * | feat(lsp): lsp.util.fancy_floating_markdown improvementsFolke Lemaitre2021-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix: fancy_floating_markdown: syn region must include keepend to make sure syntax regions are applied correctly. Fixes #14594 feat: fancy_floating_markdown: handle <pre></pre> code blocks as a markdown code block with plaintext fix: possible nil check for markdown code blocks till end of buffer refactor: only one check is needed to see if stripped[h.finish +1] is valid fix(lsp): dont't set doc ownsyntax, since it breaks contained syntaxes. Set regions for the markdown blocks intsead fix: apply markdown formatting for code blocks without a language fix: use markdownCodeBlock when no language was set in a code block
* | | Fixed ttimeout documentation. (#14600)Thiago Mota Martins2021-05-20
| | | | | | | | | ttimeout is a boolean. The correct command for this line is ":set ttimeoutlen=9999"
* | | Merge remote-tracking branch 'origin/master' into qftfkevinhwang912021-05-20
|\| |
| * | Merge pull request #14563 from mjlbach/fix_intelephense_langserverMichael Lingelbach2021-05-19
| |\ \ | | | | | | | | lsp: handle case where CompletionItem.insertTextFormat is nil
| | * | lsp: handle case where CompletionItem.insertTextFormat is nilMichael Lingelbach2021-05-16
| | | | | | | | | | | | | | | | * Update tests to use explicit insertTextFormat for snippets
| * | | fix(health/python3): remove obsolete check (#14590)Marco Hinz2021-05-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Python 3.3 reached its end-of-life 2017-09-29: https://www.python.org/dev/peps/pep-0398 Closes https://github.com/neovim/neovim/issues/14586
| * | | Merge pull request #14589 from mhinz/revert-smarter-tagstackMarco Hinz2021-05-19
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unfortunately, there are some subtle bugs in the smarter tagstack changes, so we'll revert them for now and try to come up with a better approach. One of the added tests, adds current position to jumplist before jumping, is valuable though and changed to still work after reverting the other two commits. Closes #14571
| | * | | Revert "lsp: make tagstack smarter motion-wise (#12262)"Marco Hinz2021-05-19
| | | | | | | | | | | | | | | | | | | | This reverts commit 8885ea7f244ee49b0018dc57be84917ea7886c2d.
| | * | | Revert "lsp: fix regression in jump_to_location() (#14446)"Marco Hinz2021-05-19
| | | | | | | | | | | | | | | | | | | | This reverts commit 993ca90c9b53033216d4973e2f995b995ed5740e.
| * | | | Merge pull request #14583 from cbarrete/unsupported-call-hierarchiesMichael Lingelbach2021-05-19
| |\ \ \ \ | | |/ / / | |/| | | lsp: handle unsupported call hierarchy call
| | * | | lsp: handle unsupported call hierarchy callCédric Barreteau2021-05-19
| | | | |
* | | | | vim-patch:8.2.0959: using 'quickfixtextfunc' is a bit slowkevinhwang912021-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using 'quickfixtextfunc' is a bit slow. Solution: Process a list of entries. (Yegappan Lakshmanan, closes vim/vim#6234) https://github.com/vim/vim/commit/00e260bb6cc33ff5dbba15ac87ca7fd465aa49c0
* | | | | vim-patch:8.2.0933: 'quickfixtextfunc' does not get window ID of location listkevinhwang912021-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: 'quickfixtextfunc' does not get window ID of location list. Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan, closes vim/vim#6222) https://github.com/vim/vim/commit/7ba5a7eff335dcce25afaa154f32eeadb6014b61
* | | | | vim-patch:8.2.0869: it is not possible to customize the quickfix window contentskevinhwang912021-05-20
|/ / / / | | | | | | | | | | | | | | | | | | | | Problem: It is not possible to customize the quickfix window contents. Solution: Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes vim/vim#5465) https://github.com/vim/vim/commit/858ba06d5f577b187da0367b231f7fa9461cb32d
* / / / docs: fix some remanining cases of gender pronoun for "the user"Björn Linse2021-05-18
|/ / / | | | | | | | | | | | | Adapted from original PR by: Co-Author: Mathias Jean Johansen <mathias@mjj.io>
* | | Update vim diff and credits (#14566)Yegappan Lakshmanan2021-05-16
| | | | | | | | | | | | | | | | | | | | | | | | Patch 8.2.2524 added the support for the fields 'foldopen', 'foldclose' and 'foldsep' to the 'fillchars' option in Vim: http://ftp.vim.org/pub/vim/patches/8.2/8.2.2524 Update the credits in intro.txt based on Vim credits.
* | | Merge pull request #14406 from shadmansaleh/vim-8.2.0877Jan Edmund Lazo2021-05-15
|\ \ \ | | | | | | | | vim-patch:8.2.{0877, 0880, 0884, 0887, 0896} - port searchcount()
| * | | vim-patch:8.2.0877: cannot get the search statisticsshadmansaleh2021-05-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot get the search statistics. Solution: Add the searchcount() function. (Fujiwara Takuya, closes vim/vim#4446) https://github.com/vim/vim/commit/e8f5ec0d30b629d7166f0ad03434065d8bc822df Additional changes: - Tests weren't passing because the test ran assuming the cursor was at start of buffer but append() left the cursor at end of buffer . So cursor is moved to start of buffer after append. - searchcount() added to list of builtin functions.
* | | | vim-patch:8.2.2854: custom statusline cannot contain % items (#14558)Shadman2021-05-15
| | | | | | | | | | | | | | | | | | | | Problem: Custom statusline cannot contain % items. Solution: Add "%{% expr %}". (closes vim/vim#8190) https://github.com/vim/vim/commit/30e3de21fc36153c5f7c9cf9db90bcc60dd67fb9
* | | | Merge pull request #14555 from mickael-menu/fix/range-code-actionMichael Lingelbach2021-05-14
|\ \ \ \ | | | | | | | | | | lsp: Fix range end offset off by one character
| * | | | lsp: Fix range end offset off by one characterMickaël Menu2021-05-14
| | | | |
* | | | | treesitter: add predicate "any-of?" (#14344)Raymond W. Ko2021-05-14
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For the case of Clojure and other Lisp syntax highlighting, it is necessary to create huge regexps consisting of hundreds of symbols with the pipe (|) character. To make things more difficult, these Lisp symbols sometimes consists of special characters that are themselves part of special regexp characters like '*'. In addition to being difficult to maintain, it's performance is suboptimal. This patch introduces a new predicate to perform 'source' matching in amortized constant time. This is accomplished by compiling a hash table on the first use.
* | | | treesitter: do not escape in match? (#14382)Stephan Seitz2021-05-11
| | | |
* | | | Merge pull request #14403 from seandewar/vim-8.2.1933Jan Edmund Lazo2021-05-09
|\ \ \ \ | |/ / / |/| | | vim-patch:8.2.{0174,1933,1935,1946,2286,2287}
| * | | doc: port changes for locale-based :sortSean Dewar2021-04-20
| | | | | | | | | | | | | | | | Cherry-picked from https://github.com/vim/vim/commit/3132cddd209ee510bde48b6520290cb26c8f604a.
| * | | vim-patch:8.2.1933: cannot sort using locale orderingSean Dewar2021-04-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot sort using locale ordering. Solution: Add a flag for :sort and sort() to use the locale. (Dominique Pellé, closes vim/vim#7237) https://github.com/vim/vim/commit/55e29611d20bca14fa5efc61385bc8a6b7acd9e2
| * | | eval: port v:collateSean Dewar2021-04-20
| | | | | | | | | | | | | | | | Cherry-picked from patch v8.2.0988. Required for patch v8.2.1933.
* | | | vim-patch:8.2.2839: default redirection missing "ash" and "dash"Jan Edmund Lazo2021-05-08
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Default redirection missing "ash" and "dash". Solution: Recognize "ash" and "dash". (Natanael Copa, closes vim/vim#8180) https://github.com/vim/vim/commit/56318369750066718b880afa69e7ae3843d0410b
* | | | vim-patch:8.2.2838: file extension .wrap not recognizedJan Edmund Lazo2021-05-08
| | | | | | | | | | | | | | | | | | | | | | | | Problem: File extension .wrap not recognized. Solution: Use dosini filetype for .wrap files. (Liam Beguin, closes vim/vim#8177) https://github.com/vim/vim/commit/e3e598e82b79a2ab5ba5e312d54e65c940e2e809
* | | | Merge pull request #13664 from ivechan/win_exectuteJan Edmund Lazo2021-05-07
|\ \ \ \ | | | | | | | | | | vim-patch:8.1.{1418,1425,1832,2124},8.2.{0137, 2340}
| * | | | vim-patch:8.1.1418: win_execute() is not implemented yetjing2021-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Win_execute() is not implemented yet. Solution: Implement it. https://github.com/vim/vim/commit/868b7b6712ea4f2232eeeae18c5cbbbddf2ee84d
* | | | | checkhealth: ignore 'wildignore' when seeking executables (#14495)Marco Hinz2021-05-07
| |_|/ / |/| | | | | | | | | | | | | | | | | | | Certain values of 'wildignore', .e.g `*/node_modules/**`, would make the provider checks not find the right executables. Fixes https://github.com/neovim/neovim/issues/14388
* | | | vim-patch:8.2.1166: once mouse move events are enabled getchar() returns themJan Edmund Lazo2021-05-06
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Once mouse move events are enabled getchar() returns them. Solution: Ignore K_MOUSEMOVE in getchar(). (closes vim/vim#6424) https://github.com/vim/vim/commit/ae97b94176062d30ea8c68bb83cde034c5150c78
* | | | Merge pull request #14424 from janlazo/vim-8.1.1726Jan Edmund Lazo2021-05-04
|\ \ \ \ | | | | | | | | | | vim-patch:8.1.1726,8.2.{296,860,1827,2388,2788,2790,2801}