Commit Graph

167 Commits

Author SHA1 Message Date
Lewis Russell
655292586a refactor(optionstr.c): break up did_set_string_option 28 2023-01-25 11:48:52 +00:00
Lewis Russell
f9e15db27d refactor(optionstr.c): break up did_set_string_option 27 2023-01-25 11:48:52 +00:00
Lewis Russell
700a02bd83 refactor(optionstr.c): break up did_set_string_option 26 2023-01-25 11:48:52 +00:00
Lewis Russell
7fa7c758e2 refactor(optionstr.c): break up did_set_string_option 25 2023-01-25 11:48:52 +00:00
Lewis Russell
12d065dceb refactor(optionstr.c): break up did_set_string_option 24 2023-01-25 11:48:52 +00:00
Lewis Russell
3fbc5f9860 refactor(optionstr.c): break up did_set_string_option 23 2023-01-25 11:48:52 +00:00
Lewis Russell
ccaed94475 refactor(optionstr.c): break up did_set_string_option 22 2023-01-25 11:48:52 +00:00
Lewis Russell
6dc62f2fe2 refactor(optionstr.c): break up did_set_string_option 21 2023-01-25 11:48:52 +00:00
Lewis Russell
2cea568a7c refactor(optionstr.c): break up did_set_string_option 20 2023-01-25 11:48:52 +00:00
Lewis Russell
c2fa39e026 refactor(optionstr.c): break up did_set_string_option 19 2023-01-25 11:48:52 +00:00
Lewis Russell
fec41d5f15 refactor(optionstr.c): break up did_set_string_option 18 2023-01-25 11:48:52 +00:00
Lewis Russell
fca3053a3e refactor(optionstr.c): break up did_set_string_option 17 2023-01-25 11:48:52 +00:00
Lewis Russell
5adf8f9276 refactor(optionstr.c): break up did_set_string_option 16 2023-01-25 11:48:52 +00:00
Lewis Russell
db6461b6ad refactor(optionstr.c): break up did_set_string_option 15 2023-01-25 11:48:52 +00:00
Lewis Russell
f6eac7fdf9 refactor(optionstr.c): break up did_set_string_option 14
squash me
2023-01-25 11:48:52 +00:00
Lewis Russell
b3272031f7 refactor(optionstr.c): break up did_set_string_option 13 2023-01-25 11:48:52 +00:00
Lewis Russell
9d12b07405 refactor(optionstr.c): break up did_set_string_option 12 2023-01-25 11:48:52 +00:00
Lewis Russell
fb8dd1bac7 refactor(optionstr.c): break up did_set_string_option 11 2023-01-25 11:48:52 +00:00
Lewis Russell
3f2c72d873 refactor(optionstr.c): break up did_set_string_option 10 2023-01-25 11:48:52 +00:00
Lewis Russell
696c470e68 refactor(optionstr.c): break up did_set_string_option 9 2023-01-25 11:48:52 +00:00
Lewis Russell
47145eb3cd refactor(optionstr.c): break up did_set_string_option 8 2023-01-25 11:48:52 +00:00
Lewis Russell
a22702b5d5 refactor(optionstr.c): break up did_set_string_option 7 2023-01-25 11:48:52 +00:00
Lewis Russell
632bc7954e refactor(optionstr.c): break up did_set_string_option 6 2023-01-25 11:48:52 +00:00
Lewis Russell
5ec8bb73c2 refactor(optionstr.c): break up did_set_string_option 5 2023-01-25 11:48:52 +00:00
Lewis Russell
e334f5a57d refactor(optionstr.c): break up did_set_string_option 4 2023-01-25 11:48:52 +00:00
Lewis Russell
2a665736c1 refactor(optionstr.c): break up did_set_string_option 3 2023-01-25 11:48:52 +00:00
Lewis Russell
e93d9df4ec refactor(optionstr.c): break up did_set_string_option 2 2023-01-25 11:48:52 +00:00
Lewis Russell
d5119db2fa refactor(optionstr.c): break up did_set_string_option 1 2023-01-25 11:48:52 +00:00
Lewis Russell
8fd3d2b61f refactor(optionstr.c): reduce scope of locals 2023-01-25 11:48:52 +00:00
dundargoc
8a4285d563 refactor: replace char_u with char 24 (#21823)
refactor: replace char_u with char

Work on https://github.com/neovim/neovim/issues/459
2023-01-18 21:17:11 +08:00
dundargoc
0344bfad0f refactor: replace char_u with char 22 (#21786)
Work on https://github.com/neovim/neovim/issues/459
2023-01-17 21:17:40 +08:00
Sean Dewar
6734dd2503 vim-patch:8.2.4463: completion only uses strict matching
Problem:    Completion only uses strict matching.
Solution:   Add the "fuzzy" item for 'wildoptions'. (Yegappan Lakshmanan,
            closes vim/vim#9803)

38b85cb4d7

Use MAX_FUZZY_MATCHES in fuzzy_match_str().
Omit fuzmatch_str_free() as it is only used on allocation failure.

Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2023-01-17 14:01:10 +08:00
zeertzjq
f72cb97fa0 vim-patch:9.0.1208: code is indented more than necessary (#21846)
Problem:    Code is indented more than necessary.
Solution:   Use an early return where it makes sense. (Yegappan Lakshmanan,
            closes vim/vim#11819)

a41e221935

Cherry-pick check_text_or_curbuf_locked() from patch 9.0.0947.

Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2023-01-17 08:09:51 +08:00
dundargoc
3269902a13 refactor: fix IWYU mapping file and use IWYU (#21802)
Also add the EXITFREE definition to main_lib rather than the nvim target, as the header generation needs the EXITFREE flag to work properly.
2023-01-15 14:16:33 +01:00
luukvbaal
364b131f42 feat(ui): add 'statuscolumn' option
Problem:    Unable to customize the column next to a window ('gutter').
Solution:   Add 'statuscolumn' option that follows the 'statusline' syntax,
	    allowing to customize the status column. Also supporting the %@
	    click execute function label. Adds new items @C and @s which
	    will print the fold and sign columns. Line numbers and signs
	    can be clicked, highlighted, aligned, transformed, margined etc.
2023-01-09 17:12:06 +00:00
dundargoc
08c2c74806 refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
2023-01-09 17:03:40 +08:00
Lewis Russell
5841a97500 feat!: remove hardcopy
Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
2023-01-03 10:07:43 +00:00
Luuk van Baal
5b89d480e3 vim-patch:9.0.1061: cannot display 'showcmd' somewhere else
Problem:    Cannot display 'showcmd' somewhere else.
Solution:   Add the 'showcmdloc' option. (Luuk van Baal, closes vim/vim#11684)

ba936f6f4e

Co-authored-by: Luuk van Baal <luukvbaal@gmail.com>
2022-12-26 13:15:07 +08:00
zeertzjq
5e97984188 vim-patch:partial:8.2.3908: cannot use a script-local function for 'foldtext'
Problem:    Cannot use a script-local function for 'foldtext'.
Solution:   Expand "s:" and "<SID>". (Yegappan Lakshmanan, closes vim/vim#9411)

27708e6c7b

Only port the changes actually related to 'foldtext'.

Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2022-12-03 08:39:57 +08:00
zeertzjq
9671908c68 vim-patch:8.2.3900: it is not easy to use a script-local function for an option
Problem:    It is not easy to use a script-local function for an option.
Solution:   recognize s: and <SID> at the start of the expression. (Yegappan
            Lakshmanan, closes vim/vim#9401)

8bb65f230d

Omit duplicate docs in fold.txt: removed in a later runtime update.
Cherry-pick test_diffmode.vim changes from patch 8.2.1432.

Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2022-12-03 08:35:13 +08:00
dundargoc
3b96ccf7d3 refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
2022-11-28 14:53:35 +01:00
zeertzjq
b2bb3973d9 vim-patch:9.0.0963: function name does not match autocmd event name (#21215)
Problem:    Function name does not match autocmd event name.
Solution:   Rename "optionsset" to "optionset". (closes vim/vim#11630)

269aa2b29a
2022-11-28 20:01:36 +08:00
Dundar Göc
40f3f75867 refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
2022-11-19 16:27:10 +01:00
dundargoc
66360675cf build: allow IWYU to fix includes for all .c files
Allow Include What You Use to remove unnecessary includes and only
include what is necessary. This helps with reducing compilation times
and makes it easier to visualise which dependencies are actually
required.

Work on https://github.com/neovim/neovim/issues/549, but doesn't close
it since this only works fully for .c files and not headers.
2022-11-15 10:30:03 +01:00
zeertzjq
1e4adf4b56 vim-patch:8.2.3725: cannot use a lambda for 'completefunc' and 'omnifunc'
Problem:    Cannot use a lambda for 'completefunc' and 'omnifunc'.
Solution:   Implement lambda support. (Yegappan Lakshmanan, closes vim/vim#9257)
8658c759f0

Comment out Vim9 script in tests.

Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2022-11-07 08:24:48 +08:00
zeertzjq
900dd2bdab vim-patch:8.2.3665: cannot use a lambda for 'tagfunc'
Problem:    Cannot use a lambda for 'tagfunc'.
Solution:   Use 'tagfunc' like 'opfunc'. (Yegappan Lakshmanan, closes vim/vim#9204)
19916a8c89

Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2022-11-07 08:24:48 +08:00
zeertzjq
3e60b9f1cc vim-patch:8.2.4029: debugging NFA regexp my crash, cached indent may be wrong
Problem:    Debugging NFA regexp my crash, cached indent may be wrong.
Solution:   Fix some debug warnings in the NFA regexp code.  Make sure log_fd
            is set when used.  Fix breakindent and indent caching. (Christian
            Brabandt, closes vim/vim#9482)
b2d85e3784
2022-11-05 19:35:56 +08:00
zeertzjq
19eb7054ff vim-patch:9.0.0761: cannot use 'indentexpr' for Lisp indenting
Problem:    Cannot use 'indentexpr' for Lisp indenting.
Solution:   Add the 'lispoptions' option.
49846fb1a3

vim-patch:9.0.0762: build failure

Problem:    Build failure.
Solution:   Add missing change.
4b082c4bd0
2022-10-16 08:34:55 +08:00
Lewis Russell
288208257c feat(cscope)!: remove 2022-10-13 16:37:23 +01:00
zeertzjq
06dfedc87a vim-patch:9.0.0738: cannot suppress completion "scanning" messages (#20633)
Problem:    Cannot suppress completion "scanning" messages.
Solution:   Add the "C" flag in 'shortmess'. (Bjorn Linse, closes vim/vim#11354)
91ccbad5de
2022-10-13 20:46:23 +08:00