aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
* vim-patch:8.2.0930: script filetype detection trips over env -S argumentJan Edmund Lazo2020-06-18
| | | | | | | Problem: Script filetype detection trips over env -S argument. Solution: Remove "-S" and "--ignore-environment". (closes vim/vim#5013) Add tests. https://github.com/vim/vim/commit/b5e18f29fac9253b0ccf1fde5e74bff72fa1ba60
* vim-patch:8.2.0927: some sshconfig and ssdhconfig files are not recognizedJan Edmund Lazo2020-06-18
| | | | | | Problem: Some sshconfig and ssdhconfig files are not recognized. Solution: Add filetype patterns. https://github.com/vim/vim/commit/da84ac2a6f467d0b9eddcc8709433cda75d16a41
* vim-patch:8.0.1554: custom plugins loaded with --cleanJan Edmund Lazo2020-06-18
| | | | | | Problem: Custom plugins loaded with --clean. Solution: Do not include the home directory in 'runtimepath'. https://github.com/vim/vim/commit/072687032683b1994d25a114893d9a6f8bc36612
* lsp: Add new highlight groups used in show_line_diagnostics (#12473)francisco souza2020-06-18
| | | | | | | | | * lsp: support custom hl groups in show_line_diagnostics Closes #12472. * runtime: add docs for the new lsp highlight groups Co-authored-by: francisco souza <fsouza@users.noreply.github.com>
* tex.vim: patch runtime/indent to 388a5d4f20b4Manuel Krebs2020-06-17
| | | | vim/vim@388a5d4f20b4b64341d1604aa238cab85827b892
* tex.vim: patch runtime to 65e0d77a66b7Manuel Krebs2020-06-16
| | | | vim/vim@65e0d77a66b7
* tex.vim: patch runtime to 388a5d4f20b4Manuel Krebs2020-06-16
| | | | vim/vim@388a5d4f20b4
* tex.vim: patch runtime to 1d9215b9aaa1Manuel Krebs2020-06-16
| | | | vim/vim@1d9215b9aaa1
* Merge pull request #12342 from h-michael/fix-docHirokazu Hata2020-06-15
|\
| * doc: fix vim.api.nvim_buf_attach callback argumentsHirokazu Hata2020-06-15
| |
* | Merge pull request #12469 from h-michael/requestHirokazu Hata2020-06-15
|\ \ | | | | | | lsp: even if contents before change is 0 byte, request to server
| * | lsp: even if contents before change is 0 byte, request to serverHirokazu Hata2020-06-11
| | | | | | | | | | | | fix: https://github.com/neovim/neovim/issues/12414
* | | Fix highlight group names in LSP documentation (#12427)Kevin Fleming2020-06-14
| | | | | | | | | | | | | | | | | | LspDiagnosticInformation -> LspDiagnosticsInformation LspDiagnosticInformationSign -> LspDiagnosticsInformationSign LspDiagnosticHint -> LspDiagnosticsHint LspDiagnosticHintSign -> LspDiagnosticsHintSign
* | | lsp: Fix text edits with the same start position (#12434)Andreas Johansson2020-06-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the LSP spec[1], multiple edits can have the same starting position, and if that is the case, they should be applied in the order as they come in the array. The implementation uses a reverse sort to not interfere with non applied edits, but failed to take into account the spec. [1] https://microsoft.github.io/language-server-protocol/specifications/specification-3-14/#textedit
* | | lsp: Add `BufLeave` to `close_preview_autocmd` function call (#12477)Dheepak Krishnamurthy2020-06-12
| | | | | | | | | else popup window remains open when switching buffer.
* | | lsp: Fix #12449 textDocumentSync.save can be boolean. Access ↵Stephan Seitz2020-06-11
|/ / | | | | | | textDocumentSync.save.includeText only if table. (#12450)
* | Add overlapped option to jobstarterw72020-06-10
| | | | | | | | | | | | | | When UV_OVERLAPPED_PIPE was used for the pipe passed to the child process, a problem occurred with the standard input of the .Net Framework application (#11809). Therefore, add the overlapped option to jobstart() and change it so that it is set only when necessary
* | Merge pull request #12321 from vigoux/treesitter-runtimeMatthieu Coudron2020-06-06
|\ \ | | | | | | treesitter: update runtime
| * | treesitter: fix testsThomas Vigouroux2020-06-03
| | |
* | | Merge pull request #12413 from janlazo/vim-8.2.0089Matthieu Coudron2020-06-06
|\ \ \ | | | | | | | | [RDY]vim-patch:8.0.1564,8.1.{917,1895,2018,2335},8.2.{89,491,873,892,905}
| * | | vim-patch:8.2.0491: cannot recognize a <script> mapping using maparg()Jan Edmund Lazo2020-06-04
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot recognize a <script> mapping using maparg(). Solution: Add the "script" key. (closes vim/vim#5873) https://github.com/vim/vim/commit/2da0f0c445da3c9b35b2a0cd595d10e81ad2a6f9
| * | | vim-patch:8.2.0873: a .jl file can be sawfish (lisp) or JuliaJan Edmund Lazo2020-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: A .jl file can be sawfish (lisp) or Julia. Solution: Do not recognize *.jl as lisp, since it might be Julia. (closes vim/vim#6178) https://github.com/vim/vim/commit/2891459b81a21dbd2802ef1ae106c6680f085899
* | | | Merge pull request #12411 from kuuote/fix-remote-plugin-commandMatthieu Coudron2020-06-06
|\ \ \ \ | |/ / / |/| | | runtime: fix remote plugin command fails at some case
| * | | runtime: fix remote plugin command fails at some casekuuote2020-05-31
| | | | | | | | | | | | | | | | fixes #12410
* | | | lsp: do not process diagnostics for unloaded buffers (#12440)TJ DeVries2020-06-04
| | | |
* | | | lsp: compute height of floating preview correctly for wrapped lines (#12380)Christian Clason2020-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * take wrapping into account when computing float height * factor out size calculation * add test * accept and pass through opts.wrap_at in floating_preview * make padding configurable * slightly refactor fancy_floating_markdown to make use of make_position * padding using string.format * move trim and pad to separate function * nit Co-authored-by: Hirokazu Hata <h.hata.ai.t@gmail.com> * remove mention of backward compat * make lint happy Co-authored-by: Hirokazu Hata <h.hata.ai.t@gmail.com>
* | | | lsp: Add check for `declaration` and `typeDefinition` support in vim lsp ↵Dheepak Krishnamurthy2020-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | server before making `request` (#12421) * Add check for typeDefinition support in vim lsp server * Check for typeDefinitionProvider in server * Check for declarationProvider in server * Add check for client support * Fix typo
* | | | lua: fix behavior when split empty string (#12429)notomo2020-06-04
| | | | | | | | | | | | | | | | | | | | * lua: fix behavior when split empty string * test: lsp.util.apply_text_edits with an empty edit
* | | | Merge pull request #12343 from ndreas/fix/lsp-multibyte-indexingHirokazu Hata2020-06-04
|\ \ \ \ | | | | | | | | | | Fix LSP multibyte indexing
| * | | | Use get_line_byte_from_position in jump_to_locationAndreas Johansson2020-05-19
| | | | |
| * | | | Refactor fetching the line byteAndreas Johansson2020-05-19
| | | | | | | | | | | | | | | | | | | | Takes the entire LSP position instead of line/col
* | | | | Add v:event.visual during `TextYankPost` (#12382)Christian Clason2020-06-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * propagate visual selection to textyankpost event * adapt tests * add docs * also adapt oldtest
* | | | | lua: fix infinite loop for vim.split on empty string (#12420)notomo2020-06-02
| |_|/ / |/| | |
* | | | lua: add vim.highlight.range (#12401)Christian Clason2020-05-31
| |/ / |/| |
* | | vim-patch:8.2.0843: filetype elm not detected (#12403)Jan Edmund Lazo2020-05-30
| | | | | | | | | | | | | | | Problem: Filetype elm not detected. Solution: Recognize *.elm files. (closes vim/vim#6157) https://github.com/vim/vim/commit/0016fd2e29b7d4d4eef89a0516d14888a8651c61
* | | lua: vim.wait implementationTJ DeVries2020-05-30
| | |
* | | provider: Fix ruby checkhealth error for Windows (#12400)BusyBruce2020-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Plaform: Windows 10 run `cmd /c gem list -ra ^^neovim$` *** REMOTE GEMS *** minitest-neovim (0.1.0) neovim (0.7.1, 0.7.0, 0.6.2, 0.6.1, 0.6.0, 0.5.1, 0.5.0, 0.4.0, 0.3.3, 0.3.2, 0.3.1, 0.3.0, 0.2.5, 0.2.4, 0.2.3, 0.2.2, 0.2.1, 0.2.0, 0.1.0, 0.0.6, 0.0.5, 0.0.4, 0.0.3, 0.0.2, 0.0.1) run `cmd /c gem list -ra "^^neovim$"` *** REMOTE GEMS *** neovim (0.7.1, 0.7.0, 0.6.2, 0.6.1, 0.6.0, 0.5.1, 0.5.0, 0.4.0, 0.3.3, 0.3.2, 0.3.1, 0.3.0, 0.2.5, 0.2.4, 0.2.3, 0.2.2, 0.2.1, 0.2.0, 0.1.0, 0.0.6, 0.0.5, 0.0.4, 0.0.3, 0.0.2, 0.0.1)
* | | lua: simple snippet support in the completion items (#12118)Viktor Kojouharov2020-05-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Old behavior is: foo(${placeholder: bar, ...) with lots of random garbage you'd never want inserted. New behavior is: foo(bar, baz) (which maybe is good, maybe is bad [depends on user], but definitely better than it was). ----- * Implement rudimentary snippet parsing Add support for parsing and discarding snippet tokens from the completion items. Fixes #11982 * Enable snippet support * Functional tests for snippet parsing Add simplified real-world snippet text examples to the completion items test * Add a test for nested snippet tokens * Remove TODO comment * Return the unmodified item if the format is plain text * Add a plain text completion item
* | | lsp: add preview_location util function (#12368)Christian Clason2020-05-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add preview_location * add doc stub * doc style; return bufnr&winnr of preview * doc: function may return nil Co-authored-by: Hirokazu Hata <h.hata.ai.t@gmail.com> * doc: fixup Co-authored-by: Hirokazu Hata <h.hata.ai.t@gmail.com>
* | | lsp: make the command error message more detailed (#11633)Hirokazu Hata2020-05-26
| | | | | | | | | | | | | | | * lsp.lua: make the error message more detailed * test: add lsp._cmd_part test
* | | Merge pull request #12367 from h-michael/lsp-logHirokazu Hata2020-05-25
|\ \ \
| * | | lsp: change log name to "lsp.log" from "vim-lsp.log"Hirokazu Hata2020-05-23
| | | | | | | | | | | | | | | | | | | | It's confusing because vim-lsp already has the same name as the plugin name that predates this built-in lsp. Also, since "vim.fn.stdpath" is used, adding the prefix "nvim-" is redundant, so just "lsp.log" will suffice.
* | | | vim-patch:8.0.1668: terminal debugger: can't re-open source code window (#12329)Jan Edmund Lazo2020-05-24
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Terminal debugger: can't re-open source code window. Solution: Add the :Source command. Also create the window if needed when gdb stops at a source line. https://github.com/vim/vim/commit/c4b533e1e93151658cb170c6796d327a8c0f8612
* | | | vim-patch:8.1.2233: cannot get the Vim command line arguments (#12117)kuuote2020-05-24
|/ / / | | | | | | | | | | | | Problem: Cannot get the Vim command line arguments. Solution: Add v:argv. (Dmitri Vereshchagin, closes vim/vim#1322) https://github.com/vim/vim/commit/69bf634858a2a75f2984e42b1e4017bc529a040a
* | | doc: Add optional d for `:lcd` and `:tcd` (#12359)Austin Traver2020-05-22
| | | | | | | | | | | | | | | The `:lcd -` command, and `:tcd -` which returns to a previous directory, can be done with `:lc -` and `:tc -` respectively. Basically, the d is optional, so I updated the documentation to indicate this in the traditional format.
* | | Change uri_to_fname to not convert non-file URIs (#12351)Mathias Fußenegger2020-05-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Change uri_to_fname to not convert non-file URIs A URI with a scheme other than file doesn't have a local file path. * fixup! Change uri_to_fname to not convert non-file URIs * fixup! fixup! Change uri_to_fname to not convert non-file URIs
* | | LSP: Don't swallow bufnr argument from callbacks (#12350)Mathias Fußenegger2020-05-20
| | | | | | | | | | | | | | | The callbacks for `textDocument/documentSymbol` and `workspace/symbol` never received the `bufnr` argument because the logic that adds error validation and logging swallowed the argument.
* | | provider: Add python3.9 to autoload/provider/pythonx.vim (#12344)Faris A Chugthai2020-05-20
| |/ |/| | | | | 3.9's scheduled for beta release today. https://www.python.org/dev/peps/pep-0596/
* | lsp: fix get diagnositcsMike Hartington2020-05-19
| |
* | lua: Add highlight.on_yank (#12279)Christian Clason2020-05-18
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add lua function to highlight yanked region * extract namespace, better naming, default values * add default for event argument * free timer * factor out mark to position calculation * d'oh * make sure timer stops before callback (cf. luv example) * factor out timer, more documentation * fixup * validate function argument for schedule * fix block selection past eol * correct handling of multibyte characters * move arguments around, some cleanup * move utility functions to vim.lua * use anonymous namespaces, avoid local api * rename function * add test for schedule_fn * fix indent * turn hl-yank into proper (hightlight) module * factor out position-to-region function mark extraction now part of highlight.on_yank * rename schedule_fn to defer_fn * add test for vim.region * todo: handle double-width characters * remove debug printout * do not shadow arguments * defer also callable table * whitespace change * move highlight to vim/highlight.lua * add documentation * add @return documentation * test: add check before vim.defer fires * doc: fixup