aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
Commit message (Collapse)AuthorAge
* refactor: format #15702dundargoc2021-09-18
|
* refactor(runtime): always use DIP_START when searching for runtime filesBjörn Linse2021-09-18
| | | | | | | | Now remove the addition of "start/*" packages in 'packpath' as explicit items in 'runtimepath'. This avoids 'runtimepath' from becoming very long when using a lot of plugins as packages. To get the effective search path as a list, use |nvim_list_runtime_paths()|
* docs: extmarks indexing #15311Justin M. Keyes2021-09-10
| | | | ref #11456
* docs: extmark indexing #12742Patrice Peterson2021-09-10
| | | | | | | Extmarks mostly use api-indexing, except for nvim_buf_get_extmarks(), which uses api-indexing with inclusive ranges. ref #11456
* feat(api): nvim_get_chan_info: include "argv" for jobs #15537Justin M. Keyes2021-09-01
| | | ref #15440
* Merge #15293 Vimscript "method" syntaxJustin M. Keyes2021-08-26
|\ | | | | Port VimL's method call syntax - vim-patch:8.1.{1638,1800,1803,1807,1809,1816,1820,1821,1828,1834,1835,1861,1863,1878,1879,1888,1909,1911,1912}
| * vim-patch:8.1.1800: function call functions have too many argumentsSean Dewar2021-08-12
| | | | | | | | | | | | | | | | | | | | Problem: Function call functions have too many arguments. Solution: Pass values in a funcexe_T struct. https://github.com/vim/vim/commit/c6538bcc1cdd1fb83732f22fdc69bd9bb66f968a Use FUNCEXE_INIT to initialize funcexe_T instances. call_callback() and other Vim listener related stuff is N/A.
* | refactor(map): remove extra-allocating map_new/map_free functionsBjörn Linse2021-08-22
| | | | | | | | | | | | | | | | | | | | Note: the reason for removing them is not that there after this refactor is no use of them, but rather that having them available is an anti-pattern: they manange an _extra_ heap allocation which has nothing to do with the functionality of the map itself (khash manages the real buffers internally). In case there happens to be a reason to allocate the map structure itself later, this should be made explicit using xcalloc/xfree calls.
* | refactor(map): get rid of spurious subsystem_init() functions due to mapsBjörn Linse2021-08-22
|/
* refactor(plines): remove implicit curwin plines() functionBjörn Linse2021-08-10
|
* refactor: remove remaining references to nvim_buf_set_virtual_textGregory Anders2021-08-03
|
* fix: fix incorrect call sites of xcallocGregory Anders2021-07-24
| | | | The number of elements comes first and the size of each element second.
* chore: use codespell to spell check #15016dundargoc2021-07-07
|
* feat(float): add rounded borders presetChristian Clason2021-06-14
| | | | | | | | Add `borders = "rounded"` preset for `nvim_open_win`, equivalent to border = {"╭", "─", "╮", "│", "╯", "─", "╰", "│"} Also add undocumented "solid" preset to docs.
* clang/'Logic error': assert get_decor_provider(id, true) returns nonnullJan Edmund Lazo2021-06-02
| | | | | nvim_set_decoration_provider() has undefined behavior (if not crash) if get_decor_provider() returns NULL.
* api(nvim_open_win): add "noautocmd" optionSean Dewar2021-06-01
| | | | | | 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()).
* lua: Add vim.opt and fix scopes of vim.o (#13479)TJ DeVries2021-05-28
| | | | | | | | | | | | | * lua: Add vim.opt * fixup: cleaning * fixup: comments * ty clason * fixup: comments * this is the last commit. period.
* floats: z-indexBjörn Linse2021-05-15
|
* Merge pull request #14243 from shadmansaleh/Allow_cterm_colors_nvim_set_hlBjörn Linse2021-05-11
|\ | | | | API: Adding cterm support to nvim_set_hl
| * Make clint happy about spaces.shadmansaleh2021-03-29
| |
| * Api: Adding cterm color support to nvim_set_hlshadmansaleh2021-03-29
| |
* | doc : fixing missing @return in nvim_open_term docMichael Bleuez2021-04-24
| |
* | api: fix nvim_exec() silencing behaviour (#14413)Shadman2021-04-21
| | | | | | | | | | 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.
* | Merge pull request #14227 from bfredl/bordaa3Björn Linse2021-04-05
|\ \ | | | | | | Border: allow to enable/disable specific border edges
| * | Border: allow to enable/disable specific border edgesBjörn Linse2021-04-04
| | |
* | | api: fix use-after-free in nvim_chan_sendBjörn Linse2021-04-04
|/ /
* | luaref: free decoration providersBjörn Linse2021-04-03
| |
* | lua: track reference ownership with ASAN when presentBjörn Linse2021-04-03
| |
* | clang/'Logic error': fix loop cond to avoid nullptr derefJan Edmund Lazo2021-04-02
|/ | | | nvim_set_decoration_provider() has insufficient null checks.
* floats: add borders (MS-DOS MODE)Björn Linse2021-03-22
|
* w_grid_alloc: baseline implBjörn Linse2021-03-22
|
* api: destabilize nvim_set_hl_nsBjörn Linse2021-03-15
| | | | | 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.
* api: allow open non-current buffer as terminal (+ xmas bonus)Björn Linse2021-03-12
| | | | vim.api.nvim_chan_send(vim.api.nvim_open_term(0), io.open("/path/to/smile.cat", "r"):read("*a"))
* Added If true to show that {after} and {follow} parameters of nvim_put() are ↵Lee Wannacott2021-03-07
| | | | expecting boolean values
* api: add nvim_notifyMatthieu Coudron2021-02-02
| | | | parameters are mandatory
* api(echo): should clear cmdline before echonotomo2021-01-21
|
* api: nvim_echonotomo2021-01-20
|
* api: add textlock checknotomo2020-12-15
|
* api: move deprecated functions to separate filesBjörn Linse2020-12-05
| | | | | Most these are just calls to non-deprecated variants, and take up unnecessary space and search hits in the other files.
* api/options: cleanup the fixupBjörn Linse2020-12-04
|
* api/options: fixupTJ DeVries2020-12-04
|
* api/options: cleanupBjörn Linse2020-12-04
|
* api/options: add option metadataTJ DeVries2020-12-04
|
* api: enable nvim_get_runtime_file to find subdirectoriesBjörn Linse2020-11-24
|
* decorations: allow nvim_set_hl to break existing linksBjörn Linse2020-11-21
| | | | also add `default` flag to NOT break existing links/defs
* gcc/analyzer: fix false positives for NULL (#13248)Jan Edmund Lazo2020-11-08
| | | Close https://github.com/neovim/neovim/issues/13158
* pvs/v547: remove useless ternary for string sizeJan Edmund Lazo2020-11-08
|
* decoration: split out "decoration" from "extmark" moduleBjörn Linse2020-11-07
| | | | | Decorations will only grow more complex. move the to a separate file, so that extmark.c remains about extmarks.
* api: gotta get the runtime fastBjörn Linse2020-11-03
|
* startup: handle autoload and lua packages during startupBjörn Linse2020-11-02
| | | | ¡NO HAY BANDA!