On 2022-11-05, Balki wrote:
> Problem: :compiler shellcheck does not work
> Solution: Add ' %' to makeprg to pass current file to shellcheck
The 'makeprg' set by compiler files generally does not include %.
If the user wishes to make the current file, then they supply the
% themselves.
Regards,
G
Patch 9.0.0837
Problem:append() reports failure when not appending anything.
Solution: Only report failure when appending something. (closes #11498)
Files: runtime/doc/builtin.txt, src/evalbuffer.c,
src/testdir/test_functions.vim, src/testdir/test_bufline.vim,
s
Hi All,
clang x64 15.0.4 on Win8.1 x64 gives these 3 warnings:
clang -c -I. -Iproto -DWIN32 -DWINVER=0x0603 -D_WIN32_WINNT=0x0603
-DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -D__USE_MINGW_ANSI_STDIO
-pipe -Wall -O3 -fomit-frame-pointer -fpie -fPIE -DFEAT_GUI_MSWIN
-DFEAT_CLIPBOARD os_win32.c
> When I do complex substitutions, I want to see inspect subst,
> undo the substitution, before moving to the next one match
> (gnuemacs has something similar called "recursive-edit")
>
> Eg. my file contains thousands of dates as seconds, and I want to reformat
> the date (but seeing the conte
Patch 9.0.0836
Problem:Wrong error when using extend() with funcref.
Solution: Better check the variable type. (closes #11468, closes #11455)
Files: src/dict.c, src/eval.c, src/testdir/test_functions.vim,
src/testdir/test_let.vim
*** ../vim-9.0.0835/src/dict.c 2022-11-02
Patch 9.0.0835
Problem:The window title is not redrawn when 'endoffile' changes.
Solution: redraw the window title when 'endoffile' is changed. (Ken Takata,
closes #11488)
Files: src/option.c
*** ../vim-9.0.0834/src/option.c2022-10-15 16:04:43.998187220 +0100
---
When I do complex substitutions, I want to see inspect subst,
undo the substitution, before moving to the next one match
(gnuemacs has something similar called "recursive-edit")
Eg. my file contains thousands of dates as seconds, and I want to reformat
the date (but seeing the context around the
Ok, for visual mode I had to redefine `gq`
vim9script
import autoload 'dist/json.vim'
setl formatexpr=json.FormatExpr()
xnoremap gq json.Format(line('v'), line('.'))
суббота, 5 ноября 2022 г. в 21:49:54 UTC+5, Maxim Kim:
> > It would be good to review, have others make comments.
> > A PR s
> It would be good to review, have others make comments.
> A PR should work for that.
https://github.com/vim/vim/pull/11506
Hopefully other people will try it and improve if needed.
* It doesn't handle escapes of \" and I don't know if json allows it
actually
* {Visual}gq doesn't work and I am
> Oh, `formatexpr` can't speak vim9script!
>
> ```
> setl formatexpr=json#FormatExpr()
> ```
>
> Works!
>
> @brammool I can create a PR if needed.
It would be good to review, have others make comments.
A PR should work for that.
I suppose including the script under autoload/dist works, then
Patch 9.0.0834
Problem:Warning for missing return type.
Solution: Add "int". (San James, closes #11496)
Files: src/configure.ac, src/auto/configure
*** ../vim-9.0.0833/src/configure.ac2022-10-08 19:26:35.698195391 +0100
--- src/configure.ac2022-11-05 15:09:58.131268604 +
Patch 9.0.0833
Problem:Mac: no +sound feature in huge build.
Solution: Enable +sound in Mac huge build. (closes #11497)
Files: src/vim.h
*** ../vim-9.0.0832/src/vim.h 2022-11-04 21:58:30.846679779 +
--- src/vim.h 2022-11-05 14:20:24.433797443 +
***
*** 167,173
Patch 9.0.0832
Problem:Deprecation warning causes build failure.
Solution: Suppress deprecation warning. (closes #11503)
Files: src/if_python3.c
*** ../vim-9.0.0831/src/if_python3.c2022-11-04 22:38:05.763776018 +
--- src/if_python3.c2022-11-05 14:04:28.097261832 +
***
13 matches
Mail list logo