lacygoill
e2b54fda72
autocmd: Fix event name casing #11332
...
Affects getcompletion()
2019-11-04 16:18:06 +09:00
Björn Linse
93626b8af9
Merge pull request #10994 from bfredl/colorindex
...
allow pass through of :terminal palette colors with termguicolors
2019-11-03 11:07:40 +01:00
Jan Edmund Lazo
1c43fb1d51
syntax: zero-init local structs
...
Fix https://neovim.io/doc/reports/clang/report-ee5dbd.html#EndPath
2019-11-02 14:38:28 -04:00
Jan Edmund Lazo
6c5772f7da
quickfix: fix pvs/v547 error
2019-11-02 14:26:49 -04:00
Jan Edmund Lazo
4a5adae950
vim-patch:8.1.2236: ml_get error if pattern matches beyond last line
...
Problem: Ml_get error if pattern matches beyond last line.
Solution: Adjust position if needed. (Christian Brabandt, closes )
bb26596242
2019-11-02 12:21:15 -04:00
Björn Linse
cbaba19001
terminal: preserve support for g:terminal_color_X = "#1234ab"
2019-11-02 11:01:58 +01:00
Björn Linse
31137e9bc7
highlight: correctly disable index attribute with combine/blend
2019-11-02 11:01:58 +01:00
Björn Linse
08fe10010a
terminal: enable pass through indexed colors to TUI
2019-11-02 11:01:58 +01:00
Rob Pilling
0cee300194
Simplify split_success logic
2019-11-02 09:31:48 +00:00
Björn Linse
eb509dc7c5
tui: simplify branching of rgb vs cterm colors
2019-11-02 09:58:25 +01:00
Jan Edmund Lazo
63ab994fba
vim-patch:8.1.2235: "C" with 'virtualedit' set does not include multi-byte char
...
Problem: "C" with 'virtualedit' set does not include multi-byte char.
Solution: Include the whole multi-byte char. (Nobuhiro Takasaki,
closes vim/vim#5152 )
77ccc00340
2019-11-01 22:29:48 -04:00
Jan Edmund Lazo
471427d045
vim-patch:8.1.2231: introduce gM command #11321
...
Problem: Not easy to move to the middle of a text line.
Solution: Add the gM command. (Yasuhiro Matsumoto, closes vim/vim#2070 )
8b530c1ff9
2019-11-01 13:43:20 +09:00
Shane Smith
98d7c7db12
Minor updates and comment format fixes
...
- cursel argument for qf_list_entry() changed from int to bool
- Return type of qf_list_has_valid_entries() changed from int to bool
- Unnecessary size_t casting in qf_new_list removed
- Use Doxygen-style comment blocks for functions
2019-11-01 00:25:51 -04:00
Rob Pilling
36b4191e41
Document skip_colon_white()
2019-10-31 23:21:14 +00:00
Rob Pilling
d04ab11f24
Prevent prompts during inccommand previews
...
For example, "Backwards range given, OK to swap (y/n)?" on each keypress.
2019-10-31 19:22:22 +00:00
Rob Pilling
d52d782389
Prevent :topleft, etc modifying the inccommand preview window
2019-10-31 19:16:52 +00:00
Rob Pilling
1f6ce1f97d
Only apply 'icm' substitutions when preview was successfully opened
2019-10-31 19:16:52 +00:00
Rob Pilling
1c7aa11312
Allow multiple leading colons before and after modifiers for 'inccommand'
2019-10-31 19:16:52 +00:00
Rob Pilling
3b3d217754
Factor out skip_colon_white()
2019-10-31 19:16:52 +00:00
Justin M. Keyes
efaf4732e2
lua/executor.c: use TRY_WRAP
2019-10-29 22:39:07 -07:00
Shane Smith
a4d48d37c1
vim-patch:8.1.1256: cannot navigate through errors relative to the cursor
...
Problem: Cannot navigate through errors relative to the cursor.
Solution: Add :cabove, :cbelow, :labove and :lbelow. (Yegappan Lakshmanan,
closes vim/vim#4316 )
3ff33114d7
2019-10-27 23:43:47 -04:00
Shane Smith
cf7c34dea1
vim-patch:8.1.1112: duplicate code in quickfix file
...
Problem: Duplicate code in quickfix file.
Solution: Move code into functions. (Yegappan Lakshmanan, closes vim/vim#4207 )
87f59b09ea
2019-10-27 23:24:54 -04:00
Shane Smith
c222f3e006
vim-patch:8.1.1098: quickfix code duplication
...
Problem: Quickfix code duplication.
Solution: Refactor the qf_init_ext() function. (Yegappan Lakshmanan,
closes vim/vim#4193 )
95946f1209
2019-10-27 23:15:28 -04:00
Shane Smith
e55eac92c6
vim-patch:8.1.1062: quickfix code is repeated
...
Problem: Quickfix code is repeated.
Solution: Define FOR_ALL_QFL_ITEMS(). Move some code to separate functions.
(Yegappan Lakshmanan, closes vim/vim#4166 )
a16123a666
2019-10-27 22:42:29 -04:00
Justin M. Keyes
fdd243bf3b
Merge #11303 from janlazo/vim-8.1.1245
...
vim-patch:8.1.{1245,2154}
2019-10-27 14:30:36 -07:00
Shane Smith
d10d7aed79
vim-patch:8.1.1030: quickfix function arguments are inconsistent
...
Problem: Quickfix function arguments are inconsistent.
Solution: Pass a list pointer instead of info and index. (Yegappan
Lakshmanan, closes vim/vim#4135 )
0398e00a1b
2019-10-27 16:25:59 -04:00
Shane Smith
7714c9e210
vim-patch:8.1.1006: repeated code in quickfix support
...
Problem: Repeated code in quickfix support.
Solution: Move code to functions. (Yegappan Lakshmanan, closes vim/vim#4091 )
4aa47b28f4
2019-10-27 16:19:17 -04:00
Shane Smith
0f93528d1f
vim-patch:8.1.0532: cannot distinguish between quickfix and location list
...
Problem: Cannot distinguish between quickfix and location list.
Solution: Add an explicit type variable. (Yegappan Lakshmanan)
2d67d307ee
2019-10-27 16:19:17 -04:00
Shane Smith
8d10241a62
vim-patch:8.1.0488: using freed memory in quickfix code
...
Problem: Using freed memory in quickfix code. (Dominique Pelle)
Solution: Add the quickfix_busy() flag to postpone deleting quickfix lists
until it is safe. (Yegappan Lakshmanan, closes #3538 )
9f84ded38b
2019-10-27 16:17:35 -04:00
Shane Smith
f0dc110f31
vim-patch:8.1.0469: too often indexing in qf_lists[]
...
Problem: Too often indexing in qf_lists[].
Solution: Use a qf_list_T pointer. (Yegappan Lakshmanan)
108e7b422b
2019-10-27 15:33:30 -04:00
Shane Smith
b041096ed4
vim-patch:8.1.0407: quickfix code mixes using the stack and a list pointer
...
Problem: Quickfix code mixes using the stack and a list pointer.
Solution: Use a list pointer in more places. (Yegappan Lakshmanan,
closes vim/vim#3443 )
fe15b7dfa6
2019-10-27 15:33:30 -04:00
Shane Smith
a123050c1a
vim-patch:8.1.0252: quickfix functions are too long
...
Problem: Quickfix functions are too long.
Solution: Refactor. (Yegappan Lakshmanan, closes vim/vim#2950 )
de3b3677f7
2019-10-27 15:33:29 -04:00
Björn Linse
e085cacba4
Merge pull request #11302 from bfredl/luacall
...
lua: add vim.fn.{func} for direct access to vimL function
2019-10-27 19:49:30 +01:00
Björn Linse
8ee7c94a92
lua: add vim.fn.{func} for direct access to vimL function
...
compared to vim.api.|nvim_call_function|, this fixes some typing issues
due to the indirect conversion via the API. float values are preserved
as such (fixes #9389 ) as well as empty dicts/arrays.
Ref https://github.com/norcalli/nvim.lua for the call syntax
2019-10-27 17:23:17 +01:00
Jan Edmund Lazo
0f7a645f54
vim-patch:8.1.2154: quickfix window height wrong when there is a tabline
...
Problem: Quickfix window height wrong when there is a tabline. (Daniel
Hahler)
Solution: Take the tabline height into account. (closes vim/vim#5058 )
1142a31b8c
2019-10-27 11:35:11 -04:00
Jan Edmund Lazo
7c26be61bb
vim-patch:8.1.1245: ":copen 10" sets height in full-height window
...
Problem: ":copen 10" sets height in full-height window. (Daniel Hahler)
Solution: Don't set the height if the quickfix window is full height.
(closes vim/vim#4325 )
36d502225c
2019-10-27 11:31:10 -04:00
Jan Edmund Lazo
c3d81a4902
vim-patch:8.1.2220: :cfile does not abort like other quickfix commands
...
Problem: :cfile does not abort like other quickfix commands.
Solution: Abort when desired. Add tests for aborting. (Yegappan Lakshmanan,
closes vim/vim#5121 )
6a0cc916bd
2019-10-26 20:23:53 -04:00
Jaehwang Jerry Jung
6dcc1d1005
vim-patch:8.1.2218: "gN" is off by one in Visual mode
...
Problem: "gN" is off by one in Visual mode.
Solution: Check moving forward. (Christian Brabandt, vim/vim#5075 )
453c19257f
2019-10-27 03:35:19 +09:00
Jaehwang Jerry Jung
c26466ae8b
vim-patch:8.1.2207: "gn" doesn't work quite right
...
Problem: "gn" doesn't work quite right. (Jaehwang Jerry Jung)
Solution: Improve and simplify the search logic. (Christian Brabandt,
closes vim/vim#5103 , closes vim/vim#5075 )
edaad6e0a0
2019-10-27 03:35:19 +09:00
Jaehwang Jerry Jung
034077ed1c
vim-patch:8.1.2173: searchit() has too many arguments
...
Problem: Searchit() has too many arguments.
Solution: Move optional arguments to a struct. Add the "wrapped" argument.
92ea26b925
2019-10-27 03:35:19 +09:00
Jan Edmund Lazo
0b771cd9aa
vim-patch:8.1.0859: handle multibyte "%v" in 'errorformat' #11285
...
Problem: "%v" in 'errorformat' does handle multi-byte characters.
Solution: Handle multi-byte characters. (Yegappan Lakshmanan, closes vim/vim#3700 )
c45eb770a5
2019-10-25 22:17:21 -07:00
Jan Edmund Lazo
ced2a38ad4
tag: fix pvs/v547 error
2019-10-24 22:40:30 -04:00
Jan Edmund Lazo
8daefa348e
vim-patch:8.1.0455: checking for empty quickfix stack is not consistent
...
Problem: Checking for empty quickfix stack is not consistent.
Solution: Use qf_stack_empty(). (Yegappan Lakshmanan)
019dfe6855
2019-10-23 01:33:17 -04:00
Jan Edmund Lazo
aa8f059397
vim-patch:8.1.0438: the ex_make() function is too long
...
Problem: The ex_make() function is too long.
Solution: Split it into several functions. (Yegappan Lakshmanan)
b434ae2a1f
2019-10-23 01:33:16 -04:00
Jan Edmund Lazo
279ff23379
vim-patch:8.1.0434: copy_loclist() is too long
...
Problem: copy_loclist() is too long.
Solution: Split in multiple functions. (Yegappan Lakshmanan)
09037503ea
2019-10-23 01:33:16 -04:00
Jan Edmund Lazo
8257d49ff6
vim-patch:8.1.0410: the ex_copen() function is too long
...
Problem: The ex_copen() function is too long.
Solution: Refactor to split off two functions. (Yegappan Lakshmanan)
476c0db002
2019-10-23 01:33:16 -04:00
Jan Edmund Lazo
f3d6d8750b
vim-patch:8.1.0345: cannot get the window id associated with the location list
...
Problem: Cannot get the window id associated with the location list.
Solution: Add the "filewinid" argument to getloclist(). (Yegappan
Lakshmanan, closes vim/vim#3202 )
c9cc9c78f2
2019-10-23 01:33:16 -04:00
Jan Edmund Lazo
5e02bd071e
vim-patch:8.1.0288: quickfix code uses cmdidx too often
...
Problem: Quickfix code uses cmdidx too often.
Solution: Add is_loclist_cmd(). (Yegappan Lakshmanan)
396659592f
2019-10-23 01:33:16 -04:00
Jan Edmund Lazo
6dceaf3361
vim-patch:8.1.0014: qf_init_ext() is too long
...
Problem: qf_init_ext() is too long.
Solution: Split it into multiple functions. (Yegappan Lakshmanan,
closes vim/vim#2939 )
6053f2d29a
2019-10-23 01:33:15 -04:00
Justin M. Keyes
53b025887e
Merge #11261 from janlazo/vim-8.1.2185
...
vim-patch:8.1.{2185,2188,2190,2197}
2019-10-22 21:09:45 -07:00