aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | | vim-patch:8.1.0829: when 'hidden' is set session creates extra buffersSean Dewar2021-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When 'hidden' is set session creates extra buffers. Solution: Move :badd commands to the end. (Jason Franklin) https://github.com/vim/vim/commit/d39e275b57493f9e25e1b62f84810571eee30cf4 Adjust some tests in ex_cmds/mksession_spec.lua: - 'restores same :terminal buf in splits': Buffers aren't always :badded in the same order as they're :edited, :balted, etc, so the order of buffers in the buffer list may change slightly now that :badd happens afterwards. - 'restores buffers with tab-local CWD': This is explained in a comment.
* | | | | | Merge pull request #14744 from janlazo/vim-8.2.2957Jan Edmund Lazo2021-07-30
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | vim-patch:8.2.2957: using getchar() in Vim9 script is problematic
| * | | | | fixup! fix(highlight): remove syncolor.vimJan Edmund Lazo2021-07-29
| | | | | | | | | | | | | | | | | | | | | | | | Fix lint errors from lines with 80+ characters.
| * | | | | vim-patch:8.2.2957: using getchar() in Vim9 script is problematicJan Edmund Lazo2021-07-29
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using getchar() in Vim9 script is problematic. Solution: Add getcharstr(). (closes vim/vim#8343) https://github.com/vim/vim/commit/3a7503c34c65ed15cc08deb5b54aaf2ea51525b4 Cherry-pick Test_getchar() changes from patch v8.1.2304 to sync with upstream. Port f_getcharstr() to src/nvim/eval/funcs.c, not src/nvim/getchar.c. Patch v8.1.2042 is not ported yet.
* | | | | Merge pull request #15207 from gpanders/bye-syncolorBjörn Linse2021-07-29
|\ \ \ \ \ | | | | | | | | | | | | fix(highlight): remove syncolor.vim
| * | | | | fixup! fix(highlight): remove syncolor.vimGregory Anders2021-07-28
| | | | | |
| * | | | | fixup! fix(highlight): remove syncolor.vimGregory Anders2021-07-27
| | | | | |
| * | | | | fixup! fix(highlight): remove syncolor.vimGregory Anders2021-07-27
| | | | | |
| * | | | | fix(highlight): remove syncolor.vimGregory Anders2021-07-27
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove syncolor.vim in favor of defining the default highlight groups directly in `init_highlight`. This approach provides a number of advantages: 1. The highlights are always defined, regardless of whether or not the syntax regex engine is enabled. 2. Redundant sourcing of syntax files is eliminated (syncolor.vim was often sourced multiple times based on how the user's colorscheme file was written). 3. The syntax highlighting regex engine and the highlight groups themselves are more fully decoupled. 4. Removal of the confusing `:syntax on` / `:syntax enable` dichotomy (they now both do the same thing). This approach also correctly solves a number of bugs related to highlighting (#15176, #12573, #15205).
* | | | | Merge pull request #15184 from bfredl/sunjonhlBjörn Linse2021-07-29
|\ \ \ \ \ | | | | | | | | | | | | feat(decorations): allow more than one stacked highlight in a virt_text
| * | | | | feat(decorations): deprecate nvim_buf_set_virtual_textBjörn Linse2021-07-29
| | | | | | | | | | | | | | | | | | | | | | | | Full virt_text functionality is provided by nvim_buf_set_extmark
| * | | | | refactor(decorations): merge the two different code paths for virt_textBjörn Linse2021-07-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test(bufhl): CHANGE of tested behaviour (inb4 a proper priority mechanism) test(decoration): change of test; previous behavior was buggy (ghost buffer text)
| * | | | | feat(decorations): allow more than one stacked highlight in a virt_textBjörn Linse2021-07-29
| | | | | |
* | | | | | feat(lsp): implement vim.lsp.diagnostic.redraw() (#15203)Gregory Anders2021-07-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new function to redraw diagnostics from the current diagnostic cache, without receiving a "publishDiagnostics" message from the server. This is already being done in two places in the Lua stdlib, so this function unifies that functionality in addition to providing it to third party plugins. An example use case for this could be a command or key-binding for toggling diagnostics virtual text. The virtual text configuration option can be toggled using `vim.lsp.with` followed by `vim.lsp.diagnostic.redraw()` to immediately redraw the diagnostics with the updated setting.
* | | | | | Merge pull request #15213 from zeertzjq/vim-8.2.3236Thomas Vigouroux2021-07-29
|\ \ \ \ \ \ | | | | | | | | | | | | | | vim-patch:8.2.3236: mode() does not indicate using CTRL-O in Select mode
| * | | | | | vim-patch:8.2.3236: mode() does not indicate using CTRL-O in Select modezeertzjq2021-07-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: mode() does not indicate using CTRL-O in Select mode. Solution: Use "vs" and similar. (closes vim/vim#8640) https://github.com/vim/vim/commit/eaf3f36168f85c8e0ab7083cd996b9fbe937045d
* | | | | | | chore: fix lsp bug issue templateChristian Clason2021-07-29
| | | | | | | | | | | | | | | | | | | | | correct description for expected behavior
* | | | | | | chore: fix bug issue template formChristian Clason2021-07-29
| |/ / / / / |/| | | | | | | | | | | description for "expected behavior" was wrongly attached to "actual behavior"
* | | | | | Merge pull request #15215 from bfredl/fix_15212Björn Linse2021-07-29
|\ \ \ \ \ \ | |/ / / / / |/| | | | | fix(decorations): crash when :bdelete (extmark_free_all) after clear_namespace
| * | | | | fix(decorations): crash when :bdelete (extmark_free_all) after clear_namespaceBjörn Linse2021-07-29
|/ / / / / | | | | | | | | | | | | | | | fixes #15212
* | | | | ci(labeler): adapt to new label namesChristian Clason2021-07-28
| | | | |
* | | | | ci: label PRs only the first time they're opened (#15209)dundargoc2021-07-28
| | | | | | | | | | | | | | | instead of on every change -- including removing erroneous labels
* | | | | ci(labeler): update label formatChristian Clason2021-07-28
|/ / / /
* | | | Merge pull request #15142 from neovim/marvim/api-doc-update/masterThomas Vigouroux2021-07-27
|\ \ \ \ | | | | | | | | | | docs: regenerate
| * | | | docs: regeneratemarvim2021-07-26
| | | | |
* | | | | Merge pull request #15197 from ↵Björn Linse2021-07-26
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | dundargoc/refactor/a-song-of-true-and-false/global-variables refactor: replace TRUE/FALSE with true/false
| * | | | refactor: replace TRUE/FALSE with true/falseDundar Göc2021-07-26
| | | | | | | | | | | | | | | | | | | | Focus is on global variables.
* | | | | feat(lsp): make list handlers configurable (#15199)Gregory Anders2021-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The handlers for textDocument/references, textDocument/documentSymbol, and workspace/symbol open their results in the quickfix list by default and are not configurable. They are also incompatible with `vim.lsp.with` as they do not accept a configuration parameter. Add a `config` parameter to the handler for these three messages which allows them to be configured with `vim.lsp.with`. Additionally, add a new configuration option 'loclist' that, when true, causes these handlers to open their results in the location list rather than the quickfix list.
* | | | | Merge pull request #15090 from kraftwerk28/masterThomas Vigouroux2021-07-26
|\ \ \ \ \ | | | | | | | | | | | | docs: fix typo in treesitter.txt
| * | | | | docs: fix typo in treesitter.txtkraftwerk282021-07-14
| | | | | |
* | | | | | Merge pull request #15180 from gpanders/xcallocThomas Vigouroux2021-07-26
|\ \ \ \ \ \ | | | | | | | | | | | | | | fix: fix incorrect call sites of xcalloc
| * | | | | | fix: fix incorrect call sites of xcallocGregory Anders2021-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The number of elements comes first and the size of each element second.
* | | | | | | Merge pull request #15191 from vigoux/ts-docsThomas Vigouroux2021-07-26
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | docs(ts): add documentation for listing fns
| * | | | | | | docs(ts): add documentation for listing fnsThomas Vigouroux2021-07-25
| | | | | | | |
* | | | | | | | chore: remove checkbox from issue templateChristian Clason2021-07-26
| |_|_|/ / / / |/| | | | | | | | | | | | | Checkboxes trigger "task lists", which add noise.
* | | | | | | Merge pull request #15151 from dundargoc/refactor/true-and-false-macroBjörn Linse2021-07-26
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | refactor: replace TRUE/FALSE macros with C99 true/false
| * | | | | | refactor: replace TRUE/FALSE macros with C99 true/falseDundar Göc2021-07-25
|/ / / / / /
* | | | | | Merge pull request #14311 from matveyt/nomode_ceBjörn Linse2021-07-25
|\ \ \ \ \ \ | | | | | | | | | | | | | | refactor(state): Remove EXMODE_NORMAL
| * | | | | | Remove EXMODE_NORMALmatveyt2021-07-23
| | | | | | |
* | | | | | | chore: PVS/V751: ignore warning #15153dundargoc2021-07-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There's already an ignore directive but it's placed on the wrong line. This commit should correct it.
* | | | | | | chore: added ccls-cache in .gitignore (#15175)Rishabh Dwivedi2021-07-25
| | | | | | |
* | | | | | | Merge pull request #14347 from theHamsta/list_directivesThomas Vigouroux2021-07-25
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | treesitter: add query.list_directives
| * | | | | | | doc: group documentation of predicates and directivesStephan Seitz2021-07-24
| | | | | | | |
| * | | | | | | treesitter: add query.list_directivesStephan Seitz2021-07-24
| | |/ / / / / | |/| | | | |
* | | | | | | chore: update LSP bug report with Github issue forms (#15159)dundargoc2021-07-25
| | | | | | |
* | | | | | | chore: update feature request template by using Github issue forms. (#15158)dundargoc2021-07-25
| | | | | | |
* | | | | | | chore: update bug report template by using Github's new issue forms (#15152)dundargoc2021-07-25
| | | | | | |
* | | | | | | Merge pull request #15178 from gpanders/masterBjörn Linse2021-07-25
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | fix: source syncolors.vim after startup scripts
| * | | | | | fix: source syncolors.vim after startup scriptsGregory Anders2021-07-24
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes an issue introduced in #14771 (fix: source syncolors.vim before startup scripts) that affected highlights for users who set 'background' to light in their startup script. Because syncolor.vim checks for the value of &background, it was always setting up the 'dark' background colors, which looked wrong for users using light backgrounds. The primary benefit of #14771 is that it decoupled highlighting from the syntax engine. This is useful for e.g. treesitter, which still makes use of highlights even if the syntax engine is disabled. For this reason, it is still worthwhile to source syncolor.vim separately from synload.vim, which #14771 accomplishes. However, we should still source syncolor.vim after the user startup scripts, to ensure that we are respecting the options the user sets. Another corollary benefit is that this reduces some redundancy in highlight definitions, since we now only source syncolors.vim if the user did not already enable a colorscheme.
* | | | | | Merge pull request #15169 from bfredl/freebsdfailBjörn Linse2021-07-24
|\ \ \ \ \ \ | | | | | | | | | | | | | | fix(ci): disable broken test on openbsd also on freebsd