aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
* tree-sitter: implement query functionality and highlighting prototype ↵Björn Linse2019-12-22
| | | | [skip.lint]
* termdebug.vim: Comment out Winbar related things #11552Jelte Fennema2019-12-22
|
* LSP: Use async completion for omnifunc. (#11578)Ashkan Kiani2019-12-20
|
* vim-patch:8.2.0024: filetype Rego not recognizedJan Edmund Lazo2019-12-20
| | | | | | Problem: Filetype Rego not recognized. Solution: Add *.rego. (Matt Dunford, closes vim/vim#5376) https://github.com/vim/vim/commit/a4ce82fe2e990eb9eaabf6ad400e2a74cce50ce6
* vim-patch:8.2.0019: cannot number of lines of another bufferJan Edmund Lazo2019-12-20
| | | | | | | Problem: Cannot number of lines of another buffer. Solution: Add "linecount" to getbufinfo(). (Yasuhiro Matsumoto, closes vim/vim#5370) https://github.com/vim/vim/commit/a9e9679de3ef082ee29868ab404283dfc53258f2
* LSP: Improve the display of the default hover callback. (#11576)Ashkan Kiani2019-12-20
| | | Strips the code blocks from markdown and does syntax highlighting.
* LSP: fix omnifunc findstart (#11522)Mike Hartington2019-12-20
|
* TUI: can make the cursor transparent #11519Matthieu Coudron2019-12-19
| | | when setting 'guicursor' highlight blend=100.
* Add support for the pum_getpos() API (#11562)Seth Fowler2019-12-16
| | | Add support for the pum_getpos() API
* Merge pull request #7202 from teto/jobstart_envJames McCoy2019-12-13
|\ | | | | [RFC] override environment for jobstart
| * jobstart now supports env/clear_envMatthieu Coudron2019-12-11
| | | | | | | | to modify the environment of the launched job.
* | jumplist: browser-style (or 'tagstack') navigation #11530butwerenotthereyet2019-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Traditionally, when navigating to a specific location from the middle of the jumplist results in shifting the current location to the bottom of the list and adding the new location after it. This behavior is not desireable to all users--see, for example https://vi.stackexchange.com/questions/18344/how-to-change-jumplist-behavior. Here, another jumplist behavior is introduced. When jumpoptions (a new option set added here) includes stack, the jumplist behaves like the tagstack or like history in a web browser. That is, when navigating to a location from the middle of the jumplist 2 first 1 second 0 third <-- current location 1 fourth 2 fifth to a new location the locations after the current location in the jump list are discarded 2 first 1 second 0 third <-- current location The result is that when moving forward from that location, the new location will be appended to the jumplist: 3 first 2 second 1 third 0 new If the new location is the same new == second as some previous (but not immediately prior) entry in the jumplist, 2 first 1 second 0 third <-- current location 1 fourth 2 fifth both occurrences preserved 3 first 2 second 1 third 0 second (new) when moving forward from that location. It would be desireable to go farther and, when the new location is the same as the location that is currently next in the jumplist, new == fourth make the result of navigating to the new location by jumping (e.g. 50gg) be the same as moving forward in the jumplist 2 first 1 second 0 third 1 new <-- current location 2 fifth and simply increment the jumplist index. That change is NOT part of this patch because it would require passing the new cursor location to the function (setpcmark) from all of its callees. That in turn would require those callees to know *before* calling what the new cursor location is, which do they do not currently.
* | netrw.vim: do not save +/* registersJustin M. Keyes2019-12-10
| | | | | | | | | | | | | | | | netrw shouldn't be touching these in the first place. fix #11089 ref #6892 ref #6695
* | doc: LSP [ci skip] #11524Justin M. Keyes2019-12-10
| |
* | vim-patch:8.1.2408: syntax menu and build instructions outdatedJan Edmund Lazo2019-12-07
| | | | | | | | | | | | Problem: Syntax menu and build instructions outdated. Solution: Update build instructions and syntax menu. https://github.com/vim/vim/commit/bfd34333302c0b0115ab2a9c995b5adbdb8f4ef8
* | LSP: Add jump when calling gotodef (#11521)Jakub Łuczyński2019-12-07
| |
* | runtime/syntax/vim.vim: highlight "blend" keyword #11520Matthieu Coudron2019-12-05
| |
* | defaults: set nostartofline (#11135)Justin M. Keyes2019-12-03
|\ \ | |/ |/| | | | | | | Having the cursor change column can be surprising. Force startofline in functional and old tests. Remove the functional breakindent test, as it's a subset of the oldtest one.
| * defaults: set nostartoflineMatthieu Coudron2019-12-03
| | | | | | | | | | | | | | Having the cursor change column can be surprising. Force startofline in functional and old tests. Remove the functional breakindent test, as it's a subset of the oldtest one.
* | API: rename nvim_execute_lua => nvim_exec_luaJustin M. Keyes2019-12-02
| | | | | | | | | | | | - We already find ourselves renaming nvim_execute_lua in tests and scripts, which suggests "exec" is the verb we actually want. - Add "exec" verb to `:help dev-api`.
* | API: deprecate nvim_command_outputJustin M. Keyes2019-12-02
| |
* | Add vim.startswith and vim.endswith (#11248)Ashkan Kiani2019-12-01
| |
* | doc: mention OS pseudo-features in :h feature-listJan Edmund Lazo2019-11-30
| |
* | vim-patch:8.1.2315: switchbuf=uselast #11480Daniel Hahler2019-11-29
| | | | | | | | | | Problem: Not always using the right window when jumping to an error. Solution: Add the "uselast" flag in 'switchbuf'. (closes vim/vim#1652) https://github.com/vim/vim/commit/539aa6b25eaea91dfd1a175cd053c0f259fa2e58
* | vim-patch:8.1.2017: cannot execute commands after closing cmdline window #11479Daniel Hahler2019-11-29
| | | | | | | | | | | | | | Problem: Cannot execute commands after closing the cmdline window. Solution: Also trigger BufEnter and WinEnter. (closes vim/vim#4762) https://github.com/vim/vim/commit/96e38a86a710fb6daec4550ac1667f019dc3a40e Fixes https://github.com/neovim/neovim/issues/11279.
* | Merge pull request #11469 from bfredl/lspdiagBjörn Linse2019-11-29
|\ \ | | | | | | lsp: allow the user to config LspDiagnosticError like any hl group
| * | lsp: allow the user to config LspDiagnosticError etc by standard meansBjörn Linse2019-11-28
| | |
* | | man.vim: remove K mapping #11472Rob Pilling2019-11-28
|/ / | | | | | | Since #11457 this mapping is no longer necessary. 'keywordprg' defaults to :Man in options.lua
* | runtime: russian-jcukenwintype.vim keymap #11461Von Random2019-11-27
| | | | | | Author: Denis Proskurin <danwerspb@gmail.com>
* | doc: fix typosBrian Wignall2019-11-27
| | | | | | | | close #11459
* | Merge #11467 from janlazo/vim-8.1.2345Justin M. Keyes2019-11-27
|\ \ | | | | | | vim-patch:8.1.{1252,1253,1254,1268,2345,2348,2349}
| * | vim-patch:8.1.2345: .cjs files are not recognized as JavascriptJan Edmund Lazo2019-11-26
| | | | | | | | | | | | | | | | | | Problem: .cjs files are not recognized as Javascript. Solution: Add the *.cjs pattern. (closes vim/vim#5268) https://github.com/vim/vim/commit/c1faf3dc3879e8a5e486f31445b5a5753dcbc6a3
* | | man.vim: Improve ft=man 'iskeyword' #11457Rob Pilling2019-11-27
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This addresses a minor quality problem with the recent `'tagfunc'` changes for `man.vim` (see [link]). Currently, with the cursor on a parenthese, hitting `K` will jump us to the man page of the next mentioned entry, instead of the one to which the parenthese (or section number) belongs. ``` pcrepattern(3), terminfo(5), glob(7), regex(7). e.g. ^ e.g. ^ ``` Adding the parentheses to `'iskeyword'` means we correctly handle these cases too. [link]: https://github.com/neovim/neovim/pull/11280#discussion_r348342357
* | Merge pull request #11445 from bfredl/fcslcsBjörn Linse2019-11-26
|\ \ | | | | | | options: make 'fillchars' and 'listchars' global-local instead of local-only
| * | options: make 'fillchars' and 'listchars' global-localBjörn Linse2019-11-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | These options were previously global. A global-local window option behaves closer to a global option "per default" (i e with :set), but still supports local behavior via :setl Also this restores back-compat for nvim_set_option("fcs", ...) which are currently broken on 0.4.x but worked in earlier versions
* | | LSP: Move default buf callbacks to vim.lsp.callbacks (#11452)Ashkan Kiani2019-11-26
| | | | | | | | | | | | | | | | | | | | | - In the process, refactored focusable_preview to a util function. - Add text for locations_to_items of the current line. - Improve location callback to handle multiple return values by using set_qflist. - Remove update_tagstack and leave note for future travelers.
* | | UI: emit mouse_on/mouse_off on attach #11455Justin M. Keyes2019-11-25
| | | | | | | | | closes #11372
* | | doc + extmarks tweaks #11421Justin M. Keyes2019-11-25
| | | | | | | | | | | | - nvim_buf_get_extmarks: rename "amount" => "limit" - rename `set_extmark_index_from_obj`
* | | release.sh [ci skip]Justin M. Keyes2019-11-24
| | |
* | | Merge #11451 'man.vim: Fixes'Justin M. Keyes2019-11-24
|\ \ \
| * | | man.vim: Update maintainer emailAnmol Sethi2019-11-24
| | | |
| * | | man.vim: Hard wrap by defaultAnmol Sethi2019-11-24
| | | | | | | | | | | | | | | | Closes #11436
| * | | man.vim: Document how to disable bold highlightingAnmol Sethi2019-11-24
| | | | | | | | | | | | | | | | Closes #11435
* | | | man.vim: Ensure 'modifiable' in man#init_pager #11450Anmol Sethi2019-11-24
|/ / /
* | | Bring vim into local scopeAshkan Kiani2019-11-24
| | |
* | | Add support for textDocument/references.Ashkan Kiani2019-11-24
| | | | | | | | | | | | | | | | | | Add set_qflist and set_loclist. - Also add locations_to_items, which calculates byte offsets for character positions in files and avoids unnecessary operations.
* | | Merge branch 'master' into lsp-followupAshkan Kiani2019-11-24
|\ \ \
| * | | Lua: vim.env, vim.{g,v,w,bo,wo} #11442Ashkan Kiani2019-11-24
| |/ / | | | | | | | | | | | | | | | | | | | | | - Add vim variable meta accessors: vim.env, vim.{g,v,w,bo,wo} - Redo gen_char_blob to generate multiple blobs instead of just one so that multiple Lua modules can be inlined. - Reorder vim.lua inclusion so that it can use previously defined C functions and utility functions like vim.shared and vim.inspect things. - Inline shared.lua into nvim, but also keep it available in runtime.
* | | UI tweaks.Ashkan Kiani2019-11-23
| | | | | | | | | | | | | | | | | | - Hide diagnostics on client exit - Stop insert on popup focus. - Hide popup on insertchar (for signature_help)
* | | Merge remote-tracking branch 'origin/master' into lsp-followupAshkan Kiani2019-11-23
|\| |