| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
Move `has_eval_provider()` check to `eval_call_provider()` to make sure that
every code path calls it first.
Previously we would, when pynvim was missing, get a nice error message for
`:python3 1`, but not for `:py3file blah`.
Fixes https://github.com/neovim/neovim/issues/9485
|
|
|
|
|
|
|
| |
Prior to this change, the provider check for ruby was special-cased and now it
returns E319, like :python etc.
References #9354
|
|
|
|
|
|
| |
Problem: Setting v:errors to wrong type still possible.
Solution: Return after giving an error message. (Christian Brabandt)
https://github.com/vim/vim/commit/88b53fd0521d1e62df17a8a1f2181425e9d4854c
|
|
|
|
|
|
|
| |
Problem: Setting v:errors to a string give confusing error. (Christian
Brabandt)
Solution: Change internal error into normal error message.
https://github.com/vim/vim/commit/74ea88c170f65afa50b2b97e37806d13b4e24cd7
|
|
|
|
|
|
|
| |
(#9317)
Problem: execute() does not work in completion of user command. (thinca)
Solution: Switch off redir_off and restore it. (Ozaki Kiichi, closes vim/vim#2492)
https://github.com/vim/vim/commit/2095148277cf1c4e7b3bbaf4e34812b7cfe3011b
|
|
|
|
|
|
|
|
| |
Problem: Expression evaluation may repeat an error message. (Jason
Franklin)
Solution: Check for the value of did_emsg when giving an error
for the :execute command.
https://github.com/vim/vim/commit/8ff5af9544a2abc3d344bba017ef96682e098d9d
|
|
|
|
|
|
|
|
| |
Problem: Expression evaluation may repeat an error message. (Jason
Franklin)
Solution: Increment did_emsg and check for the value when giving an error
for the echo command.
https://github.com/vim/vim/commit/76a6345433bc2a600689397fb28165a2e5793720
|
| |
|
|
|
|
|
|
|
| |
* os/fs.c: add os_isdir_executable()
* eval.c: fix hang on job start caused by non-executable cwd option
* channel.c: assert cwd is an executable directory
* test: jobstart() produces error when using non-executable cwd
|
|
|
|
|
| |
Problem: ml_get error when calling a function with a range.
Solution: Don't position the cursor after the last line.
https://github.com/vim/vim/commit/9e353b5265bd7fa103caf4e5a9b3c99f344f548e
|
| |
|
|
|
|
|
|
| |
clang scan-build thinks os_system() could set `do_profiling` flag.
Found by clang scan-build 5.0
|
| |
|
|
|
|
|
|
| |
Problem: Error in return not caught by try/catch.
Solution: Call update_force_abort(). (Yasuhiro Matsomoto, closes vim/vim#2483)
https://github.com/vim/vim/commit/fabaf753e26df5a89a854673d14c15a1fa6b321a
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
src/nvim/eval/typval.c
src/nvim/fileio.c
src/nvim/main.c
src/nvim/regexp_nfa.c
src/nvim/spellfile.c
changed some EMSG[..] Macros to emsgf
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
log.c
message.c
strings.c
fixed some printf warnings in:
src/nvim/undo.c
src/nvim/eval.c
src/nvim/eval/encode.c
src/nvim/eval/typval.c
src/nvim/ex_getln.c
src/nvim/fileio.c
src/nvim/lua/executor.c
src/nvim/main.c
src/nvim/regexp_nfa.c
src/nvim/shada.c
src/nvim/spellfile.c
src/nvim/tui/terminfo.c
src/nvim/garray.h
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Cannot use :unlet for an environment variable.
Solution: Make it work. Use unsetenv() if available.
(Yasuhiro Matsumoto, closes vim/vim#2855)
https://github.com/vim/vim/commit/137374fd6538cf9dee0cb22907728d8fdecb5832
|
|/
|
|
|
|
| |
Problem: Nasty autocommands can still cause using freed memory.
Solution: Disallow using setloclist() and setqflist() recursively.
https://github.com/vim/vim/commit/2f82ca7d79148ae931bf28a747ede06ba8a65de8
|
|
|
|
|
|
|
|
| |
ref https://github.com/neovim/neovim/issues/9001#issuecomment-421843790
Steps to reproduce:
:set verbose=9
:call system(['echo'])
E730: using List as a String
|
|
|
|
| |
Follow-up of vim-patch:8.0.1215
|
| |
|
|
|
|
|
| |
Problem: When E734 is given option is still set.
Solution: Assign NULL to "s". (Christian Brabandt)
https://github.com/vim/vim/commit/2a6a6c3014e728cd01c750b0f60484d4eaf22a8c
|
|\
| |
| | |
mbyte: remove mb_char2bytes
|
| | |
|
| | |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Autoload script sources itself when defining function.
Solution: Pass TFN_NO_AUTOLOAD to trans_function_name(). (Yasuhiro
Matsumoto, closes vim/vim#2423)
https://github.com/vim/vim/commit/3388d334572f9d65a603d09d75e363805d96c5d9
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Cannot call a dict function in autoloaded dict.
Solution: Call get_lval() passing the read-only flag.
https://github.com/vim/vim/commit/6e65d594aa33be11f6074f26e9ff81b52504c62b
|
|/ /
| |
| |
| |
| |
| |
| | |
(#8976)
Problem: maparg() and mapcheck() confuse empty and non-existing.
Solution: Return <Nop> for an existing non-empty mapping. (closes vim/vim#2940)
https://github.com/vim/vim/commit/f88a5bc10232cc3fac92dba4e8455f4c14311f8e
|
| |
| |
| |
| |
| | |
Problem: Crash when using foldtextresult() recursively.
Solution: Avoid recursive calls. (Yasuhiro Matsumoto, closes vim/vim#2098)
https://github.com/vim/vim/commit/495b7dd213e096361e6f15e7aed313c1d63d9d3e
|
|/
|
|
|
|
|
| |
Problem: Cannot parse text with 'erroformat' without changing a quickfix
list.
Solution: Add the "text" argument to getqflist(). (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/7adf06f4e25c795ba32ff0b2e8591330f6a41afb
|
| |
|
|
|
|
|
|
| |
FEAT_AUTOCHDIR is not defined for Nvim.
ref #8927
|
|
|
|
|
|
|
| |
Problem: +autochdir feature not reported by has() or :version.
Solution: Add the feature in the list.
Author: Bram Moolenaar <Bram@vim.org>
https://github.com/vim/vim/commit/83ec2a7f5fb481b30a5d556b6aad49a62585bccd
|
|
|
|
|
|
|
| |
Problem: Function argument with only dash is seen as number zero. (Wang
Shidong)
Solution: See a dash as a string. (Christian Brabandt)
https://github.com/vim/vim/commit/ffd99f729bd806e09d9355ede9c17780b61057bf
|
|
|
|
|
|
| |
Problem: Not easy to figure out the window layout.
Solution: Add "wincol" and "winrow" to what getwininfo() returns.
https://github.com/vim/vim/commit/b6959a8e06cef6d2126b030b2f8acd49457a3582
|
|
|
|
|
|
| |
Problem: There is no easy way to get the window position.
Solution: Add win_screenpos().
https://github.com/vim/vim/commit/22044dc31788d9f1c2da7725269884d9923b4795
|
|
|
|
|
|
| |
Problem: Not enough testing for getftype().
Solution: Add a test. (Dominique Pelle, closes vim/vim#3300)
https://github.com/vim/vim/commit/1598f9937a18c056d7b713dc254325c8f8456c8f
|
|
|
|
|
|
| |
Problem: Trimming white space is not that easy.
Solution: Add the trim() function. (Bukn, closes vim/vim#1280)
https://github.com/vim/vim/commit/295ac5ab5e840af6051bed5ec9d9acc3c73445de
|
| |
|
|
|
|
|
|
| |
Problem: Hang when using count() with an empty string.
Solution: Return zero for an empty string. (Dominique Pelle, closes vim/vim#2465)
https://github.com/vim/vim/commit/338e47fdfdf0d918dae50a5cbf0cf4f7be45b4f0
|
|
|
|
|
|
|
| |
Problem: Matchstrpos() without a match returns too many items.
Solution: Also remove the second item when the position is beyond the end of
the string. (Hirohito Higashi) Use an enum for the type.
https://github.com/vim/vim/commit/8d9f0ef5c6a6f6d19c3d02690e1ee347a70b8452
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Problem: Getting tab-local variable fails after closing window.
Solution: set tp_firstwin and tp_lastwin. (Jason Franklin, closes vim/vim#2170)
https://github.com/vim/vim/commit/816968defc8ae79eb7e2319e991e74661be8d750
|