aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | fix(treesitter): is_in_node_range (#22582)Lewis Russell2023-03-08
| | | | | | | | TS ranges are end column exclusive, so fix is_in_node_range to account for that.
* | vim-patch:9.0.1395: Odin files are not recognized (#22580)Amaan Qureshi2023-03-09
| | | | | | | | | | | | Problem: Odin files are not recognized. Solution: Add a pattern for Odin files. (Amaan Qureshi, closes vim/vim#12122) https://github.com/vim/vim/commit/638388b8ef37684e36a7f5d9286bab2d31c28f36
* | vim-patch:9.0.1394: Unx Tal files are not recognized (#22579)Amaan Qureshi2023-03-09
| | | | | | | | | | | | Problem: Unx Tal files are not recognized. Solution: Add a pattern for Unx Tal files. (Amaan Qureshi, closes vim/vim#12117) https://github.com/vim/vim/commit/cde1f8714ed2c046aa770c46229e781380122bd7
* | Revert "refactor(treesitter): delegate region calculation to treesitter" ↵Lewis Russell2023-03-08
| | | | | | | | | | | | | | (#22575) Revert "refactor(treesitter): delegate region calculation to treesitter (#22553)" This reverts commit 276b647fdba07bf1762d8dd371c4b655b8a418df.
* | refactor(treesitter): delegate region calculation to treesitter (#22553)Lewis Russell2023-03-08
| |
* | ci(news): don't run on draft (#22574)Christian Clason2023-03-08
| |
* | feat(treesitter): use upstream format for injection queriesLewis Russell2023-03-08
| |
* | vim-patch:8.2.3741: using freed memory in open command (#22568)zeertzjq2023-03-08
| | | | | | | | | | | | | | | | Problem: Using freed memory in open command. Solution: Make a copy of the current line. https://github.com/vim/vim/commit/e031fe90cf2e375ce861ff5e5e281e4ad229ebb9 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | test(old): move memfile_test.c to test/old/ (#22567)zeertzjq2023-03-08
| |
* | Merge pull request #22561 from bfredl/cmakeinstallbfredl2023-03-07
|\ \ | | | | | | refactor(build): make installation of runtime/ more effective
| * | refactor(build): make installation of runtime/ more effectivebfredl2023-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently files to install in runtime/ is detected by recursive glob pattern which has two problems: - cmake needs to do a of work at config time and build/runtime/cmake_install.cmake becomes HUGE (2.5MB, biggest config file) - we need to explicitly specify each file suffix used in the entire runtime, which is duplication of information. These globs specify every single file in a subdirectory. Thus, we can just install every runtime/ subdirectory as a single install command. Furthermore, at the top-level, only .vim and .lua files need to be installed. Further possible refactor: we could move files which does not belong in $PREFIX/runtime out of $REPO/runtime. Then runtime could be installed with a single install_helper(DIRECTORY ...) command.
* | | fix(lsp): change LspTokenUpdate to use buffer instead of pattern (#22559)jdrouhard2023-03-07
| |/ |/|
* | Merge #22503 from eriks47/man-spacesJustin M. Keyes2023-03-07
|\ \ | | | | | | feat(man.lua): support spaces in manpage names
| * | fix(man.lua): tests, namingJustin M. Keyes2023-03-07
| | |
| * | feat(man.lua): support spaces in manpage namesEriks Muhins2023-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: :Man command errors if given more than two arguments. Thus, it is impossible to open man pages that contain spaces in their names. Solution: Adjust :Man so that it tries variants with spaces and underscores, and uses the first found.
* | | refactor(runtime): use vim.version to compare versions #22550Justin M. Keyes2023-03-07
|/ / | | | | | | | | | | | | TODO: Unfortunately, cannot (yet) use vim.version for tmux version comparison, because `vim.version.parse(…,{strict=false})` does not coerce tmux's funny "tmux 3.3a" version string. https://github.com/neovim/neovim/blob/6969d3d7491fc2f10d80309b26dd0c26d211b1b3/runtime/autoload/provider/clipboard.vim#L148
* | Merge pull request #22558 from zeertzjq/vim-8.2.3969zeertzjq2023-03-07
|\ \
| * | vim-patch:partial:944697ae196zeertzjq2023-03-07
| | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/944697ae19683441981539cd4d2469df89d6ec82 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * | vim-patch:8.2.3969: value of MAXCOL not available in Vim scriptzeertzjq2023-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Value of MAXCOL not available in Vim script. Solution: Add v:maxcol. (Naohiro Ono, closes vim/vim#9451) https://github.com/vim/vim/commit/56200eed62e59ad831f6564dcafe346e6f97ac20 The variable is always 2147483647, but introducing it makes functions easier to document. Co-authored-by: naohiro ono <obcat@icloud.com>
* | | build!: make libintl a required dependencydundargoc2023-03-07
| |/ |/| | | | | Libintl being an optional dependency is not by design, but a workaround as it didn't use work on all platforms. That should be fixed by now.
* | docs(lsp): change type annotations from number → integer (#22510)Jaehwang Jung2023-03-07
|/
* docs(gitignore): correct oldtest pathzeertzjq2023-03-07
|
* test: move oldtests to test directory (#22536)dundargoc2023-03-07
| | | | | The new oldtest directory is in test/old/testdir. The reason for this is that many tests have hardcoded the parent directory name to be 'testdir'.
* fix(column): issues with 'statuscolumn' width (#22542)luukvbaal2023-03-07
| | | | | | | | Problem: 'statuscolumn' width can be incorrect when toggling 'number' or setting 'statuscolumn'. Solution: Make sure the width is reset and re-estimated when 'statuscolumn' and 'number' are set. (When 'relativenumber' is set this already happens because it always changes "nrwidth_line_count".)
* Merge pull request #13834 from bfredl/omniluabfredl2023-03-07
|\ | | | | omnifunc for builtin lua
| * feat(lua): omnifunc for builting lua interpreterBjörn Linse2023-03-06
| | | | | | | | | | | | | | also make implicit submodules "uri" and "_inspector" work with completion this is needed for `:lua=vim.uri_<tab>` wildmenu completion to work even before uri or _inspector functions are used.
* | build: enable unit testing on release builds (#22554)dundargoc2023-03-06
| | | | | | | | | | | | | | Unittests not working on release builds can lead to confusing situations, such as contributors wondering why their tests aren't working if they forgot they've built with a release build. This only increased the Release executable size by 8 kB on my personal machine, which is an acceptable tradeoff.
* | feat(lsp)!: add rule-based sem token highlighting (#22022)swarn2023-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | feat(lsp)!: change semantic token highlighting Change the default highlights used, and add more highlights per token. Add an LspTokenUpdate event and a highlight_token function. :Inspect now shows any highlights applied by token highlighting rules, default or user-defined. BREAKING CHANGE: change the default highlight groups used by semantic token highlighting.
* | fix(diff): add NULL checkLewis Russell2023-03-06
| |
* | Merge #22325 vim.version semver parserJustin M. Keyes2023-03-06
|\ \
| * | fix(vim.version): incorrect version.cmp()Justin M. Keyes2023-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: If major<major but minor>minor, cmp_version_core returns 1 Solution: - Fix logic in cmp_version_core - Delete most eq()/gt()/lt() tests, they are redundant.
| * | refactor(vim.version): cleanupJustin M. Keyes2023-03-06
| | | | | | | | | | | | | | | | | | | | | - version.cmp(): assert valid version - add test for loading vim.version (the other tests use shared.lua in the test runner) - reduce test scopes, reword test descriptions
| * | feat(lua): add semver apiKelly Lin2023-03-06
|/ /
* | refactor(treesitter): simplify some range functionsLewis Russell2023-03-06
| |
* | vim-patch:9.0.1386: options test fails with some window width (#22548)zeertzjq2023-03-06
| | | | | | | | | | | | Problem: Options test fails with some window width. Solution: Adjust what text the test checks with. (closes vim/vim#12111) https://github.com/vim/vim/commit/30585e03a7ce6cf985f93ca30275bf4dae0d87cc
* | vim-patch:9.0.1385: g'Esc is considered an error (#22544)zeertzjq2023-03-06
| | | | | | | | | | | | Problem: g'Esc is considered an error. Solution: Make g'Esc silently abandon the command. (closes vim/vim#12110) https://github.com/vim/vim/commit/f86dea8119f3141e3d2c680219036d1511101f9b
* | docs: module-level docstrings (@defgroup) #22498Justin M. Keyes2023-03-05
| | | | | | | | | | | | | | | | | | | | | | | | Problem: gen_vimdoc.py / lua2dox.lua does not support @defgroup or \defgroup except for "api-foo" modules. Solution: Modify `gen_vimdoc.py` to look for section names based on `helptag_fmt`. TODO: - Support @module ? https://github.com/LuaLS/lua-language-server/wiki/Annotations#module
* | Merge pull request #22539 from dundargoc/build/luvbfredl2023-03-06
|\ \ | | | | | | build: remove workaround for incorrectly packaged libluv
| * | build: remove workaround for incorrectly packaged libluvdundargoc2023-03-05
|/ / | | | | | | | | | | This removes a workaround for incorrectly packaged libluv in 90e44ecf1144cb32195da00e24d23afb111ea680 as it should not be needed anymore.
* | build: silence git describe error outputBiswapriyo Nath2023-03-05
| | | | | | | | | | This change will silence the warning from git describe command when the project is built using source tarball. The warning is fatal: not a git repository: 'neovim/.git'
* | build: fix USE_EXISTING_SRC_DIR optiondundargoc2023-03-05
| | | | | | | | | | | | | | Since 0007aa50bd3d54259bb4ae717c114f5524ec59fa the build unsets all URL variable immediately when USE_EXISTING_SRC_DIR is TRUE, which is correct. However, this causes the function BuildTSParser to break down as cmake functions aren't traditionally equipped to deal with empty variables. Using cmake_parse_arguments fixes this issue.
* | Merge pull request #22486 from dundargoc/ci/cachedundargoc2023-03-05
|\ \
| * | ci: skip core dump checkdundargoc2023-03-05
| | | | | | | | | | | | | | | The core dump check interferes with CI as it interprets any file with "core" in it to be a core dump, which is incorrect.
| * | ci: remove core dump checking from test.ymldundargoc2023-03-05
| | | | | | | | | | | | | | | There is already a superior core dump check in test/helpers.lua, which makes this obsolete.
| * | ci: use the same deps directory location for all jobsdundargoc2023-03-05
| | | | | | | | | | | | | | | | | | | | | | | | Having separate directory location causes failures to be inconsistent and ultimately confusing. A common problem is a file with a particular name is searched for the entire repository, which gives different results if the dependency directory is inside the neovim directory or outside of it.
* | | build: consistently use the provided option pathsdundargoc2023-03-05
| | | | | | | | | | | | | | | We provide options such as "DEPS_BIN_DIR" for the user to set, but only sometimes use them. This makes binaries and other files to be spread out if the user defines a custom DEPS_BIN_DIR location.
* | | build: fix unknown pragma warning with mingw (#22533)Biswapriyo Nath2023-03-05
|/ / | | | | | | | | | | | | | | This checks MSVC toolchain with _MSC_VER macro before adding pragma warning directive. It is specific to MSVC and shows compiler warning with mingw gcc as following: main.c:187: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 187 | # pragma warning(suppress : 4996)
* | test: don't search entire repo for filesdundargoc2023-03-05
| | | | | | | | | | Searching the entire repo for a directory named "contrib" causes failure if there happens to be another subdirectory with the name "contrib". Instead, point directly to the correct contrib directory.
* | Merge pull request #22532 from zeertzjq/vim-9.0.0736zeertzjq2023-03-05
|\ \ | |/ |/| vim-patch:9.0.{0736,0749,0770,0870}: quickfix listing does not handle very long messages
| * vim-patch:9.0.0870: get E967 when using text property in quickfix windowzeertzjq2023-03-05
| | | | | | | | | | | | | | | | | | | | | | Problem: Get E967 when using text property in quickfix window. (Sergey Vlasov) Solution: Do not add an extra NUL and compute the text length correctly. (closes vim/vim#11513) https://github.com/vim/vim/commit/2f7bfe66a1373051792f2ecaeefb66049825221d Co-authored-by: Bram Moolenaar <Bram@vim.org>