Commit Graph

16662 Commits

Author SHA1 Message Date
Jan Edmund Lazo
480b04122e
Merge pull request #13321 from seandewar/vim-8.2.2011
vim-patch:8.2.{2006,2011}
2020-11-19 23:34:13 -05:00
Jan Edmund Lazo
da4e7ed4e9
Merge pull request #13330 from adrian5/filetype-gitcommit
runtime: Patch gitcommit.vim syntax
2020-11-19 23:19:08 -05:00
adrian5
9e405c44b9 gitcommit.vim: patch runtime/syntax to c08ee7476b1
vim/vim@c08ee7476b
2020-11-20 02:44:05 +01:00
adrian5
dee5dfd930 gitcommit.vim: patch runtime/ftplugin to c08ee7476
vim/vim@c08ee7476b
2020-11-20 02:39:43 +01:00
Sean Dewar
b0f967a06e vim-patch:8.2.2011: "syn sync" reports a very large number
Problem:    "syn sync" reports a very large number.
Solution:   Use "at the first line".
9950280d37
2020-11-19 17:35:51 +00:00
Sean Dewar
a18f050e51 vim-patch:8.2.2006: .pbtxt files are not recognized
Problem:    .pbtxt files are not recognized.
Solution:   Recognize .pbtxt as protobuf text buffers. (closes vim/vim#7326)
88774a30c0
2020-11-19 17:35:41 +00:00
Björn Linse
ad56527247
Merge pull request #13319 from bfredl/bfredlpackages
startup: load files from the "start" directory of each entry in 'packpath' (as documented)
2020-11-19 15:36:44 +01:00
Björn Linse
a119fe15da startup: load files from &packpath . '/start/{pluginname}'
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.
2020-11-19 14:31:07 +01:00
Björn Linse
569e5c86bf
Merge pull request #13316 from bfredl/vim-8.2.2005
vim-patch:8.2.2005: redoing a mapping with <Cmd> doesn't work properly
2020-11-18 19:45:40 +01:00
Thomas Vigouroux
790fd58714
Merge pull request #13318 from tjdevries/fix_vigouxs_segfaulting_mistakes
fix: NULL segfaults brought to you by @vigoux
2020-11-18 18:43:02 +01:00
TJ DeVries
2f8eaad6d8 fix: NULL segfaults brought to you by @vigoux 2020-11-18 11:16:38 -05:00
Björn Linse
147917369e vim-patch:8.2.2005: redoing a mapping with <Cmd> doesn't work properly
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)
c77534c303
2020-11-18 15:09:17 +01:00
Björn Linse
8c4648421a
Merge pull request #13308 from Shougo/vim-8.2.1995
vim-patch:8.2.1995: the popup menu can cause too much redrawing
2020-11-17 15:25:11 +01:00
Shougo Matsushita
b98348258d vim-patch:8.2.1995: the popup menu can cause too much redrawing
Problem:    The popup menu can cause too much redrawing.
Solution:   Reduce the length of the displayed text. (Yasuhiro Matsumoto,
            closes vim/vim#7306)
714cbe5b21
2020-11-17 14:42:29 +09:00
James McCoy
ce70edb80e
Merge pull request #13302 from blueyed/fix-deps-luv-static
deps: fix BuildLuv without bundled libuv
2020-11-16 18:58:22 -05:00
Björn Linse
dd48198e62
Merge pull request #13303 from vigoux/fix-13298
fix(floatwin): don't always use winheight
2020-11-16 21:23:09 +01:00
Thomas Vigouroux
ba21ea51b0
Merge pull request #13304 from rockerBOO/docs-fix-nvim_lsp-lspconfig
docs: Change nvim_lsp to lspconfig
2020-11-16 19:07:23 +01:00
rockerBOO
2fb778c2ae docs: Change nvim_lsp to lspconfig 2020-11-16 11:35:34 -05:00
Thomas Vigouroux
6a2cd57886
fix(floatwin): don't always use winheight 2020-11-16 14:37:24 +01:00
Daniel Hahler
4c6628a7eb deps: fix BuildLuv without bundled libuv
Fixes:

    % rm -rf .deps
    % cmake -DUSE_BUNDLED_LUV=ON -DUSE_BUNDLED=OFF -S third-party -B .deps
    % cmake --build .deps
    ...
    [ 50%] Building C object CMakeFiles/luv.dir/src/luv.c.o
    /home/daniel/Vcs/neovim/.deps/build/src/luv/src/luv.c:20:10: fatal error: c-api/compat-5.3.h: No such file or directory
       20 | #include "c-api/compat-5.3.h"
          |          ^~~~~~~~~~~~~~~~~~~~
    compilation terminated.

This was broken since 78f1eccc8, where apparently the `LUA_COMPAT53_DIR`
was defined in a wrong location.
2020-11-16 13:52:50 +01:00
Thomas Vigouroux
6169167f90
Merge pull request #13300 from rockerBOO/docs-nvim_lsp-to-lspconfig
docs: Update nvim_lsp to lspconfig
2020-11-16 11:33:05 +01:00
rockerBOO
ecbcca44e7 docs: Update ISSUE_TEMPLATE for lsp_bug_report 2020-11-16 03:47:23 -05:00
rockerBOO
fb19663851 docs: Follow conventions 2020-11-16 01:13:15 -05:00
rockerBOO
46ab054b1d docs: Update nvim_lsp to lspconfig 2020-11-16 01:10:55 -05:00
Matthieu Coudron
1b8867ab39
Merge pull request #13293 from janlazo/vim-8.2.1976
vim-patch:8.2.{1979,1981,1982,1985,1987}
2020-11-15 18:18:12 +01:00
James McCoy
bcadf324cb
Merge pull request #13297 from jamessan/github-actions 2020-11-15 09:17:49 -05:00
James McCoy
af88b0891e
GHA: Add tsan job to the matrix 2020-11-14 21:29:02 -05:00
James McCoy
3b0a729f9c
GHA: Use matrix to de-duplicate workflow definition
The general skeleton of each job is the same, so consolidate the
definition to a single job with an explicit matrix.

Use conditional steps to handle steps that are unique to a certain job
(e.g., installing clang-11 for better ASAN support).
2020-11-14 21:29:02 -05:00
James McCoy
392ec5a43f
ci: Remove $CCACHE_CPP2
The env var is being set to the default value, as of ccache 3.3, which
is available in Zesty and newer.  All of our CI is using Bionic, so this
is already available.
2020-11-14 21:28:59 -05:00
James McCoy
5271f1e2c9
GHA: Move env var setup into env.sh to keep it DRY 2020-11-14 21:28:12 -05:00
Jan Edmund Lazo
87aaa8e837
globals: eliminate "enc_utf8" macro
"enc_utf8" macro evaluates to "true".
Continue dead code removal, started in https://github.com/neovim/neovim/pull/13275.
2020-11-14 17:23:51 -05:00
Jan Edmund Lazo
35874208b8
globals: eliminate "has_mbyte" macro
"has_mbyte" always evaluates to "true".
Continue dead code removal, started in https://github.com/neovim/neovim/pull/13275.
2020-11-14 17:23:51 -05:00
Jan Edmund Lazo
78c380f947
vim-patch:8.2.1982: quickfix window now updated when adding invalid entries
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)
2ce7790348

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)
47c5ea44b9

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)
8496c9eadb

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)
02764713a7

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)
6453cc8078
2020-11-14 17:23:48 -05:00
James McCoy
39b3eb34c2
ci: Install gem binaries to ~/.local/bin
That directory is already part of `$PATH`, so let's reuse it instead of
trying to figure what version-specific path binaries gem normally uses.
2020-11-14 17:23:35 -05:00
Mathias Fußenegger
0798ad3a3a
lsp: Expose all diagnostics (#13285)
* lsp: Remove duplicate `diagnostics` fallback in diagnostic.display

* lsp: Expose all diagnostics

Before the changes in #12655 it was possible to retrieve all diagnostics
via `vim.lsp.util.diagnostics_by_buf`.

This adds a `diagnostic.get_all()` to enable users to retrieve all
diagnostics.

Use cases for that could include loading all diagnostics into the
quickfix list, or to build an enhanced goto_next that can move across
buffers.
2020-11-14 14:39:05 -05:00
Matthieu Coudron
27d630926c
Merge pull request #13275 from janlazo/vim-8.1.0805
vim-patch:8.1.{805,806,809,810,811}
2020-11-14 19:35:26 +01:00
Jan Edmund Lazo
d8c69adbab
Merge pull request #12698 from erw7/fix-popupmenu-with-rl
ui: fix problem with the popupmenu when rightleft is set
2020-11-13 23:09:57 -05:00
James McCoy
7c4f349661
Merge pull request #13287 from jamessan/github-actions 2020-11-13 14:13:42 -05:00
Alvaro Muñoz
aaca2c1c4d
feat(lua): improve error message to make it actionable (#13276)
* improve error message to make it actionable
2020-11-13 19:50:03 +01:00
James McCoy
7ac3c39e39
README: Replace Travis CI badge with GH Linux CI 2020-11-13 13:38:13 -05:00
James McCoy
c96acac4d3
GHA: Invalidate cache if cmake files or third-party/ change 2020-11-13 13:38:12 -05:00
James McCoy
25a8385cd1
ci: Rename travis_fold to ci_fold and add GHA support 2020-11-13 13:38:12 -05:00
James McCoy
eb96bec4bb
ci/before_script.sh: Remove early exit for lint job
lualint requires building dependencies, so allow the job to take
advantage of the cache.
2020-11-13 13:36:58 -05:00
James McCoy
c7443b82a9
GHA: Update cache directory if all steps succeeded 2020-11-13 13:36:58 -05:00
James McCoy
ef0d558a3b
GHA: Include ccache output in cache 2020-11-13 13:36:58 -05:00
James McCoy
f23b906ddd
GHA: Skip tests that fail due to actions/runner#241 2020-11-13 13:36:57 -05:00
James McCoy
808eb44f4a
GHA: Add ~/.local/bin to $PATH 2020-11-13 13:36:57 -05:00
James McCoy
e2e032a52a
GHA: Add lint job to Linux workflow 2020-11-13 13:36:57 -05:00
James McCoy
eb2aaed5cc
Add Linux ASAN GitHub Action 2020-11-13 13:36:56 -05:00
James McCoy
d0714e87d6
build: Rename TRAVIS_BUILD_DIR to CI_BUILD_DIR 2020-11-13 13:36:56 -05:00