Mathias Fussenegger
b73e653703
treesitter: Update to 0.19.3
2021-03-09 19:21:26 +01:00
Matthieu Coudron
5c4fbe34f9
Merge pull request #13993 from teto/gendoc
...
improve vimdoc generation
2021-03-07 17:20:09 +01:00
Michael Lingelbach
0496b572ac
Merge pull request #13919 from TheAlakazam/lsplogfix
...
fix: fix empty line in lsp log after each run
2021-03-06 09:40:57 -08: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
Lee Wannacott
ea99e7f2ab
Forgot to add colon to the {follow} parameters statement
2021-03-07 00:31:58 +13:00
Lee Wannacott
cde94598ed
Clarify that nvim_put()'s {after} and {follow} parameters expect boolean values true, or false.
2021-03-07 00:06:13 +13:00
Piyush Jaipuriyar
82c09f7c0b
lsp: add explicit entry on lsp log start
...
fix: address typo and review comments
2021-03-06 10:39:40 +05:30
Michael Lingelbach
3fbff98cfd
Merge pull request #13793 from mjlbach/fix_terminating_eol_diagnostic
...
[RDY] lsp: fix diagnostic reported on terminating EOL character
2021-03-05 07:27:50 -08:00
Andy K. Massimino
8601e8b0d6
vim-patch:8.2.1703: ":highlight clear" does not restore default link
...
Problem: ":highlight clear" does not restore default link.
Solution: Remember the default link and restore it. (Antony Scriven,
closes vim/vim#6970 , closes vim/vim#4405 )
213da551de
2021-03-05 01:45:54 -05:00
Jan Edmund Lazo
8f4b9b8b7d
Merge pull request #14048 from saadparwaiz1/runtime/haskell
...
Update Runtime Files For Haskell
2021-03-04 22:48:16 -05:00
Michael Lingelbach
58be81d645
lsp: don't invoke vim.notify on sigterm of language server
2021-03-04 13:50:49 -08:00
Michael Lingelbach
c50b737d6f
Merge pull request #14047 from mjlbach/feature/notify_on_crash
...
lsp: invoke vim.notify when client exits with code or signal other than 0
2021-03-04 12:27:46 -08:00
Michael Lingelbach
bdb2512325
lsp: invoke vim.notify when client exits with code or signal other than 0
2021-03-04 10:55:50 -08:00
Matthieu Coudron
55d6699dfd
chore: rename progress_callback to progress_handler
2021-03-04 15:42:05 +01:00
Volodymyr Kot
df4440024b
vim-patch:30e9b3c42567 ( #13936 )
...
Update runtime files
30e9b3c425
2021-03-03 18:19:01 -05:00
Saad Parwaiz
1888d9cbd0
runtime/haskell: 4f4d51a942cc2c6b3e936ee0f93f00c2d000065c
...
port syntax file only
2021-03-03 02:00:56 +00:00
Saad Parwaiz
6cfd5d7163
runtime/haskell: 8fe1000e9c3438d0ff36cf2340f0f0e48f8fb89f
...
port haskellcomplete file only
2021-03-03 01:55:43 +00:00
Saad Parwaiz
af0a9da975
runtime/cabal: 23515b4ef7580af8b9d3b964a558ab2007cacda5
...
port cabal, cabalconfig, cabalproject syntax file
2021-03-03 01:54:39 +00:00
Saad Parwaiz
4053b7b1ca
runtime/cabal: 4f4d51a942cc2c6b3e936ee0f93f00c2d000065c
...
port cabal syntax file only
2021-03-03 01:54:33 +00:00
Michael Lingelbach
db96edb58d
lsp: fix diagnostic reported on terminating EOL character
2021-03-02 09:42:00 -08:00
Jan Edmund Lazo
f32acc70e8
vim-patch:8.2.2236: 'scroll' option can change when setting the statusline
...
Problem: 'scroll' option can change when setting the statusline or tabline
but the option context is not updated.
Solution: Update the script context when the scroll option is changed as a
side effect. (Christian Brabandt, closes vim/vim#7533 )
746670604a
2021-03-02 00:35:52 -05:00
Jan Edmund Lazo
a5bacdbfb4
vim-patch:8.1.1901: the +insert_expand feature is not always available
...
Problem: The +insert_expand feature is not always available.
Solution: Graduate the +insert_expand feature.
e2c453d38f
2021-03-01 23:41:10 -05:00
David Zhang
365c353c9a
fix: show error when language server start fails and prevent future requests
2021-02-26 17:24:18 +08:00
Michael Lingelbach
0c7610cf9d
Merge pull request #14014 from mfussenegger/textDocumentSync
...
LSP: Resolve text_document_save capability according to spec
2021-02-25 10:25:14 -08:00
Jan Edmund Lazo
a2b6e5ed4e
Merge pull request #14004 from erw7/fix-fic
...
option: fix problem with fileignorecase not being set properly
2021-02-25 12:45:53 -05:00
Mathias Fussenegger
eff7666163
LSP: Resolve text_document_save capability according to spec
...
Fixes https://github.com/neovim/neovim/issues/13989
See https://github.com/microsoft/language-server-protocol/issues/288
2021-02-25 10:08:14 +01:00
erw7
6deabca3e7
eval: add fname_case to feature list
2021-02-25 13:50:31 +09:00
Mathias Fussenegger
b5292a047d
Update lsp and api docs with gen_vimdoc changes
...
Applies the changes generated with ./scripts/gen_vimdoc.py to add
missing documentation.
2021-02-24 23:44:52 +01:00
Chris Kipp
7d82aaa6f5
[LSP] Add in more docs for highlight groups with document_highlight() ( #13614 )
...
Currently it's not 100% clear that without setting these, using the autocomds
to utilize the `textDocument/documentHighlight` functionality, nothing will
actually be visible since the highlight groups don't have any details. This
just adds in a couple simple extra notes to make sure that's done
2021-02-24 17:23:47 +01:00
Simon Hauser
6b7cc45c48
fix: treesitter languagetree crash when using telescope buffer previewer ( #13986 )
2021-02-23 21:39:35 -05:00
kuuote
0450e155d4
vim-patch:8.2.2233: cannot convert a byte index into a character index ( #13978 )
...
Problem: Cannot convert a byte index into a character index.
Solution: Add charidx(). (Yegappan Lakshmanan, closes vim/vim#7561 )
17793ef23a
2021-02-22 20:13:14 -05:00
Matthieu Coudron
9d5f842807
lsp: remove deprecated references to 'callbacks' ( #13945 )
...
vim.lsp.callbacks was deprecated a few months ago. This is a cleanup before the release.
Use vim.lsp.handlers instead.
2021-02-23 00:02:51 +01:00
Matthieu Coudron
46a58b74f4
feat(lsp): use vim.notify for some errors ( #13992 )
2021-02-22 23:31:12 +01:00
erw7
66b0ab0883
vim-patch:8.1.1310: named function arguments are never optional
...
Problem: Named function arguments are never optional.
Solution: Support optional function arguments with a default value. (Andy
Massimino, closes vim/vim#3952 )
42ae78cfff
2021-02-22 09:16:41 -05:00
Jan Edmund Lazo
595f6e4d64
vim-patch:8.2.2070: can't get the exit value in VimLeave(Pre) autocommands ( #13981 )
...
Problem: Can't get the exit value in VimLeave or VimLeavePre autocommands.
Solution: Add v:exiting like in Neovim. (Yegappan Lakshmanan, closes vim/vim#7395 )
f0068c5154
Rearrange VimVarIndex enums and vimvars[] entries to sync with Vim.
N/A patches for version.c:
vim-patch:8.2.2535: MS-Windows: cannot run all vim9 tests
Problem: MS-Windows: cannot run all vim9 tests.
Solution: Make test_vim9 target work.
723ef5db98
2021-02-20 23:45:14 -05:00
Mathias Fußenegger
1caf58578c
lsp: Fix text edits operating on the last line of a document ( #13677 )
...
`lines` can be empty, in which case `#lines[#lines]` failed with an
error:
lsp/util.lua:214: attempt to get length of a nil value
2021-02-19 22:20:42 -05:00
Michael Lingelbach
b2fcfc65b7
lsp: client stop cleanups ( #13877 )
...
* lsp: client stop cleanups
* Add diagnostic clearing to client.stop() method used by nvim-lspconfig
* Clear diagnostic cache to prevent stale diagnostics on client restart
* lsp: Add test for vim.lsp.diagnostic.reset
2021-02-19 22:05:49 -05:00
Jan Edmund Lazo
b46a92f519
runtime/tar: 23515b4ef7580af8b9d3b964a558ab2007cacda5
...
Port tar files only in order to support '*.tar.zst' files.
Close https://github.com/neovim/neovim/pull/13337
2021-02-17 23:59:17 -05:00
Jan Edmund Lazo
d3c6f74498
runtime/tar: 8024f936368336241406137a2fa78ed5ee9000a6
...
Port tar runtime files only.
2021-02-17 23:54:40 -05:00
Jan Edmund Lazo
1d84277738
runtime/tar: 2963456ff2b740244b3a064785fe681b1998d75e
...
Port tar files for release v31 only.
2021-02-17 23:39:37 -05:00
Brian Ryall
18f90336cb
vim-patch:8.2.2523: Svelte filetype not recognized ( #13961 )
...
Problem: Svelte filetype not recognized.
Solution: Add a detection rule. (Brian Ryall, closes vim/vim#7858 )
c0fcb6e0b1
2021-02-18 00:22:48 +01:00
Brian Ryall
64b7d7ae78
vim-patch:8.2.2522: Beancount filetype not recognized ( #13960 )
...
Problem: Beancount filetype not recognized.
Solution: Add a detection rule. (Brian Ryall, closes vim/vim#7859 )
9bbd883b35
2021-02-18 00:20:07 +01:00
Björn Linse
d623400cad
Merge pull request #13944 from chentau/on_bytes_doc
...
Doc: update documentation for on_bytes
2021-02-17 13:14:18 +01:00
chentau
d966e0142d
Doc: update documentation for on_bytes
2021-02-17 00:47:19 -08:00
Jakub Łuczyński
4bc74c2431
netrw: move netrw_home to XDA_DATA_HOME ( #13939 )
2021-02-16 21:21:43 -05:00
Yegappan Lakshmanan
03383ee27b
doc: Update vim_diff.txt ( #13954 )
...
Update vim_diff.txt to reflect the following patches:
patch 8.1.1113: making an autocommand trigger once is not so easy
patch 8.2.2128: there is no way to do something on CTRL-Z
patch 8.2.2508: cannot change the character displayed in non existing lines
patch 8.2.2518: 'listchars' should be window-local
2021-02-16 19:50:06 +01:00
Jan Edmund Lazo
44dac91501
runtime/netrw: 207f009326c8f878defde0e594d7d9ed9860106e
...
Port runtime/doc/pi_netrw.txt only.
2021-02-16 07:58:05 -05:00
Jan Edmund Lazo
d29553d4a9
runtime/netrw: 8024f936368336241406137a2fa78ed5ee9000a6
...
Port runtime/doc/pi_netrw.txt only.
2021-02-16 07:55:03 -05:00
Jan Edmund Lazo
44ba77e589
runtime/netrw: 2963456ff2b740244b3a064785fe681b1998d75e
...
Port netrw files for release v168 only.
2021-02-16 07:51:25 -05:00
Jan Edmund Lazo
8d2c76c80c
runtime/netrw: 469bdbde1e8ea8110705327ab193acca79296742
...
Port runtime/doc/pi_netrw.txt only.
2021-02-15 21:32:28 -05:00