aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | fix(terminfo): disable smglr for vtpcon and conemu (#18855)zeertzjq2022-06-05
| | |
| * | Merge pull request #18864 from bfredl/optcutbfredl2022-06-05
| |\ \ | | | | | | | | perf(tests): don't invoke nvim_get_all_options_info until needed
| | * | perf(tests): don't invoke nvim_get_all_options_info until neededbfredl2022-06-05
| | | | | | | | | | | | | | | | | | | | This call alone is responible of 40 000 000 out of 80 000 000 individual alloc/free calls in the test suite.
| * | | docs: specify CMAKE_BUILD_TYPE=RelWithDebInfo in README (#18859)dundargoc2022-06-05
| | | | | | | | | | | | | | | | | | | | | | | | There have been complaints about the installation instructions being inconsistent around the build type e.g. https://github.com/neovim/neovim/issues/18670#issuecomment-1146468741. Use CMAKE_BUILD_TYPE for both examples in the README.
| * | | Merge pull request #18861 from bfredl/norpluginbfredl2022-06-04
| |\ \ \ | | |/ / | |/| | fix(startup): nvim with --clean should not load user rplugins
| | * | fix(startup): nvim with --clean should not load user rpluginsbfredl2022-06-04
| |/ / | | | | | | | | | | | | runtime rplugins such like legacy script providers are not affected by this change.
| * | vim-patch:partial:cfa8f9a3f285 (#18858)Christian Clason2022-06-04
| | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/cfa8f9a3f285060152ebbdbf86fbc7aecf1dd756 skip syntax/vim.vim (needs 8.2.4770) skip doc/syntax.vim (needs several colorscheme patches) skip further rewrite of manual
| * | fix(lsp): set buflisted before switching to buffer (#18854)zeertzjq2022-06-04
| | |
| * | vim-patch:8.2.5054: no good filetype for conf files similar to dosini (#18851)Christian Clason2022-06-04
| | | | | | | | | | | | | | | Problem: No good filetype for conf files similar to dosini. Solution: Add the confini filetype. (closes vim/vim#10510) https://github.com/vim/vim/commit/635f48010dcf6d97f3a65b4785e1726ad386d3eb
| * | docs: fix typos (#18269)dundargoc2022-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Dan Sully <dan+github@sully.org> Co-authored-by: saher <msaher.shair@gmail.com> Co-authored-by: Stephan Seitz <stephan.seitz@fau.de> Co-authored-by: Benedikt Müller <d12bb@posteo.de> Co-authored-by: Andrey Mishchenko <mishchea@gmail.com> Co-authored-by: Famiu Haque <famiuhaque@protonmail.com> Co-authored-by: Oliver Marriott <hello@omarriott.com>
| * | fix(filetype): fix typo in starsetf function (#18856)Gregory Anders2022-06-03
| | |
| * | feat(lsp): send didChangeConfiguration after init (#18847)Mathias Fußenegger2022-06-03
| | | | | | | | | | | | | | | | | | | | | Most LSP servers require the notification to correctly load the settings and for those who don't it doesn't cause any harm. So far this is done in lspconfig, but with the addition of vim.lsp.start it should be part of core.
| * | fix(hl): set Normal hl group sg_attr value #18820Oliver Marriott2022-06-03
| | | | | | | | | fix #18024
| * | ci: use python3 explicitly to fix macos warnings #18837kylo2522022-06-03
| | | | | | | | | | | | | | | | | | > DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020 Testing `pynvim` compatibility with python2 should not be done in core, and there's only a provider_spec for python3 either way.
| * | Merge pull request #18848 from bfredl/backevenagainbfredl2022-06-03
| |\ \ | | | | | | | | fix(log): back even again
| | * | fix(log): back even againbfredl2022-06-03
| |/ /
| * | Merge pull request #18846 from bfredl/unpackfixbfredl2022-06-03
| |\ \ | | | | | | | | fix(api): some robustness issues in api_parse_enter
| | * | fix(api): some robustness issues in api_parse_enterbfredl2022-06-03
| | | |
| * | | feat(lsp): add a start function (#18631)Mathias Fußenegger2022-06-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A alternative/subset of https://github.com/neovim/neovim/pull/18506 that should be forward compatible with a potential project system. Configuration of LSP clients (without lspconfig) now looks like this: vim.lsp.start({ name = 'my-server-name', cmd = {'name-of-language-server-executable'}, root_dir = vim.fs.dirname(vim.fs.find({'setup.py', 'pyproject.toml'}, { upward = true })[1]), })
| * | | Merge pull request #18845 from bfredl/threadlogbfredl2022-06-03
| |\ \ \ | | |/ / | |/| | fix(logging): make logmsg() thread-safe again
| | * | fix(logging): make logmsg() thread-safe againbfredl2022-06-03
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | problem: data race when `recursive` is read outside of mutex by thread A while thread B has taken the mutex and modifies it. solution: use a recursive lock. ref #18764
| * | Merge pull request #18730 from bfredl/apiconvertbfredl2022-06-02
| |\ \ | | | | | | | | convert API types using mpack instead of msgpack
| | * | refactor(api): use a unpacker based on libmpack instead of msgpack-cbfredl2022-06-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently this is more or less a straight off reimplementation, but this allow further optimizations down the line, especially for avoiding memory allocations of rpc objects. Current score for "make functionaltest; make oldtest" on a -DEXITFREE build: is 117 055 352 xfree(ptr != NULL) calls (that's NUMBERWANG!).
| * | | fix(treesitter): correct region for string parser (#18794)Christian Clason2022-06-02
| |/ / | | | | | | fixes injections for string parsers after https://github.com/neovim/neovim/commit/eab4d03a3264b2afaf803ed839fa25bc4e7acedd
| * | build(deps): bump Luv to HEAD - 9f8038633 (#18834)Christian Clason2022-06-02
| | |
| * | fix(lua): stop pending highlight.on_yank timer, if any (#18824)Wsevolod2022-06-02
| | | | | | | | | | | | | | | When yanking another range while previous yank is still highlighted, the pending timer could clear the highlight almost immediately (especially when using larger `timeout`, i.e. 2000)
| * | Merge pull request #18831 from dundargoc/ci/disable-perl-macosbfredl2022-06-02
| |\ \ | | | | | | | | ci(provider): skip perl provider tests on macos
| | * | ci(provider): skip installing perl provider on macOSDundar Goc2022-06-01
| | | | | | | | | | | | | | | | | | | | The macOS CI jobs fail to properly install the perl provider, making the entire thing fail.
| * | | fix(inccommand): avoid crash if callback changes inccommand option (#18830)zeertzjq2022-06-02
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | clang: Result of operation is garbage or undefined clang: Uninitialized argument value Also check for == 's' instead of != 'n' as it is more straightforward. Also fix another unrelated PVS warning: PVS/V1071: Return value of win_comp_pos() is not always used
| * | fix(lsp): adjust offset encoding in lsp.buf.rename() (#18829)Fredrik Ekre2022-06-01
| | | | | | | | | | | | | | | | | | | | | | | | Fix a bug in lsp.buf.rename() where the range returned by the server in textDocument/prepareRename was interpreted as a byte range directly, instead of taking the negotiated offset encoding into account. This caused the placeholder value in vim.ui.input to be incorrect in some cases, for example when non-ascii characters are used earlier on the same line.
| * | fix(screen): restart win_update() if a decor provider changes signcols (#18768)zeertzjq2022-06-01
| | |
| * | refactor(clang-tidy): remove nested redundant ifdefs #18811dundargoc2022-06-01
| | |
| * | fix(checkhealth): skip vim.health #18816Javier Lopez2022-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: https://github.com/neovim/neovim/pull/18720#issuecomment-1142614996 The vim.health module is detected as a healthcheck, which produces spurious errors: vim: require("vim.health").check() ======================================================================== - ERROR: Failed to run healthcheck for "vim" plugin. Exception: function health#check, line 20 Vim(eval):E5108: Error executing lua [string "luaeval()"]:1: attempt to call field 'check' (a nil value) stack traceback: [string "luaeval()"]:1: in main chunk Solution: Skip vim.health when discovering healthchecks.
| * | refactor: correct comments and assertions about mapping rhs <Nop> (#18821)zeertzjq2022-06-01
| | | | | | | | | | | | | | | | | | | | | | | | Also avoid referring to mappings as "keymaps" in commands and docs. *map_empty_rhs* *map-empty-rhs* You can create an empty {rhs} by typing nothing after a single CTRL-V (you have to type CTRL-V two times). Unfortunately, you cannot do this in a vimrc file.
| * | fix(inccommand): do not try to preview an ambiguous command (#18827)zeertzjq2022-06-01
| | |
| * | Merge pull request #18583 from gpanders/path-rootGregory Anders2022-05-31
| |\ \ | | | | | | | | feat(fs): add vim.fs module
| | * | feat(fs): add vim.fs.normalize()Gregory Anders2022-05-31
| | | |
| | * | feat(fs): add vim.fs.find()Gregory Anders2022-05-31
| | | | | | | | | | | | | | | | | | | | This is a pure Lua implementation of the Vim findfile() and finddir() functions without the special syntax.
| | * | feat(fs): add vim.fs.dir()Gregory Anders2022-05-31
| | | | | | | | | | | | | | | | | | | | This function is modeled after the path.dir() function from Penlight and the luafilesystem module.
| | * | feat(fs): add vim.fs.basename()Gregory Anders2022-05-31
| | | |
| | * | feat(fs): add vim.fs.dirname()Gregory Anders2022-05-31
| | | |
| | * | feat(fs): add vim.fs.parents()Gregory Anders2022-05-31
| |/ / | | | | | | | | | | | | vim.fs.parents() is a Lua iterator that returns the next parent directory of the given file or directory on each iteration.
| * | refactor(checkhealth)!: rename to vim.health, move logic to Lua #18720Javier Lopez2022-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Complete function: There was lots of unnecessary C code for the complete function, therefore moving it to Lua and use all the plumbing we have in place to retrieve the results. - Moving the module: It's important we keep nvim lua modules name spaced, avoids conflict with plugins, luarocks, etc.
| * | Merge pull request #18194 from famiu/feat/usercmd_previewbfredl2022-05-31
| |\ \ | | | | | | | | feat: user command "preview" (like inccommand)
| | * | feat: add preview functionality to user commandsFamiu Haque2022-05-31
| | | | | | | | | | | | | | | | Adds a Lua-only `preview` flag to user commands which allows the command to be incrementally previewed like `:substitute` when 'inccommand' is set.
| * | | Merge pull request #18219 from kessejones/filetype-luaGregory Anders2022-05-31
| |\ \ \ | | | | | | | | | | feat(filetype): add more filetype patterns to Lua
| | * | | feat(filetype): convert more patterns to filetype.luaChristian Clason2022-05-30
| | | | |
| | * | | test(oldtest): disable legacy detect for filetype.luaChristian Clason2022-05-30
| | | | |
| * | | | vim-patch:8.2.5046: vim_regsub() can overwrite the destination (#18812)zeertzjq2022-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | Problem: vim_regsub() can overwrite the destination. Solution: Pass the destination length, give an error when it doesn't fit. https://github.com/vim/vim/commit/4aaf3e7f4db599932d01d87e5bbcdc342cccee27
| * | | | fix(lsp): include cancellable in progress message table (#18809)Chris Kipp2022-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the `title`, `message` and `percentage` is stored for a progress, but there is also an optional `cancellable` that comes in with both the `WorkDoneProgressBegin` and also `WorkDoneProgressReport`. This change also stores that value so that a plugin can access it when they do a lookup in `client.messages`.