aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* tests: bail out on libdir just like $VIMRUNTIME, it cannot be calculatedBjörn Linse2020-02-07
|
* treesitter: add standard &rtp/parser/ search path for parsersBjörn Linse2020-02-07
|
* build: include tree-sitter-c parser in bundled buildBjörn Linse2020-02-07
|
* env: try find library dir (like /usr[/local]/lib/nvim) and add it to &rtpBjörn Linse2020-02-07
|
* api: add nvim_get_runtime_file for finding runtime filesBjörn Linse2020-02-07
|
* doc: Fix {spell,mlang}.txt files text encoding #11814Ramiro Morales2020-02-05
| | | | | These had broken encodings, set it to UTF-8. All remianing Neovim non-ASCII documentation files are UTF-8 encoded. And so are their Vim original versions.
* Merge #11807 'refactor: eliminate os_unix.c (almost)'Justin M. Keyes2020-02-02
|\
| * lintJustin M. Keyes2020-02-02
| |
| * refactor: rename mch_exit => os_exitJustin M. Keyes2020-02-02
| | | | | | | | | | - No code changes - Move it to main.c
| * refactor: move various things to os/shell.cJustin M. Keyes2020-02-02
|/ | | | | - No code changes - Rename mch_expand_wildcards => os_expand_wildcards
* checkhealth: fix accidental change [ci skip]Justin M. Keyes2020-02-02
|
* Merge #11781 'checkhealth: $VIRTUAL_ENV validation' [ci skip]Justin M. Keyes2020-02-02
|\
| * checkhealth: avoid irrelevant virtualenv executablesJustin M. Keyes2020-02-02
| |
| * checkhealth: cleanup, brevityJustin M. Keyes2020-02-02
| |
| * checkhealth: bin directory is Scripts/ on WindowsDavid Lukes2020-02-02
| |
| * checkhealth: print -> sys.stdout.writeDavid Lukes2020-02-02
| | | | | | | | Co-Authored-By: Peter Lithammer <peter.lithammer@gmail.com>
| * checkhealth: better $VIRTUAL_ENV validation #11781David Lukes2020-02-02
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix #11753 close #11781 The virtualenv troubleshooting in the Python provider health checks is supposed to help the user determine whether running Python from Neovim (as in `system('python')` or `system(exepath('python'))`) will use the correct executable when a virtualenv is active. Currently however, it issues spurious warnings in legitimate setups, and conversely, fails to warn about potentially problematic ones. See https://github.com/neovim/neovim/issues/11753#issuecomment-578715584 for a more detailed analysis, but at a high level, this is due to two things: - the virtualenv check is part of the Python provider check defined in `s:check_python`, which uses a roundabout and sometimes erroneous way of determining the Python executable - more generally, it shouldn't be part of the provider check at all, because it's not really related to the Python *provider*, i.e. the Python executable which can communicate with Neovim via `pynvim`, but to the Python the user is editing source files for, which typically shouldn't even have `pynvim` installed This patch reimplements the virtualenv check and factors it out into its own separate function, which is however still kept in `health/provider.vim` alongside the rest of the Python troubleshooting, since troubleshooting all Python-related stuff in one place is probably a good idea in order to alleviate any potential confusion (e.g. users who run only provider checks might be left wondering whether their virtualenv Python was properly detected if the report only shows their global Python as the provider used by Neovim).
* Merge pull request #11801 from bfredl/incsubcrashBjörn Linse2020-02-02
|\ | | | | extmark: fix crash due to invalid column values in inccommand preview
| * extmarks: fix crash due to invalid column values in inccommand previewBjörn Linse2020-02-02
| | | | | | | | | | This used to use -1 and MAXCOL values. Make sure in range values are used.
* | Merge #11802 from janlazo/vim-8.2.0161Justin M. Keyes2020-02-02
|\ \ | | | | | | vim-patch:8.1.{140,1269},8.2.0161
| * | vim-patch:8.1.1269: MS-Windows GUI: multibyte chars with a 0x80 byte do not workJan Edmund Lazo2020-02-02
| | | | | | | | | | | | | | | | | | | | | | | | Problem: MS-Windows GUI: multibyte chars with a 0x80 byte do not work when compiled with VIMDLL. Solution: Adjust the condition for fixing the input buffer. (Ken Takata, closes vim/vim#4330) https://github.com/vim/vim/commit/ed5ab2a95972b5ef588bdafab9f197e1dcf0c1df
| * | vim-patch:8.1.0140: recording into a register has focus eventsJan Edmund Lazo2020-02-01
| | | | | | | | | | | | | | | | | | Problem: Recording into a register has focus events. (Michael Naumann) Solution: Don't record K_FOCUSGAINED and K_FOCUSLOST. (closes vim/vim#3143) https://github.com/vim/vim/commit/972bfddc6b3f52ae0865ad8c0bf6089bc8a9883a
| * | vim-patch:8.2.0161: not recognizing .gv file as dot filetypeJan Edmund Lazo2020-02-01
|/ / | | | | | | | | | | Problem: Not recognizing .gv file as dot filetype. Solution: Add *.gv to dot pattern. (closes vim/vim#5544) https://github.com/vim/vim/commit/f8ddb25789a6af530e69f499907979dfbff1c1ea
* / vim-patch:8.2.0190: detect Kotlin files [ci skip] #11796Alkeryn2020-02-01
|/ | | | | Problem: Kotlin files are not recognized. Solution: Detect Kotlin files. (Alkeryn, closes vim/vim#5560) https://github.com/vim/vim/commit/ab067a21b9622513ed75f4801b001606eeaf2474
* doc: fix typos [ci skip] #11787Hye Sung Jung2020-01-30
|
* Merge #11795 from janlazo/vim-8.2.0014Justin M. Keyes2020-01-30
|\ | | | | vim-patch:8.2.{14,16}
| * vim-patch:8.2.0016: test name used twice, option not restored properlyJan Edmund Lazo2020-01-30
| | | | | | | | | | | | Problem: Test name used twice, option not restored properly. Solution: Rename function, restore option with "&". https://github.com/vim/vim/commit/a48e78e11f2b647183fd12f569020756b17d7683
| * vim-patch:8.2.0014: test69 and test95 are old styleJan Edmund Lazo2020-01-30
|/ | | | | | Problem: Test69 and test95 are old style. Solution: Convert to new style tests. (Yegappan Lakshmanan, closes vim/vim#5365) https://github.com/vim/vim/commit/afc13bd8271819c7871ff2ae2cfebb22190a0d39
* Fix shift change callbacks reading bad cursor (#11782)Axel Forsman2020-01-30
| | | | | | | | | | | | | | Sloppy code inherited from Vim caused user scripts to be able to observe the cursor line in an invalid intermediary state, due to Neovim change callbacks being unbuffered unlike Vim listeners. Manifested in Vimscript executed from the callback possibly erroring when `:call`:ing any function, due to the implicit range `curwin->w_cursor.lnum,curwin->w_cursor.lnum` failing validation. Fixed by deferring the call to `changed_lines()` until after `curwin->w_cursor.lnum` gets its correct value.
* Merge #11792 from janlazo/vim-8.1.0445Justin M. Keyes2020-01-29
|\ | | | | vim-patch:8.1.{445,446},8.2.{77,177}
| * vim-patch:8.2.0177: memory leak in get_tags()Jan Edmund Lazo2020-01-29
| | | | | | | | | | | | | | Problem: Memory leak in get_tags(). Solution: Free matches when finding a pseudo-tag line. (Dominique Pelle, closes vim/vim#5553) https://github.com/vim/vim/commit/70b3e706b40fc2c84c1f9f33fa64945a481df395
| * vim-patch:8.2.0077: settagstack() cannot truncate at current indexJan Edmund Lazo2020-01-29
| | | | | | | | | | | | Problem: settagstack() cannot truncate at current index. Solution: Add the "t" action. (Yegappan Lakshmanan, closes vim/vim#5417) https://github.com/vim/vim/commit/271fa08a35b8d320d3a40db4ddae83b698fdd4fb
| * vim-patch:8.1.0446: options test fails in the GUIJan Edmund Lazo2020-01-29
| | | | | | | | | | | | Problem: Options test fails in the GUI. Solution: Don't try changing 'term' in the GUI. https://github.com/vim/vim/commit/4f888757257795969f2ab2e6fc3544a5bef3cdea
| * vim-patch:8.1.0445: setting 'term' does not store location for termcap optionsJan Edmund Lazo2020-01-29
|/ | | | | | | Problem: Setting 'term' does not store location for termcap options. Solution: Set the script context for termcap options that are changed when 'term' is set. https://github.com/vim/vim/commit/35bc7d6c52f516b60d683bf9f0f57266d86e25b9
* CONTRIBUTING.md: mention "good first issue" labelBjörn Linse2020-01-29
|
* vim-patch:8.2.0171: fix use of uninitialized buffer #11786Jan Edmund Lazo2020-01-28
| | | | | Problem: Coverity warning for using uninitialized buffer. Solution: Check the skip flag. https://github.com/vim/vim/commit/9a5e5a3e33bb86ba5209278e83ec60790f80d15c
* Merge pull request #11780 from bfredl/winhlparseBjörn Linse2020-01-28
|\ | | | | options: winhighlight: fix incorrect string equality test
| * options: winhighlight: fix incorrect string equality testBjörn Linse2020-01-28
|/
* LSP: show diagnostic in qf/loclist #11777Matthieu Coudron2020-01-28
| | | | | instead of the content of the file at this line. ref https://github.com/neovim/nvim-lsp/issues/69
* Merge #11775 'refactor: move session fns to ex_session.c'Justin M. Keyes2020-01-28
|\ | | | | | | obviates vim patch: vim-patch:8.1.1766
| * lintJustin M. Keyes2020-01-28
| |
| * refactor: move session functions to ex_session.cJustin M. Keyes2020-01-28
| |
* | build/MSVC: fix gettext multibyte issue #11774erw72020-01-28
|/ | | | | | | | | | | Problem: On Windows with the MSVC build, gettext-translation "Questa è già la" displays as "Questa <e8> gi<e0> la". Solution: Fix iconv detection iconv when building gettext. So HAVE_ICONV is correctly defined when building nvim. * fix gettext mb chars on MSVC * fix libintl detection failure on MSVC fixes #11749
* Merge #11772 from janlazo/vim-8.2.0152Justin M. Keyes2020-01-26
|\ | | | | vim-patch:8.2.{152,158}
| * vim-patch:8.2.0158: triggering CompleteDone earlier is not backwards compatibleJan Edmund Lazo2020-01-26
| | | | | | | | | | | | | | Problem: Triggering CompleteDone earlier is not backwards compatible. (Daniel Hahler) Solution: Add CompleteDonePre instead. https://github.com/vim/vim/commit/3f169ce17e8b779d105c96138a8b4246f2d270b9
| * vim-patch:8.2.0152: restoring ctrl_x_mode is not neededJan Edmund Lazo2020-01-26
| | | | | | | | | | | | Problem: Restoring ctrl_x_mode is not needed. Solution: Remove restoring the old value, it's changed again soon. https://github.com/vim/vim/commit/da812e282a4e2d6d8c9604a3a2a38396437dfe20
* | Merge #7836 'session: restore same :terminal buf split windows'Justin M. Keyes2020-01-26
|\ \ | |/ |/|
| * mksession: always unix slashes "/" for filepathsJustin M. Keyes2020-01-26
| |
| * cleanup/ex_docmd.c: remove most put_eol() callsJustin M. Keyes2020-01-26
| |
| * lintJustin M. Keyes2020-01-26
| |