Björn Linse
b2277a4279
refactor(map): get rid of spurious subsystem_init() functions due to maps
2021-08-22 10:46:04 +02:00
Sean Dewar
4042ae5a2b
vim-patch:8.1.1800: function call functions have too many arguments
...
Problem: Function call functions have too many arguments.
Solution: Pass values in a funcexe_T struct.
c6538bcc1c
Use FUNCEXE_INIT to initialize funcexe_T instances.
call_callback() and other Vim listener related stuff is N/A.
2021-08-12 22:31:18 +01:00
Björn Linse
a177c7df09
refactor(plines): remove implicit curwin plines() function
2021-08-10 22:32:08 +02:00
Gregory Anders
2093b12b82
refactor: remove remaining references to nvim_buf_set_virtual_text
2021-08-03 11:39:46 -06:00
Gregory Anders
3fd4f2f611
fix: fix incorrect call sites of xcalloc
...
The number of elements comes first and the size of each element second.
2021-07-24 15:52:14 -06:00
dundargoc
4547137aaf
chore: use codespell to spell check #15016
2021-07-07 15:28:44 -07:00
Christian Clason
5b6edc852f
feat(float): add rounded borders preset
...
Add `borders = "rounded"` preset for `nvim_open_win`, equivalent to
border = {"╭", "─", "╮", "│", "╯", "─", "╰", "│"}
Also add undocumented "solid" preset to docs.
2021-06-14 11:10:57 +02:00
Jan Edmund Lazo
6a2f1b1740
clang/'Logic error': assert get_decor_provider(id, true) returns nonnull
...
nvim_set_decoration_provider() has undefined behavior (if not crash)
if get_decor_provider() returns NULL.
2021-06-02 21:49:38 -04:00
Sean Dewar
802f8429d5
api(nvim_open_win): add "noautocmd" option
...
This option, when set, stops nvim_open_win() from potentially firing
buffer-related autocmd events
(BufEnter, BufLeave and BufWinEnter in the case of nvim_open_win()).
2021-06-01 03:05:04 +01:00
TJ DeVries
43956dea55
lua: Add vim.opt and fix scopes of vim.o ( #13479 )
...
* lua: Add vim.opt
* fixup: cleaning
* fixup: comments
* ty clason
* fixup: comments
* this is the last commit. period.
2021-05-28 17:24:48 +02:00
Björn Linse
edb5864a29
floats: z-index
2021-05-15 13:56:27 +02:00
Björn Linse
7d82ea0102
Merge pull request #14243 from shadmansaleh/Allow_cterm_colors_nvim_set_hl
...
API: Adding cterm support to nvim_set_hl
2021-05-11 15:07:00 +02:00
Michael Bleuez
684b4ae736
doc : fixing missing @return in nvim_open_term doc
2021-04-24 12:47:52 +02:00
Shadman
01493e7990
api: fix nvim_exec() silencing behaviour ( #14413 )
...
Previously nvim_exec would silent output no matter whether output
is true or false.
Now output is only silent and captured when output is true.
2021-04-21 10:41:37 +02:00
Björn Linse
9b2d4ff625
Merge pull request #14227 from bfredl/bordaa3
...
Border: allow to enable/disable specific border edges
2021-04-05 00:21:51 +02:00
Björn Linse
a4d3804837
Border: allow to enable/disable specific border edges
2021-04-04 18:32:31 +02:00
Björn Linse
3d6831a30a
api: fix use-after-free in nvim_chan_send
2021-04-04 18:11:48 +02:00
Björn Linse
623fe4dc7e
luaref: free decoration providers
2021-04-03 16:27:58 +02:00
Björn Linse
5ed383057b
lua: track reference ownership with ASAN when present
2021-04-03 16:27:58 +02:00
Jan Edmund Lazo
49706a1842
clang/'Logic error': fix loop cond to avoid nullptr deref
...
nvim_set_decoration_provider() has insufficient null checks.
2021-04-02 08:38:37 -04:00
shadmansaleh
fd62d39835
Make clint happy about spaces.
2021-03-29 13:52:28 +06:00
shadmansaleh
fdbba2ccf7
Api: Adding cterm color support to nvim_set_hl
2021-03-29 09:48:07 +06:00
Björn Linse
243820ebd0
floats: add borders (MS-DOS MODE)
2021-03-22 23:18:40 +01:00
Björn Linse
08ca5207cd
w_grid_alloc: baseline impl
2021-03-22 15:42:26 +01:00
Björn Linse
bb6d2c9b7c
api: destabilize nvim_set_hl_ns
...
The sematics and signature of this API is going to change, but we
don't wanna delay 0.5 for it. Mark API as unstable for now.
2021-03-15 09:58:39 +01:00
Björn Linse
ed08936987
api: allow open non-current buffer as terminal (+ xmas bonus)
...
vim.api.nvim_chan_send(vim.api.nvim_open_term(0), io.open("/path/to/smile.cat", "r"):read("*a"))
2021-03-12 14:44:47 +01:00
Lee Wannacott
d8dff33e4b
Added If true to show that {after} and {follow} parameters of nvim_put() are expecting boolean values
2021-03-07 00:54:13 +13:00
Matthieu Coudron
bb22c78044
api: add nvim_notify
...
parameters are mandatory
2021-02-02 15:40:08 +01:00
notomo
d3989ea8e8
api(echo): should clear cmdline before echo
2021-01-21 21:49:42 +09:00
notomo
8e86f5e460
api: nvim_echo
2021-01-20 16:41:39 +01:00
notomo
356319f356
api: add textlock check
2020-12-15 20:24:33 +09:00
Björn Linse
b1ef6de620
api: move deprecated functions to separate files
...
Most these are just calls to non-deprecated variants, and take up
unnecessary space and search hits in the other files.
2020-12-05 14:34:17 +01:00
Björn Linse
17a58043a3
api/options: cleanup the fixup
2020-12-04 13:29:44 +01:00
TJ DeVries
ced951c2aa
api/options: fixup
2020-12-04 13:29:44 +01:00
Björn Linse
3b3c006ae3
api/options: cleanup
2020-12-04 13:29:44 +01:00
TJ DeVries
35767912bb
api/options: add option metadata
2020-12-04 13:29:27 +01:00
Björn Linse
d285fa73da
api: enable nvim_get_runtime_file to find subdirectories
2020-11-24 14:18:46 +01:00
Björn Linse
a4986ab47f
decorations: allow nvim_set_hl to break existing links
...
also add `default` flag to NOT break existing links/defs
2020-11-21 11:24:14 +01:00
Jan Edmund Lazo
4e6f00dd29
gcc/analyzer: fix false positives for NULL ( #13248 )
...
Close https://github.com/neovim/neovim/issues/13158
2020-11-08 22:48:17 -05:00
Jan Edmund Lazo
09c46b6c40
pvs/v547: remove useless ternary for string size
2020-11-08 17:48:03 -05:00
Björn Linse
8497d4b3ea
decoration: split out "decoration" from "extmark" module
...
Decorations will only grow more complex. move the to a separate
file, so that extmark.c remains about extmarks.
2020-11-07 09:55:17 +01:00
Björn Linse
4d9e5764d2
api: gotta get the runtime fast
2020-11-03 08:43:42 +01:00
Björn Linse
c60c7375f5
startup: handle autoload and lua packages during startup
...
¡NO HAY BANDA!
2020-11-02 15:21:36 +01:00
Björn Linse
c146eddc8b
api: add API for themes
...
co-author: hlpr98 <hlpr98@gmail.com > (dict2hlattrs function)
orange is sus??
NOVEMBER DAWN
erase the lie that is redraw_later()
2020-11-01 19:14:56 +01:00
Björn Linse
88e6e7e08c
because reasons (undefined behavior)
2020-10-10 16:00:20 +02:00
Björn Linse
0b615dae07
api: multiple decoration providers at once
2020-10-10 15:16:45 +02:00
Björn Linse
4042975df4
luahl: global the luahl
2020-09-13 07:46:39 +02:00
Björn Linse
18a3a89822
luahl
2020-09-13 07:46:39 +02:00
Björn Linse
5f3ddb195e
lua: cleanup naming conventions of executor functions
2020-09-10 10:02:41 +02:00
Björn Linse
a1508c9f6d
nvim__screenshot
2020-09-05 13:33:21 +02:00