aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | TUI: fix bracket paste getting stuckerw72020-11-20
| | | | | | | | fixes #11699, #11991.
* | Merge pull request #12592 from jamessan/fix-mod-keysJames McCoy2020-11-20
|\ \ | |/ |/|
| * keymap: Preserve S- modifier when C- is presentJames McCoy2020-11-16
| | | | | | | | Closes #12037
| * tui/input: Add S- modifier for chords with capital ASCIIJames McCoy2020-11-16
| | | | | | | | | | | | | | | | termkey_strfkey() formats ctrl-l and ctrl-shift-l as <C-l> and <C-L>, respectively. Nvim wants the latter to look like <C-S-L>, since <C-l> and <C-L> are interpreted the same way. This is only required when the Ctrl modifier is present.
| * Understand Escape as another name for EscJames McCoy2020-11-16
| | | | | | | | | | | | | | | | This allows us to remove special-case handling of Esc in forward_modified_utf8(), which was always sending "<Esc>" to nvim even when there were modifiers present. Closes #12584
* | vim-patch:8.2.2011: "syn sync" reports a very large numberSean Dewar2020-11-19
| | | | | | | | | | | | Problem: "syn sync" reports a very large number. Solution: Use "at the first line". https://github.com/vim/vim/commit/9950280d377a5c0706d141017fcef9cad598b8b0
* | vim-patch:8.2.2006: .pbtxt files are not recognizedSean Dewar2020-11-19
| | | | | | | | | | | | Problem: .pbtxt files are not recognized. Solution: Recognize .pbtxt as protobuf text buffers. (closes vim/vim#7326) https://github.com/vim/vim/commit/88774a30c0b1957a6177cdb69d2becedae610299
* | startup: load files from &packpath . '/start/{pluginname}'Björn Linse2020-11-19
| | | | | | | | | | | | | | | | | | | | | | Quoting the existing docs: Packages are loaded. These are plugins, as above [&runtimepath], but found in the "start" directory of each entry in 'packpath'. Every plugin directory found is added in 'runtimepath' and then the plugins are sourced. Also tj didn't think I could do it.
* | Merge pull request #13316 from bfredl/vim-8.2.2005Björn Linse2020-11-18
|\ \ | | | | | | vim-patch:8.2.2005: redoing a mapping with <Cmd> doesn't work properly
| * | vim-patch:8.2.2005: redoing a mapping with <Cmd> doesn't work properlyBjörn Linse2020-11-18
| | | | | | | | | | | | | | | | | | | | | Problem: Redoing a mapping with <Cmd> doesn't work properly. Solution: Fill the redo buffer. Use "<SNR>" instead of a key code. (closes vim/vim#7282) https://github.com/vim/vim/commit/c77534c303721df4024fd6cfd51098d593b7d4da
* | | fix: NULL segfaults brought to you by @vigouxTJ DeVries2020-11-18
|/ /
* / vim-patch:8.2.1995: the popup menu can cause too much redrawingShougo Matsushita2020-11-17
|/ | | | | | | Problem: The popup menu can cause too much redrawing. Solution: Reduce the length of the displayed text. (Yasuhiro Matsumoto, closes vim/vim#7306) https://github.com/vim/vim/commit/714cbe5b212abbecb578b90424d89f47142e8f25
* fix(floatwin): don't always use winheightThomas Vigouroux2020-11-16
|
* globals: eliminate "enc_utf8" macroJan Edmund Lazo2020-11-14
| | | | | "enc_utf8" macro evaluates to "true". Continue dead code removal, started in https://github.com/neovim/neovim/pull/13275.
* globals: eliminate "has_mbyte" macroJan Edmund Lazo2020-11-14
| | | | | "has_mbyte" always evaluates to "true". Continue dead code removal, started in https://github.com/neovim/neovim/pull/13275.
* vim-patch:8.2.1982: quickfix window now updated when adding invalid entriesJan Edmund Lazo2020-11-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Quickfix window now updated when adding invalid entries. Solution: Update the quickfix buffer properly. (Yegappan Lakshmanan, closes vim/vim#7291, closes vim/vim#7271) https://github.com/vim/vim/commit/2ce7790348dab9cbfcc5d02c8258d0dd7ecacf95 N/A patches for version.c: vim-patch:8.2.1979: "term_opencmd" option of term_start() is truncated Problem: "term_opencmd" option of term_start() is truncated. (Sergey Vlasov) Solution: Allocate the buffer to hold the command. (closes vim/vim#7284) https://github.com/vim/vim/commit/47c5ea44b975adca00eaacecee5c4108996178d9 vim-patch:8.2.1981: MinGW: parallel compilation might fail Problem: MinGW: parallel compilation might fail. Solution: Add dependencies on $(OUTDIR). (Masamichi Abe, closes vim/vim#7287) https://github.com/vim/vim/commit/8496c9eadbf4ea3bf69e2e01456831eee2bddf0a vim-patch:8.2.1985: crash when closing terminal popup with <Cmd> mapping Problem: Crash when closing terminal popup with <Cmd> mapping. Solution: Check b_term is not NULL. (closes vim/vim#7294) https://github.com/vim/vim/commit/02764713a715c55e316e2bef5c9ade2fb767ee78 vim-patch:8.2.1987: MS-Windows: Win32.mak is no longer needed Problem: MS-Windows: Win32.mak is no longer needed. Solution: Do not include Win32.mak. (Jason McHugh, closes vim/vim#7290) https://github.com/vim/vim/commit/6453cc8078af403956d0e8c1849cf5ec0aae86b2
* Merge pull request #13275 from janlazo/vim-8.1.0805Matthieu Coudron2020-11-14
|\ | | | | vim-patch:8.1.{805,806,809,810,811}
| * vim-patch:8.1.0805: too many #ifdefsJan Edmund Lazo2020-11-12
| | | | | | | | | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, part 1. https://github.com/vim/vim/commit/135059724f140ceac889c9f8136bd1bf5c41d49d
| * vim-patch:8.1.0810: too many #ifdefsJan Edmund Lazo2020-11-12
| | | | | | | | | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, part 4. https://github.com/vim/vim/commit/264b74fa545edfb92c0d7d08a02c26331cc5b168
| * vim-patch:8.1.0809: too many #ifdefsJan Edmund Lazo2020-11-12
| | | | | | | | | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, part 3. https://github.com/vim/vim/commit/a12a161b8ce09d024ed71c2134149fa323f8ee8e
| * vim-patch:8.1.0806: too many #ifdefsJan Edmund Lazo2020-11-12
| | | | | | | | | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, part 2. https://github.com/vim/vim/commit/fc3abf47fbe1e426f2b676c316c81ee9ff607075
| * vim-patch:8.1.0811: too many #ifdefsJan Edmund Lazo2020-11-12
| | | | | | | | | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, the final chapter. https://github.com/vim/vim/commit/30276f2beb248557c6b33cd5418bca8b7084b0a5
* | Merge pull request #12698 from erw7/fix-popupmenu-with-rlJan Edmund Lazo2020-11-13
|\ \ | | | | | | ui: fix problem with the popupmenu when rightleft is set
| * | ui: fix problem with the popupmenu when rightleft is seterw72020-07-31
| | | | | | | | | | | | fixes #12032
* | | Merge pull request #13287 from jamessan/github-actionsJames McCoy2020-11-13
|\ \ \
| * | | ci: Rename travis_fold to ci_fold and add GHA supportJames McCoy2020-11-13
| | | |
| * | | build: Rename TRAVIS_CI_BUILD variable to CI_BUILDJames McCoy2020-11-13
| | |/ | |/|
* | | feat(lua): improve error message to make it actionable (#13276)Alvaro Muñoz2020-11-13
| | | | | | | | | * improve error message to make it actionable
* | | lsp: vim.lsp.diagnostic (#12655)TJ DeVries2020-11-12
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Breaking Changes: - Deprecated all `vim.lsp.util.{*diagnostics*}()` functions. - Instead, all functions must be found in vim.lsp.diagnostic - For now, they issue a warning ONCE per neovim session. In a "little while" we will remove them completely. - `vim.lsp.callbacks` has moved to `vim.lsp.handlers`. - For a "little while" we will just redirect `vim.lsp.callbacks` to `vim.lsp.handlers`. However, we will remove this at some point, so it is recommended that you change all of your references to `callbacks` into `handlers`. - This also means that for functions like |vim.lsp.start_client()| and similar, keyword style arguments have moved from "callbacks" to "handlers". Once again, these are currently being forward, but will cease to be forwarded in a "little while". - Changed the highlight groups for LspDiagnostic highlight as they were inconsistently named. - For more information, see |lsp-highlight-diagnostics| - Changed the sign group names as well, to be consistent with |lsp-highlight-diagnostics| General Enhancements: - Rewrote much of the getting started help document for lsp. It also provides a much nicer configuration strategy, so as to not recommend globally overwriting builtin neovim mappings. LSP Enhancements: - Introduced the concept of |lsp-handlers| which will allow much better customization for users without having to copy & paste entire files / functions / etc. Diagnostic Enhancements: - "goto next diagnostic" |vim.lsp.diagnostic.goto_next()| - "goto prev diagnostic" |vim.lsp.diagnostic.goto_prev()| - For each of the gotos, auto open diagnostics is available as a configuration option - Configurable diagnostic handling: - See |vim.lsp.diagnostic.on_publish_diagnostics()| - Delay display until after insert mode - Configure signs - Configure virtual text - Configure underline - Set the location list with the buffers diagnostics. - See |vim.lsp.diagnostic.set_loclist()| - Better performance for getting counts and line diagnostics - They are now cached on save, to enhance lookups. - Particularly useful for checking in statusline, etc. - Actual testing :) - See ./test/functional/plugin/lsp/diagnostic_spec.lua - Added `guisp` for underline highlighting NOTE: "a little while" means enough time to feel like most plugins and plugin authors have had a chance to refactor their code to use the updated calls. Then we will remove them completely. There is no need to keep them, because we don't have any released version of neovim that exposes these APIs. I'm trying to be nice to people following HEAD :) Co-authored: [Twitch Chat 2020](https://twitch.tv/teej_dv)
* | Merge pull request #13273 from janlazo/vim-8.2.1972Jan Edmund Lazo2020-11-11
|\ \ | | | | | | vim-patch:8.2.{1972,1973,1974}
| * | vim-patch:8.2.1973: finding a patch number can be a bit slowJan Edmund Lazo2020-11-11
| | | | | | | | | | | | | | | | | | Problem: Finding a patch number can be a bit slow. Solution: Use binary search. (closes vim/vim#7279) https://github.com/vim/vim/commit/232f4612e2b0a6a205ae385740078f6b8af05e75
| * | vim-patch:8.2.1972: crash when recreating nested foldJan Edmund Lazo2020-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when recreating nested fold. Solution: Check for empty growarray. (closes vim/vim#7278) https://github.com/vim/vim/commit/5e1f22ff614821b8fc7294c9dd22765acd403aeb N/A patches for version.c: vim-patch:8.2.1974: Vim9: test for has('gui_running') fails with VIMDLL Problem: Vim9: test for has('gui_running') fails with VIMDLL. Solution: Adjust the #ifdef. (Ken Takata, closes vim/vim#7276) https://github.com/vim/vim/commit/29b281ba8ddf176ae34b22e6a9b8e0ddcbcce665
* | | Removed restricted mode - Fix #11972georg3tom2020-11-11
|/ /
* | options.lua: add short descriptions (#6288)Matthieu Coudron2020-11-11
| | | | | | | | | | | | add one-liner option descriptions in src/nvim/options.lua They are taken from optwin.vim and should be easier to use in a programmatic manner, for instance in a "palette", like in telescope `:Telescope vim_options`.
* | Add PVS comment to new source filesJames McCoy2020-11-10
| |
* | Merge pull request #13263 from jamessan/tree-sitter-detectJames McCoy2020-11-09
|\ \ | | | | | | Align naming of FindTreeSitter cmake file and variables
| * | Align naming of FindTreeSitter cmake file and variablesJames McCoy2020-11-09
| | | | | | | | | | | | | | | | | | | | | | | | `find_package(Foo ...)` expects to find a file FindFoo.cmake and the resulting variables to be named `Foo_...`. If those don't all match up, then the detection does not work properly. Closes #13262
* | | Merge pull request #13244 from tk-shirasaka/fix/multigrid-click-foldcolumnMatthieu Coudron2020-11-10
|\ \ \ | |/ / |/| | ui: Fix click on foldcolumn when ext_multigrid is enabled
| * | Fix alignment issueShirasaka2020-11-10
| | |
| * | ui: Fix click on foldcolumn when ext_multigrid is enabledShirasaka2020-11-09
| | |
* | | Merge pull request #13205 from romgrk/add-bufmodified-autocmdBjörn Linse2020-11-09
|\ \ \ | | | | | | | | Implement BufModifiedSet autocmd
| * | | fix: address issues for BufModifiedSetRom Grk2020-11-09
| | | |
| * | | fix: finish renaming to BufModifiedSetRom Grk2020-11-07
| | | |
| * | | fix: rename to BufModifiedSetRom Grk2020-11-07
| | | |
| * | | feat: implement BufModified autocmdRom Grk2020-11-07
| | | |
* | | | gcc/analyzer: fix false positives for NULL (#13248)Jan Edmund Lazo2020-11-08
| | | | | | | | | | | | Close https://github.com/neovim/neovim/issues/13158
* | | | pvs/v547: comment out code for 'adjustment == 1'Jan Edmund Lazo2020-11-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | That code never runs. Comment it out in case that it is required for debugging marktree.c. Use 'const' to mark constant variables.
* | | | pvs/v560: decoration item is always truthyJan Edmund Lazo2020-11-08
| | | |
* | | | pvs/v547: remove useless ternary for string sizeJan Edmund Lazo2020-11-08
| |/ / |/| |
* | | vim-patch:8.2.1964: not all ConTeXt files are recognized (#13245)champignoom2020-11-07
| | | | | | | | | | | | | | | Problem: Not all ConTeXt files are recognized. Solution: Add two patterns. (closes vim/vim#7263) https://github.com/vim/vim/commit/faebda8cc1ecc4d6a197e06e968df46a2841ed79