aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api
Commit message (Collapse)AuthorAge
...
* doc: fix scripts and regenerate (#12506)TJ DeVries2020-07-02
| | | | | | | | | | | | | | | | | * Fix some small doc issues * doc: fixup * doc: fixup * Fix lint and rebase * Remove bad advice * Ugh, stupid mpack files... * Don't let people include these for now until they specifically want to * Prevent duplicate tag
* docs: Describe how to escape keycodes with nvim_feedkeys (#12484)Anmol Sethi2020-07-01
| | | Closes #12297
* Merge pull request #12342 from h-michael/fix-docHirokazu Hata2020-06-15
|\
| * doc: fix vim.api.nvim_buf_attach callback argumentsHirokazu Hata2020-06-15
| |
* | vim-patch:8.2.0111: VAR_SPECIAL is also used for booleansBilly Su2020-06-06
| | | | | | | | | | | | Problem: VAR_SPECIAL is also used for booleans. Solution: Add VAR_BOOL for better type checking. https://github.com/vim/vim/commit/9b4a15d5dba354d2e1e02871470bad103f34769a
* | API: nvim_create_buf: unset 'modeline' in scratch-buffer #12379Justin M. Keyes2020-05-29
|/ | | | Although 'nomodeline' is not strictly part of the definition of a "scratch-buffer" it is obviously the right default.
* api/ui: simplify popup menu position get/set logic; fix testYatao Li2020-04-28
|
* api/ui: allow set bounds row and col to be less than 0; ui_pum_get_pos: ↵Yatao Li2020-04-28
| | | | return first extui bounds information instead of reducing
* external pum: use floating point geometry; typval: add tv_dict_add_floatYatao Li2020-04-28
|
* ui_pum_get_pos: return internal pum position if external pum pos not foundYatao Li2020-04-28
|
* API/UI: Allow UI to set PUM position and size, and pass the position to ↵Yatao Li2020-04-28
| | | | CompleteChanged
* Merge #11851 'eval.c: factor out eval/userfunc.c'Justin M. Keyes2020-04-26
|\ | | | | | | vim-patch:7.4.2058
| * rename: user_funcs -> userfuncJakub Łuczyński2020-02-13
| | | | | | | | Lets stick with vim for now
| * fix: includesJakub Łuczyński2020-02-13
| |
* | helpers: fix FIXED_TEMP_ARRAYMatthieu Coudron2020-04-24
| | | | | | | | ...was using wrong macro argument.
* | pvs/v560: remove redundant line checkJan Edmund Lazo2020-04-13
| |
* | vim-patch:8.1.2378: using old C style commentsJan Edmund Lazo2020-04-12
| | | | | | | | | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate. https://github.com/vim/vim/commit/5d18efecfd6c45d69f55268948a22cd0465bb955
* | api/ui: win_viewport event for visible range and cursor position in windowBjörn Linse2020-04-01
| |
* | PVS/V618: fix printf-style args #11888Justin M. Keyes2020-02-22
| | | | | | | | We intentionally do not translate API errors. ref: https://github.com/neovim/neovim/issues/6150
* | clang bug: Dead assignment `ns_id`Bruno Roy2020-02-13
|/ | | | | | | Remove a dead assignment of the `ns_id` variable in the `src/nvim/api/buffer.c` file. Refer: https://neovim.io/doc/reports/clang/report-f279da.html#EndPath
* treesitter: cleanup some luahl stuffBjörn Linse2020-02-10
|
* treesitter: use internal "decorations" bufferBjörn Linse2020-02-10
|
* tests: bail out on libdir just like $VIMRUNTIME, it cannot be calculatedBjörn Linse2020-02-07
|
* api: add nvim_get_runtime_file for finding runtime filesBjörn Linse2020-02-07
|
* shed biking: it's always extmarks, never marks extendedBjörn Linse2020-01-20
|
* Merge pull request #11563 from bfredl/mark_madnessBjörn Linse2020-01-16
|\ | | | | extmarks: mark sanity/madness
| * extmarks/bufhl: reimplement using new marktree data structureBjörn Linse2020-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new "splice" interface for tracking buffer changes at the byte level. This will later be reused for byte-resolution buffer updates. (Implementation has been started, but using undocumented "_on_bytes" option now as interface hasn't been finalized). Use this interface to improve many edge cases of extmark adjustment. Changed tests indicate previously incorrect behavior. Adding tests for more edge cases will be follow-up work (overlaps on_bytes tests) Don't consider creation/deletion of marks an undoable event by itself. This behavior was never documented, and imposes complexity for little gain. Add nvim__buf_add_decoration temporary API for direct access to the new implementation. This should be refactored into a proper API for decorations, probably involving a huge dict. fixes #11598
* | api_set_error: include expression with "Failed to evaluate expression" (#11713)Daniel Hahler2020-01-15
|/
* API: include invalid buffer/window/tabpage in error message (#11712)Daniel Hahler2020-01-14
|
* vim-patch:8.1.0851: feedkeys() with "L" does not work properlyJan Edmund Lazo2020-01-05
| | | | | | | Problem: feedkeys() with "L" does not work properly. Solution: Do not set typebuf_was_filled when using "L". (Ozaki Kiichi, closes vim/vim#3885) https://github.com/vim/vim/commit/8d4ce56a19ed14d13332f94ad592fff2d9a715d5
* API: fix crash on copy_object(kObjectTypeWindow) #11651Ghjuvan Lacambre2020-01-02
| | | Closes #11646
* gen_vimdoc.py: fix deprecated checkJustin M. Keyes2019-12-30
|
* api/vim: fix pvs/v1048Jan Edmund Lazo2019-12-26
|
* tree-sitter: implement query functionality and highlighting prototype ↵Björn Linse2019-12-22
| | | | [skip.lint]
* API: rename nvim_execute_lua => nvim_exec_luaJustin M. Keyes2019-12-02
| | | | | | - We already find ourselves renaming nvim_execute_lua in tests and scripts, which suggests "exec" is the verb we actually want. - Add "exec" verb to `:help dev-api`.
* API: deprecate nvim_command_outputJustin M. Keyes2019-12-02
|
* API: rename nvim_source => nvim_execJustin M. Keyes2019-12-01
| | | | | - Eliminate nvim_source_output(): add boolean `output` param to nvim_exec() instead.
* API: nvim_source_outputVikram Pal2019-12-01
| | | | | | | - Similar to nvim_source but will capture the output - Add meaningful VimL tracebacks for nvim_source - Handle got_int - Add error reporting
* API: nvim_source: fix multiline inputJustin M. Keyes2019-12-01
| | | | | | | - DOCMD_REPEAT is needed to source all lines of input. - Fix ":verbose set {option}?" by handling SID_STR in get_scriptname(). closes #8722
* API: nvim_source: save/restore script context #11159Vikram Pal2019-12-01
| | | | Use a constant for the script id.
* API: nvim_sourceSiddhant Gupta2019-12-01
|
* floatwin: show error if window is closed immediately #11476Justin M. Keyes2019-11-29
| | | | | | | | | Autocmds may close window while it is being entered, then win_set_minimal_style(wp) operates on an invalid pointer. We could silently ignore this instead, but it is unlikely to be intentional, so it is more useful to show an error. fix #11383
* [RFC] extmark: fix E315 in nvim_buf_set_extmark (#11449)notomo2019-11-25
| | | | | extmark: need to use buf instead of curbuf
* doc + extmarks tweaks #11421Justin M. Keyes2019-11-25
| | | | - nvim_buf_get_extmarks: rename "amount" => "limit" - rename `set_extmark_index_from_obj`
* Clear 'cc' in nvim_open_win 'minimal' style #11361 (#11427)Dennis B2019-11-22
| | | | | | | * Clear 'cc' in nvim_open_win 'minimal' style #11361 Add 'colorcolumn' to the list of options that should be cleared when creating a 'minimal'-style floating window.
* doc: Lua [ci skip] #11378Justin M. Keyes2019-11-17
| | | | - Rework :help lua-commands - Rename if_lua.txt => lua.txt
* extmark: rename ExtendedMark => ExtmarkJustin M. Keyes2019-11-11
|
* doc [ci skip]Justin M. Keyes2019-11-11
|
* Merge pull request #11356 from bfredl/extmark2Björn Linse2019-11-11
|\ | | | | extmark API feature
| * extmark: review changesBjörn Linse2019-11-11
| |