aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | vim-patch:9.0.1256: NetworkManager connection files are not recognized (#22038)Christian Clason2023-01-29
| | | | | | | | | | | | | | | | | | | | | | | | Problem: NetworkManager connection files are not recognized. Solution: Add a pattern for NetworkManager connection files. (closes vim/vim#11893) https://github.com/vim/vim/commit/04e4f1d98556e67d7337224b67b71c828410ee0f Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
* | | vim-patch:9.0.1255: changing 'virtualedit' does not have immediate effect ↵zeertzjq2023-01-29
|/ / | | | | | | | | | | | | | | | | | | (#22039) Problem: Changing 'virtualedit' does not have immediate effect. Solution: Correct how is checked for a changed value. (closes vim/vim#11878) https://github.com/vim/vim/commit/8fe5b9c8c1223861cec0484ccc031858ae08d107 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | fix(fileio.c): don't use uninitialized memory (#22031)zeertzjq2023-01-28
| |
* | build: enable ccache by default if available (#22020)dundargoc2023-01-28
| | | | | | | | | | | | | | | | Initial benchmarks show that this gives a nice 50% compile time reduction for neovim. This shouldn't affect users or CI, but it's a nice speedup for local development. The C_COMPILER_LAUNCHER target property is only supported by Makefiles and Ninja generators only, so this won't give a speedup when using the Xcode and Visual Studio generators even if ccache is available.
* | build(deps): bump unibilium to d72c3598e7ac5d1ebf86ee268b8b4ed95c0fa628 (#22019)Christian Clason2023-01-27
| | | | | | actually use build system improvements
* | build: fix dependencies in find modules (#22017)dundargoc2023-01-27
| | | | | | | | Find modules should only link to libraries defined in the find module, and not the main project. This helps the find modules be more self-contained and easier to understand.
* | docs(api): tweak data arg for nvim_create_autocmd (#22008)Lewis Russell2023-01-27
| | | | | | Fixes #21964
* | Merge pull request #21994 from lewis6991/refactor/option_setLewis Russell2023-01-27
|\ \
| * | refactor(option.c): factor out string option special case handlingLewis Russell2023-01-27
| | |
| * | refactor(option.c): factor out some nextchar checksLewis Russell2023-01-27
| | |
| * | refactor(option.c): add do_set_option_valueLewis Russell2023-01-26
| | |
| * | refactor(option.c): move bool prefix checkLewis Russell2023-01-26
| | |
| * | refactor(option.c): de-nest code in do_set_optionLewis Russell2023-01-26
| | |
| * | refactor(option.c): factor out opt_idx validationLewis Russell2023-01-26
| | |
| * | refactor(option.c): factor out option name parsingLewis Russell2023-01-26
| | |
| * | refactor(option.c): factor out option prefix parsingLewis Russell2023-01-26
| | |
| * | refactor(option.c): factor out set op parsingLewis Russell2023-01-26
| | |
| * | refactor(option.c): use skiptowhite_escLewis Russell2023-01-26
| | |
| * | refactor(option.c): change nextchar to uint8_tLewis Russell2023-01-26
| | |
| * | refactor(option.c): remove gotoLewis Russell2023-01-26
| | |
| * | refactor(option.c): int -> boolLewis Russell2023-01-26
| | |
| * | refactor(option.c): reduce scope or startargLewis Russell2023-01-26
| | |
| * | refactor(option.c): reduce scope or errbufLewis Russell2023-01-26
| | |
| * | refactor(option.c): reduce scope or errmsgLewis Russell2023-01-26
| | |
| * | refactor(option.c): factor out loop code from do_set()Lewis Russell2023-01-26
| | |
| * | refactor(option.c): factor out common skip checkLewis Russell2023-01-26
| | |
| * | refactor(option.c): simplify do_set_stringLewis Russell2023-01-26
| | |
| * | refactor(option.c): add do_set_boolLewis Russell2023-01-26
| | |
| * | refactor(option.c): add do_set_numLewis Russell2023-01-26
| | |
* | | build: find unibilium without relying on libfindmacros (#22015)dundargoc2023-01-27
| | | | | | | | | | | | This will remove the warning about the find module not providing a version.
* | | fix(test): unset XDG_CONFIG_HOME when running oldtestLewis Russell2023-01-27
| | | | | | | | | | | | - also fix test_taglist.vim for users running with a tags file created in runtime/doc
* | | build: check if libvterm version meets requirement (#22010)dundargoc2023-01-26
| | | | | | | | | | | | The vterm.h file only specifies major and minor version, but not patch, meaning that requiring a specific patch number isn't currently possible.
* | | refactor(fileio.c): reduce scope of localsLewis Russell2023-01-26
| | |
* | | vim-patch:9.0.1246: code is indented more than necessary (#22006)zeertzjq2023-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Code is indented more than necessary. Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, closes vim/vim#11887) https://github.com/vim/vim/commit/142ed77898facf8f423fee2717efee1749c55f9a Omit function_using_block_scopes(): only affects Vim9 script. Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
* | | docs: clarify :runtime behavior without [where] again (#22003)zeertzjq2023-01-26
| | | | | | | | | | | | The behavior changed again after #15867, change the docs to describe latest behavior.
* | | test: exepath() returns correct path with cmd.exe, powershell #21928Anton Kriese2023-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test(exepath): test if exepath returns correct path with multiple Windows shells This test covers the changes from #21175 where exepath() is set to prefer file extensions in powershell.exe aswell as in cmd.exe. In both shells, the file with a valid extension should be returned instead of the extensionless file.
* | | Merge pull request #22002 from zeertzjq/vim-9.0.1227zeertzjq2023-01-26
|\ \ \ | | | | | | | | vim-patch:9.0.{1227,1231,1238,1242}: cmdline completion for :runtime
| * | | test: add test for :runtime completion for .luazeertzjq2023-01-26
| | | |
| * | | vim-patch:9.0.1242: code for :runtime completion is not consistentzeertzjq2023-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Code for :runtime completion is not consistent. Solution: Make code for cmdline expansion more consistent. (closes vim/vim#11875) https://github.com/vim/vim/commit/b0d45ec67f4976318f199a7929ad3bcf93686fd0
| * | | vim-patch:9.0.1238: :runtime completion can be further improvedzeertzjq2023-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: :runtime completion can be further improved. Solution: Also complete the {where} argument values and adjust the completion for that. (closes vim/vim#11874) https://github.com/vim/vim/commit/5c8771bc5a2be123ab8e6325fa60ed524e8efb09
| * | | vim-patch:9.0.1231: completion of :runtime does not handle {where} argumentzeertzjq2023-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Completion of :runtime does not handle {where} argument. Solution: Parse the {where} argument. (closes vim/vim#11863) https://github.com/vim/vim/commit/3770f4c9cde7b5fcd10b6fa2e665cd0b69450fb2
| * | | vim-patch:9.0.1227: no cmdline completion for :runtimezeertzjq2023-01-26
|/ / / | | | | | | | | | | | | | | | | | | | | | Problem: No cmdline completion for :runtime. Solution: Add completion for :runtime. (closes vim/vim#11853, closes vim/vim#11447) Improve the resulting matches. https://github.com/vim/vim/commit/a6759381a590b2d395e05b109ca9ccfc356be5a8
* | | refactor(intro): avoid Coverity warning (#22000)zeertzjq2023-01-26
| | | | | | | | | | | | | | | | | | refactor(intro): avoid coverity warning Problem: Coverity warns about overwriting "mesg" leaking memory. Solution: Make it clear that "mesg" will not be overwritten.
* | | refactor(options): don't pass negative number to illegal_char() (#21999)zeertzjq2023-01-26
| | | | | | | | | | | | | | | | | | | | | This only changes the error messages for an unexpected Unicode char in an option to show its first byte instead of some special keycode. The second argument of vim_strchr() usually doesn't matter, but it may be better to consistently cast to uint8_t.
* | | vim-patch:9.0.1245: code is indented more than necessary (#21998)zeertzjq2023-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Code is indented more than necessary. Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, closes vim/vim#11879) https://github.com/vim/vim/commit/032713f8299abd92fcfb1e490d1ae5c1ecadde41 Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
* | | vim-patch:9.0.1243: :setglobal cannot use script-local function for "expr" ↵zeertzjq2023-01-26
| | | | | | | | | | | | | | | | | | | | | | | | option (#21997) Problem: :setglobal cannot use script-local function for "expr" option. Solution: Use the pointer to the option value properly. (closes vim/vim#11883) https://github.com/vim/vim/commit/01d4efe2e87632aa085897d3d64e27585908f977
* | | vim-patch:9.0.1244: cursor displayed in wrong position when leaving Insert ↵zeertzjq2023-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mode (#21996) Problem: Cursor briefly displayed in a wrong position when pressing Esc in Insert mode after autoindent was used. Solution: Do not adjust the cursor position for assumed deleted white space if text is following. (closes vim/vim#11877) https://github.com/vim/vim/commit/0f843ef091eceb470caece1d90fdfe08926fe076 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | | build: use cmake to build libvterm on all platform (#21986)dundargoc2023-01-26
| | | | | | | | | | | | | | | | | | | | | | | | Also remove Libvterm-tbl2inc_c.cmake as it's not required. It's used to generate files that are already provided by the Libvterm project by default. It's also not really something we need to concern ourselves with as it's more of an authoring tool for the Libvterm creator as mentioned in https://github.com/neovim/neovim/pull/21986#issuecomment-1403733054.
* | | ci: fix lintc to use external dependencies instead of bundled (#21995)dundargoc2023-01-25
| | | | | | | | | | | | | | | | | | | | | Use the bundled libvterm dependency as the external package is outdated, with the hopes of being able to use the external package once its version meets our required version. Co-authored-by: Christian Clason <c.clason@uni-graz.at>
* | | fix(man.lua): open in current window if it's already a man page (#21987)0xAdk2023-01-25
|/ / | | | | This matters when there are multiple man page windows open.