Justin M. Keyes
36d1335a66
UI: emit mouse_on/mouse_off on attach #11455
...
closes #11372
2019-11-25 08:56:42 -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
Anmol Sethi
4ce96e4979
man.vim: Hard wrap by default
...
Closes #11436
2019-11-24 20:31:46 -05:00
Anmol Sethi
078f279691
man.vim: Document how to disable bold highlighting
...
Closes #11435
2019-11-24 20:31:18 -05:00
Ashkan Kiani
42c53d266a
Merge remote-tracking branch 'origin/master' into lsp-followup
2019-11-23 14:28:54 -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
Ashkan Kiani
43d73ee884
Fix position params for encoding.
2019-11-21 15:41:32 -08:00
Ashkan Kiani
bcae04f6c6
Updates
...
- Use correct implementation of text_edits.
- Send indent options to rangeFormatting and formatting.
- Remove references to vim bindings and filetype from lsp.txt
- Add more examples to docs.
- Add before_init to allow changing initialize_params.
2019-11-21 15:19:06 -08:00
Ashkan Kiani
6a51401378
Merge remote-tracking branch 'origin/master' into lsp-followup
2019-11-21 10:04:32 -08:00
Ashkan Kiani
03eb88848c
Change callback resolution to be dynamic.
...
This allows default_callbacks to be specified after client creation to
be considered. Also it simplifies the code.
2019-11-20 16:09:03 -08:00
Ashkan Kiani
a4b7004f48
Move everything to buf & default_callbacks
...
- Rename builtin_callbacks to default_callbacks and slightly change its
semantics:
- No longer contains the default implementations. Instead, any
default_callbacks will be used in preference for our .buf methods.
- Add this to the docs.
2019-11-20 16:03:32 -08:00
Joe Hermaszewski
1ff5b60cb9
vim-patch:8.1.0251: support full paths for 'backupdir' #11269
...
Problem: Using a full path is supported for 'directory' but not for
'backupdir'. (Mikolaj Machowski)
Solution: Support 'backupdir' as well. (Christian Brabandt, closes vim/vim#179 )
https://github.com/vim/vim/commit/b782ba475a3f8f2b0be99dda164ba4545347f60f
2019-11-17 23:38:27 -08:00
Justin M. Keyes
af53a0c012
doc: Lua [ci skip] #11378
...
- Rework :help lua-commands
- Rename if_lua.txt => lua.txt
2019-11-17 19:06:59 -08:00
Jan Edmund Lazo
b83027858a
vim-patch:8.1.2289: after :diffsplit closing the window does not disable diff
...
Problem: After :diffsplit closing the window does not disable diff.
Solution: Add "closeoff" to 'diffopt' and add it to the default.
https://github.com/vim/vim/commit/c8234779790dd873acb88331c50988adf94cc383
2019-11-16 16:40:25 -05:00
Björn Linse
dab40f43b1
Add v:lua.func() vimL syntax for calling lua
...
Also simplify error messages when calling lua from vimL.
2019-11-16 22:33:21 +01:00
Jan Edmund Lazo
6989ac05f4
vim-patch:8.1.0927: USE_CR is never defined
...
Problem: USE_CR is never defined.
Solution: Remove usage of USE_CR. (Ken Takata, closes vim/vim#3958 )
https://github.com/vim/vim/commit/00590740081489db69f43d9f1c0e3f70e29ce6da
2019-11-13 19:25:39 -05:00
Ashkan Kiani
00dc12c5d8
lua LSP client: initial implementation ( #11336 )
...
Mainly configuration and RPC infrastructure can be considered "done". Specific requests and their callbacks will be improved later (and also served by plugins). There are also some TODO:s for the client itself, like incremental updates.
Co-authored by at-tjdevries and at-h-michael, with many review/suggestion contributions.
2019-11-13 21:55:26 +01:00
Justin M. Keyes
54473e9a67
doc [ci skip]
2019-11-11 22:12:59 -08:00
Justin M. Keyes
0190de9aab
Merge #11307 'Lua: vim.validate()'
2019-11-11 21:25:16 -08:00
Björn Linse
18a8b702c0
extmark: review changes
2019-11-11 20:18:15 +01:00
timeyyy
a9065a5051
nsmarks: initial commit
2019-11-11 19:43:15 +01:00
Justin M. Keyes
a0d992785f
Lua: Use vim.validate() instead of assert()
2019-11-10 23:43:49 -08:00
Marco Hinz
1cb4674547
api: add nvim_buf_get_virtual_text() ( #11354 )
...
This adds the missing partner function of nvim_buf_set_virtual_text().
2019-11-10 16:38:04 +01:00
Björn Linse
474d0bcbf7
lua: vim.rpcrequest, vim.rpcnotify, vim.NIL
2019-11-10 13:08:05 +01:00
Justin M. Keyes
9ef16a1628
doc: vim.fn, vim.call(), vim.api [ci skip]
2019-11-06 01:37:50 -08:00
Ashkan Kiani
c66297452c
doc: file-change-detect [ci skip]
2019-11-05 21:50:48 -08:00
Marco Hinz
610755ff62
Merge PR #11291 from shanesmith/vim-8.1.1256-take2
2019-11-04 12:28:31 +01: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 )
https://github.com/vim/vim/commit/8b530c1ff91f07cf6b0289a536992b7dfbc86598
2019-11-01 13:43:20 +09: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 )
https://github.com/vim/vim/commit/3ff33114d70fc0f7e9c3187c5fec9028f6499cf3
2019-10-27 23:43:47 -04: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
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 )
https://github.com/vim/vim/commit/c9cc9c78f21caba7ecb5c90403df5e19a57aa96a
2019-10-23 01:33:16 -04:00
Justin M. Keyes
9e4db2ef50
Merge #11199 from bobrippling/vim-8.1.1228
...
vim-patch:8.1.{1099,1228,1962} add 'tagfunc'
2019-10-22 20:27:35 -07:00
Rob Pilling
194f7bface
vim-patch:8.1.1228: not possible to process tags with a function
...
Problem: Not possible to process tags with a function.
Solution: Add tagfunc() (Christian Brabandt, Andy Massimino, closes vim/vim#4010 )
https://github.com/vim/vim/commit/45e18cbdc40afd8144d20dcc07ad2d981636f4c9
2019-10-22 20:13:02 +01:00
Justin M. Keyes
019c8d13dd
build/doc/CI: remove/update quickbuild references #11258
2019-10-19 18:04:08 -07:00
Justin M. Keyes
06a6828f01
Merge #11211 from jbradaric/vim-8.1.1585
...
vim-patch:8.1.{1585,1625,1723,1729}
2019-10-19 15:23:14 -07:00
Daniel Hahler
3de4dc539a
vim-patch:8.1.2180: Error E303 is not useful when 'directory' is empty ( #11257 )
...
Problem: Error E303 is not useful when 'directory' is empty.
Solution: Skip the error message. (Daniel Hahler, vim/vim#5067 )
https://github.com/vim/vim/commit/00e192becd50a38cb21a1bc3f86fcc7a21f8ee88
2019-10-19 14:11:31 -07:00
Jurica Bradaric
3b894b1cb1
vim-patch:8.1.1723: heredoc assignment has no room for new features
...
Problem: Heredoc assignment has no room for new features. (FUJIWARA Takuya)
Solution: Require the marker does not start with a lower case character.
(closes vim/vim#4705 )
https://github.com/vim/vim/commit/24582007294b0db3be9669d3b583ea45fc4f19b8
2019-10-13 11:54:54 +02:00
Jurica Bradaric
6c012b0624
vim-patch:8.1.1585: :let-heredoc does not trim enough
...
Problem: :let-heredoc does not trim enough.
Solution: Trim indent from the contents based on the indent of the first
line. Use let-heredoc in more tests.
https://github.com/vim/vim/commit/e7eb92708ec2092a2fc11e78703b5dcf83844412
2019-10-13 00:03:27 +02:00
Jan Edmund Lazo
51f2826f61
doc: update shellquote for powershell #11122
...
shellquote is not treated like shellxquote for non-quote values.
2019-10-10 01:16:02 -07:00
Jurica Bradaric
b1ada8ec21
vim-patch:8.1.1354: getting a list of text lines is clumsy
...
Problem: Getting a list of text lines is clumsy.
Solution: Add the =<< assignment. (Yegappan Lakshmanan, closes vim/vim#4386 )
https://github.com/vim/vim/commit/f5842c5a533346c4ff41ff666e465c85f1de35d5
2019-10-07 14:14:13 +02:00
Jan Edmund Lazo
d1abd6513e
vim-patch:8.1.0586: :digraph output is not easy to read
...
Problem: :digraph output is not easy to read.
Solution: Add highlighting for :digraphs. (Marcin Szamotulski, closes vim/vim#3572 )
Also add section headers for :digraphs!.
https://github.com/vim/vim/commit/eae8ae1b2b4e532b125077d9838b70d966891be3
2019-10-06 09:43:39 -04:00
Daniel Hahler
a341eb6087
win_line: update w_last_cursorline always
...
Vim patch 8.1.0856 (54d9ea6 ) caused a performance regression in Neovim,
when `set conceallevel=1 nocursorline` was used, since then due to
refactoring in 23c71d5 `w_last_cursorline` would never get updated
anymore.
Adds/uses `redrawdebug+=nodelta` for testing this.
Fixes https://github.com/neovim/neovim/issues/11100 .
Closes https://github.com/neovim/neovim/pull/11101 .
2019-10-04 08:48:57 +02:00
Jan Edmund Lazo
17e96d96ba
vim-patch:8.1.0514: CTRL-W ^ does not work when alternate buffer has no name
...
Problem: CTRL-W ^ does not work when alternate buffer has no name.
Solution: Use another method to split and edit the alternate buffer. (Jason
Franklin)
https://github.com/vim/vim/commit/1bbb61948342b5cf6e363629f145c65eb455c388
2019-10-01 22:27:43 -04:00
Björn Linse
dd26bd5974
screen: don't crash on invalid grid cells being recomposed
2019-09-30 19:05:54 +02:00
Björn Linse
3ffcb477ef
tree-sitter: start docs
2019-09-28 17:46:25 +02:00
Daniel Hahler
cb25207171
vim-patch:8.0.0914: highlight attributes are always combined ( #10256 )
...
Problem: Highlight attributes are always combined.
Solution: Add the 'nocombine' value to replace attributes instead of
combining them. (scauligi, closes vim/vim#1963 )
https://github.com/vim/vim/commit/0cd2a94a4030f6bd12eaec44db92db108e33c913
Closes https://github.com/neovim/neovim/pull/10256 .
2019-09-26 00:50:54 +02:00
Justin M. Keyes
1654932498
vim-patch:8.1.2060: "precedes" in 'listchars' not used properly
...
(Credit: Zach Wegner, https://github.com/neovim/neovim/pull/11034 )
Problem: "precedes" in 'listchars' not used properly.
Solution: Correctly handle the "precedes" char in list mode for long lines.
https://github.com/vim/vim/commit/bffba7f7042f6082e75b42484b15f66087b01941
2019-09-21 22:13:55 -07:00
Zach Wegner
18e5869f56
Fix "precedes" listchar behavior in wrap mode
...
Previously, the "precedes" character would be rendered on every row
when w_skipcol > 0 (i.e., when viewing a single line longer than the
entire screen), instead of just on the first row. Make sure to only
render it on the first row in this case.
Add a test for this behavior.
Fix documentation for the "precedes" character, which erroneously
stated that it was only active when wrap mode was off.
2019-09-21 22:09:52 -07:00
Jan Edmund Lazo
ca11662515
vim-patch:8.0.1539: no test for the popup menu positioning
...
Problem: No test for the popup menu positioning.
Solution: Add a screendump test for the popup menu.
https://github.com/vim/vim/commit/6bb2cdfe604e51eec216cbe23bb6e8fb47810347
2019-09-21 08:43:07 -04:00
Jan Edmund Lazo
8db9e82e3e
vim-patch:8.0.1770: assert functions don't return anything
...
Problem: Assert functions don't return anything.
Solution: Return non-zero when the assertion fails.
https://github.com/vim/vim/commit/65a5464985f980d2bbbf4e14d39d416dce065ec7
2019-09-16 23:42:44 -04:00