diff options
author | dundargoc <gocdundar@gmail.com> | 2024-01-01 13:08:56 +0100 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-01-24 12:41:09 +0100 |
commit | ae3eed53d6100598b6d26fe58e3e97541e03f3c1 (patch) | |
tree | c87cc525c00d5f11e6babd84cac888b60c3fbefb /contrib/minimal.lua | |
parent | 32849d56671cc74d7a1b0858638c698444ac237f (diff) | |
download | rneovim-ae3eed53d6100598b6d26fe58e3e97541e03f3c1.tar.gz rneovim-ae3eed53d6100598b6d26fe58e3e97541e03f3c1.tar.bz2 rneovim-ae3eed53d6100598b6d26fe58e3e97541e03f3c1.zip |
build: various build improvements
- remove "ran-" prefix from touch files as it's redundant since the
they're already in the directory named `touches`.
- Include `contrib` when formatting with `make formatlua`.
- Use TARGET_FILE generator expression instead of assuming the
executable location.
- reuse logic that determines whether to use lua or luajit.
- add translations to the `nvim` target.
Makefile improvements:
- rename variable `CMAKE_PRG` to `CMAKE` to make it more consistent with
the builtin `MAKE` variable.
- stop propagating flags to generator. Users should use cmake for
non-standard use cases.
- remove `+` prefix from targets. If the user for whatever reason wants
to dry-run a target then they should be able to.
Diffstat (limited to 'contrib/minimal.lua')
-rw-r--r-- | contrib/minimal.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/minimal.lua b/contrib/minimal.lua index a395b9dcaf..2391e12f68 100644 --- a/contrib/minimal.lua +++ b/contrib/minimal.lua @@ -1,10 +1,10 @@ -- Run this file as `nvim --clean -u minimal.lua` -for name, url in pairs{ +for name, url in pairs { -- ADD PLUGINS _NECESSARY_ TO REPRODUCE THE ISSUE, e.g: -- some_plugin = 'https://github.com/author/plugin.nvim' } do - local install_path = vim.fn.fnamemodify('nvim_issue/'..name, ':p') + local install_path = vim.fn.fnamemodify('nvim_issue/' .. name, ':p') if vim.fn.isdirectory(install_path) == 0 then vim.fn.system { 'git', 'clone', '--depth=1', url, install_path } end |