aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | refactor(optionstr.c): align comments (#22070)zeertzjq2023-02-01
| | | | | | | | | Align comments in did_set_string_option_for() at column 57.
* | | Merge pull request #17537 from bfredl/neoluabfredl2023-01-31
|\ \ \ | | | | | | | | refactor(tests): run unittests using main nvim binary - delete separate nvim-test build
| * | | refactor(tests): run unittests using main nvim binary in interpreter modebfredl2023-01-31
| | | | | | | | | | | | | | | | This allows us to get rid of the separate "nvim-test" target
| * | | fix(test): fix issues detected by running unittests in ASAN/UBSANbfredl2023-01-31
| | | |
| * | | feat(lua): low-level interpreter mode (nvim -ll)bfredl2023-01-31
| | | |
* | | | Merge pull request #22005 from clason/sanitize-langChristian Clason2023-01-31
|\ \ \ \ | |/ / / |/| | | fix(treesitter): validate language name
| * | | fix(treesitter): validate language nameChristian Clason2023-01-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Some injections (like markdown) allow specifying arbitrary language names for code blocks, which may be lead to errors when looking for a corresponding parser in runtime path. Solution: Validate that the language name only contains alphanumeric characters and `_` (e.g., for `c_sharp`) and error otherwise.
* | | | Merge pull request #22068 from bfredl/lsptestbfredl2023-01-31
|\ \ \ \ | |_|_|/ |/| | | fix(tests): use -l mode for lsp tests
| * | | fix(tests): use -l mode for lsp testsbfredl2023-01-31
|/ / / | | | | | | | | | | | | This fixes "fake server" from leaking memory, which makes ASAN very upset, except on current ASAN CI for some reason.
* | | vim-patch:9.0.1263: KDL files are not recognized (#22058)Christian Clason2023-01-31
| | | | | | | | | | | | | | | | | | | | | | | | Problem: KDL files are not recognized. Solution: Add a pattern for KDL files. (Amaan Qureshi, closes vim/vim#11898) https://github.com/vim/vim/commit/907349a74331fc1bc48cf43c1e7d54cb9e0e4fc9 Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
* | | fix(highlight): properly deal with underline mask when listing (#22057)zeertzjq2023-01-31
| | |
* | | refactor!: remove has("debug") (#22060)dundargoc2023-01-30
| | | | | | | | | | | | | | | This value can not be relied on as it doesn't work for multi-configuration generators. I don't think this undocumented option is used much, if at all, so I think we should remove it.
* | | build: add uninstall make target (#22059)dundargoc2023-01-30
| | | | | | | | | | | | We already have a "make install", it makes sense to also have a "make uninstall".
* | | build(luarocks): update busted version to v2.1.1 (#22029)zeertzjq2023-01-30
| | |
* | | build(bump_deps.lua): run command -v in shell (#22030)zeertzjq2023-01-30
| | | | | | | | | | | | | | | | | | | | | When I run ./scripts/bump_deps.lua I get an error: Vim:E475: Invalid value for argument cmd: 'command' is not executable Running command -v in shell fixes this.
* | | vim-patch:9.0.1261: Elsa files are not recognized (#22047)Amaan Qureshi2023-01-29
| | | | | | | | | | | | | | | | | | Problem: Elsa files are not recognized. Solution: Add the name of Elsa files. (Amaan Qureshi) https://github.com/vim/vim/commit/2a99fe6c41efcd5d1eb47823e7e73cf391e230ba
* | | ci(news): mention that ignoring news.txt is fine (#22043)dundargoc2023-01-29
| | | | | | | | | | | | news.txt is only meant as a reminder, but contributors have no way of knowing this automatically without such a message.
* | | build: enable ccache project-wide (#22045)dundargoc2023-01-29
| | | | | | | | | | | | | | | | | | Currently, only the nvim target uses ccache but not libnvim or unittests. It is generally a good idea to operate on targets rather than globally, but this is an exception as there isn't a target where we don't want to use ccache on.
* | | 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.