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
Justin M. Keyes
c2662210b5
docs, remove 'guifontset' #11708
...
- remove redundant autocmd list
This "grouped" list is useless, it only gets in the way when searching
for event names.
- intro.txt: cleanup
- starting.txt: update, revisit
- doc: `:help bisect`
- mbyte.txt: update aliases 1656367b90
. closes #11960
- options: remove 'guifontset'. Why:
- It is complicated and is used by almost no one.
- It is unlikely to be implemented by Nvim GUIs (complicated to parse,
specific to Xorg...).
2020-08-31 00:51:35 -07:00
Patrice Peterson
ac05343a10
Add docs for most vim.lsp methods
...
Most of the lsp.log will be addressed in a separate PR.
2020-08-23 13:48:25 +02:00
Anmol Sethi
2844cd54da
docs: Describe how to escape keycodes with nvim_feedkeys ( #12484 )
...
Closes #12297
2020-07-01 21:57:03 -04:00
Justin M. Keyes
977c0f292f
API: nvim_create_buf: unset 'modeline' in scratch-buffer #12379
...
Although 'nomodeline' is not strictly part of the definition of
a "scratch-buffer" it is obviously the right default.
2020-05-29 09:45:32 -07:00
Justin M. Keyes
6b050a145d
Merge #11851 'eval.c: factor out eval/userfunc.c'
...
vim-patch:7.4.2058
2020-04-26 20:01:58 -07:00
Jan Edmund Lazo
73dc9e943c
vim-patch:8.1.2378: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
5d18efecfd
2020-04-12 15:56:40 -04:00
Jakub Łuczyński
5e815edece
rename: user_funcs -> userfunc
...
Lets stick with vim for now
2020-02-13 14:11:55 +01:00
Jakub Łuczyński
d50c1123d5
fix: includes
2020-02-13 14:11:53 +01:00
Björn Linse
7d7adf7acc
treesitter: cleanup some luahl stuff
2020-02-10 13:10:15 +01:00
Björn Linse
95fd28f4a1
treesitter: use internal "decorations" buffer
2020-02-10 13:10:15 +01:00
Björn Linse
ef2e6522c5
tests: bail out on libdir just like $VIMRUNTIME, it cannot be calculated
2020-02-07 09:32:25 +01:00
Björn Linse
7ce9a5c7da
api: add nvim_get_runtime_file for finding runtime files
2020-02-07 09:22:55 +01:00
Björn Linse
48a869dc6d
shed biking: it's always extmarks, never marks extended
2020-01-20 19:36:35 +01:00
Daniel Hahler
8ba3354d74
api_set_error: include expression with "Failed to evaluate expression" ( #11713 )
2020-01-15 09:08:22 +01:00
Jan Edmund Lazo
3a3fb08602
vim-patch:8.1.0851: feedkeys() with "L" does not work properly
...
Problem: feedkeys() with "L" does not work properly.
Solution: Do not set typebuf_was_filled when using "L". (Ozaki Kiichi,
closes vim/vim#3885 )
8d4ce56a19
2020-01-05 10:35:49 -05:00
Justin M. Keyes
27b678f577
gen_vimdoc.py: fix deprecated check
2019-12-30 00:15:49 -08:00
Jan Edmund Lazo
362c3a3ccf
api/vim: fix pvs/v1048
2019-12-26 00:29:14 -05:00
Björn Linse
440695c296
tree-sitter: implement query functionality and highlighting prototype [skip.lint]
2019-12-22 12:51:46 +01:00
Justin M. Keyes
a3b6c2a3dc
API: rename nvim_execute_lua => nvim_exec_lua
...
- 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`.
2019-12-02 22:06:42 -08:00
Justin M. Keyes
c34130d13a
API: deprecate nvim_command_output
2019-12-02 20:52:06 -08:00
Justin M. Keyes
b1991f66d5
API: rename nvim_source => nvim_exec
...
- Eliminate nvim_source_output(): add boolean `output` param to
nvim_exec() instead.
2019-12-01 22:35:15 -08:00
Vikram Pal
bd43e011b5
API: nvim_source_output
...
- Similar to nvim_source but will capture the output
- Add meaningful VimL tracebacks for nvim_source
- Handle got_int
- Add error reporting
2019-12-01 19:07:57 -08:00
Justin M. Keyes
276c2da286
API: nvim_source: fix multiline input
...
- DOCMD_REPEAT is needed to source all lines of input.
- Fix ":verbose set {option}?" by handling SID_STR in get_scriptname().
closes #8722
2019-12-01 16:09:24 -08:00
Vikram Pal
0a8d145075
API: nvim_source: save/restore script context #11159
...
Use a constant for the script id.
2019-12-01 16:09:24 -08:00
Siddhant Gupta
6aa03e86da
API: nvim_source
2019-12-01 16:09:24 -08:00
Justin M. Keyes
f6e7857c54
floatwin: show error if window is closed immediately #11476
...
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
2019-11-29 23:48:14 -08:00
Justin M. Keyes
fd5710ae9a
doc + extmarks tweaks #11421
...
- nvim_buf_get_extmarks: rename "amount" => "limit"
- rename `set_extmark_index_from_obj`
2019-11-25 01:08:02 -08:00
Dennis B
d5f14b8372
Clear 'cc' in nvim_open_win 'minimal' style #11361 ( #11427 )
...
* 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.
2019-11-22 10:55:04 +01:00
timeyyy
a9065a5051
nsmarks: initial commit
2019-11-11 19:43:15 +01:00
Justin M. Keyes
7a23b67d35
paste: Select-mode, Visual-mode #11360
...
fix #11344
2019-11-09 21:18:51 -08:00
Justin M. Keyes
9ef16a1628
doc: vim.fn, vim.call(), vim.api [ci skip]
2019-11-06 01:37:50 -08:00
Justin M. Keyes
efaf4732e2
lua/executor.c: use TRY_WRAP
2019-10-29 22:39:07 -07:00
Justin M. Keyes
ffdf8c4c12
Context: rename "buflist" => "bufs"
...
Given the other type names "jumps", "vars", etc., the name "buflist"
is somewhat unintuitive.
2019-09-14 18:57:35 -07:00
Justin M. Keyes
f2c75ef9b4
API: nvim_get_context: "opts" param
...
Since the parameter is already non-primitive, make it an `opts` map
instead of just a list, in case we want to extend it later.
2019-09-14 18:57:35 -07:00
Jan Edmund Lazo
6508215b5c
Remove excess <stdint.h>
2019-09-11 22:27:45 -04:00
Justin M. Keyes
06bfb07e35
doc
...
fix #10127
fix #5972
2019-09-11 00:10:27 -07:00
Justin M. Keyes
456f1d4bdd
doc: |api-fast| [ci skip]
2019-09-09 10:52:12 -07:00