Tyson Andre
a4c41ba931
runtime/php: 1c6737b20a5cf71751b180461cea22fc76d8870c
...
Port php syntax file only.
Ref https://github.com/neovim/neovim/issues/12844
2020-12-19 12:39:10 -05:00
Tyson Andre
cd0a4040c4
runtime/php: 47e13953ffdbb9f163b901196dec8c2100b72edd
...
Port php syntax file only.
2020-12-19 12:39:07 -05:00
Tyson Andre
bec4172aa9
runtime/php: 5ef1c6a4838a9629b793f3ae676f72a764171b00
...
Port php syntax file only.
2020-12-19 12:39:04 -05:00
Kevin Svetlitski
46afc1def8
Add <Enter> to existing vim syntax highlighting for angle-bracket notation ( #13553 )
2020-12-19 10:22:50 -05:00
Björn Linse
2debabb080
Merge pull request #13355 from notomo/check-textlock-in-api
...
api: add textlock check
2020-12-16 15:40:21 +01:00
Björn Linse
5e202f69b3
Merge pull request #13367 from nvim-treesitter/offset-lang-injection
...
feat(treesitter): add offset predicate for language injection
2020-12-16 13:59:36 +01:00
notomo
93ba977793
docs: add check_textlock attribute
2020-12-16 21:57:24 +09:00
Thomas Vigouroux
25e20da550
feat(buffer_updates): allow ignoring when previewing
...
Also adds a test that we actually subscribe to buffer events when in
CMDPREVIEW.
2020-12-15 22:29:27 +01:00
Steven Sojka
929f194145
feat(treesitter): add offset predicate for language injection
...
refactor(treesitter): add directives to queries
2020-12-15 07:03:47 -06:00
erw7
82100a6bdb
healthcheck: fix health check issue with shada file ( #13291 )
...
- If the shada file is set with shada option n, use it.
- If the shadafile is NONE, it does not check for file read/write access.
- If the shada file does not exist, try to create it.
2020-12-13 21:49:29 -05:00
Matthew Nibecker
e8ae3ade77
Fix lsp tests breaking from new LuaJIT version
...
Apparently the new version of LuaJIT changed the consistency with which it
sorted table dictionaries. IIRC lua sorts dictionary keys by memory address, so
it would appear that the reasons tests were previously passing was because of
a differentiation in the implementation of the lua runtime.
Ensure that array fields in the lsp protocol tables are consistently created,
by using ipair when generating arrays for completionItemKind and
symbolItemKind.
For CodeActionKind, the current implementation includes both the keys and the
values in the array. This is incorrect. Ensure that only the values are
included in the array and sort them for consistency.
2020-12-13 21:03:27 -05:00
Jan Edmund Lazo
d5ab4b800c
vim-patch:8.1.1089: tutor does not check $LC_MESSAGES
...
Problem: Tutor does not check $LC_MESSAGES.
Solution: Let $LC_MESSAGES overrule $LANG. (Miklos Vajna, closes vim/vim#4112 )
b44b7add8a
2020-12-12 16:38:23 -05:00
Jan Edmund Lazo
4fa6aa90ad
runtime/javascript: 207f009326c8f878defde0e594d7d9ed9860106e
...
Port javascript and javascript react ftplugins only.
2020-12-12 11:40:25 -05:00
Jan Edmund Lazo
a8860b033f
runtime/javascript: e7b1ea0276cc83cd5c612f3189a174a60d57b5ed
...
Port javascript autocomplete file only.
2020-12-12 11:38:33 -05:00
Jan Edmund Lazo
a2f8a795cd
runtime/javascript: 388a5d4f20b4b64341d1604aa238cab85827b892
...
Port javascript syntax file only.
Ref https://github.com/neovim/neovim/issues/13185
2020-12-12 11:38:31 -05:00
Jan Edmund Lazo
552ff68349
runtime/javascript: 09c6f265b21065ffa9437837b1d0955137175e45
...
Port javascriptreact.vim syntax only.
Ref https://github.com/neovim/neovim/issues/13185
2020-12-12 11:38:28 -05:00
Jan Edmund Lazo
e2be382977
runtime/javascript: 5be4ceecea5520265066eac972460ebb1cdf05e7
...
Port javascript syntax files only.
Ref: https://github.com/neovim/neovim/issues/13185
2020-12-12 11:38:25 -05:00
Jan Edmund Lazo
062576f679
vim-patch:8.2.0047: cannot skip tests for specific MS-Windows platform ( #13461 )
...
Problem: Cannot skip tests for specific MS-Windows platform.
Solution: Add windowsversion().
0c1e3744ff
2020-12-11 19:45:22 -05:00
Thomas Vigouroux
99007bcc12
Merge pull request #13450 from nvim-treesitter/fix-unknown-language-parser
...
fix(treesitter): don't throw an error for missing injected langs
2020-12-10 11:12:39 +01:00
Edwin Pujols
de5372c8c0
man.vim: Add double click mapping.
2020-12-09 18:17:53 -04:00
Kevin Fleming
fb1c08a86f
doc: Fix incorrect LSP diagnostic-related helptags ( #13388 )
2020-12-09 11:21:16 +01:00
Olivier Roques
222a0452fa
doc: Add missing parameter end_pos for range_formatting ( #13481 )
2020-12-09 11:19:56 +01:00
TJ DeVries
08ec36efaf
feat: Allow incremental sync & lsp flags ( #13371 )
2020-12-08 21:09:33 -05:00
Sean Dewar
8329f624de
vim-patch:8.2.2106: TOML files are not recognized
...
Problem: TOML files are not recognized.
Solution: Match *.toml. (issue vim/vim#7432 )
b237ae7b83
2020-12-07 18:03:29 +00:00
Leandro Ostera
c86ba6dea4
Fix typo on treesitter.txt help page
2020-12-07 08:08:23 +01:00
Jan Edmund Lazo
a4e18e50ef
runtime/doc: strftime() is always available
2020-12-06 19:26:33 -05:00
Thomas Vigouroux
5855a3ea7b
Merge pull request #13449 from nvim-treesitter/fix-language-for-range
...
fix(treesitter): incorrect method name call
2020-12-06 23:27:38 +01:00
James McCoy
b940cbb858
Merge pull request #13417 from shade-of-noon/man_count.13411
...
runtime: Fix man.vim count handling.
2020-12-04 18:36:54 -05:00
Steven Sojka
e15c5f58df
fix(treesitter): don't throw an error for missing injected langs
2020-12-04 16:56:29 -06:00
Steven Sojka
2985c17867
fix(treesitter): incorrect method name call
2020-12-04 16:15:47 -06:00
Björn Linse
6c344a75d4
Merge pull request #13173 from tjdevries/tjdevries/option_info
...
api: add option metadata
2020-12-04 13:45:32 +01:00
TJ DeVries
ced951c2aa
api/options: fixup
2020-12-04 13:29:44 +01:00
Edwin Pujols
e8153ad9c2
man.vim: Set iskeyword explicitly.
...
This also fixes `:Man!`, which wasn't setting 'iskeyword' to contain
parentheses, etc.
2020-12-04 08:14:40 -04:00
Jan Edmund Lazo
2bcae20242
vim-patch:8.2.2085: Qt translation file is recognized as typescript
...
Problem: Qt translation file is recognized as typescript.
Solution: Check the first line for "<?xml". (closes vim/vim#7418 )
c0d670ce16
2020-12-03 18:58:30 -05:00
Mathias Fußenegger
f5e0f17968
lsp: Change diagnosticg.get_all to return {bufnr: Diagnostic[]} ( #13310 )
...
Allows users to associate the diagnostics with the right bufnr.
2020-12-03 14:22:15 -05:00
runiq
5c7141cc71
lsp: Make open_floating_preview buffers ephemeral ( #13437 )
...
Fixes #13429 .
2020-12-03 14:20:56 -05:00
eightpigs
fa73bb70fc
lsp: Fix "unsupported_method" error when the buffer does not have an LSP Server ( #13175 )
2020-12-03 01:00:54 -05:00
Björn Linse
72c22862dc
Merge pull request #12235 from dm1try/add_init_lua
...
add init.lua as an alternative user config
2020-12-01 18:54:50 +01:00
Björn Linse
f88c2490c7
Merge pull request #13425 from bfredl/secretcharm
...
ex_getln: add secret charm
2020-12-01 17:32:48 +01:00
dm1try
c65d3fd67b
doc: mention init.lua
...
use a generic name instead of "init.vim" in starting.txt
2020-12-01 10:51:31 +01:00
Yegappan Lakshmanan
e20ee69952
Update vim_diff.txt
2020-11-30 20:48:52 -08:00
Björn Linse
bed9839f46
ex_getln: add secret charm
...
Opt in to this secret world using
set wildchar=0
" already the default, but remove if non-zero existing config:
set wildcharm=0
now you can map 'wildmode' just like any mode:
cnoremap <tab> <c-z>
function! Spacey()
return getcmdline()[-1:] == "/" ? "\<bs>" : ""
endfunc
cnoremap <expr> / wildmenumode() ? Spacey()."/<c-z>" : "/"
Possibly asked questions:
What about backwards compatibility?
====
Just do nothing and your existing 'wildchar' and 'wildcharm' will keep working.
Doesn't `<c-z>` mean suspend?
====
Not in cmdline mode. If it would then the recommended wildcharm would not
have been `<c-z>` to start with.
My config relies on `:<c-z>` being a synonym to `:<nop>`!
====
just no.
2020-12-01 00:57:52 +01:00
Edwin Pujols
ba2e94d223
runtime: Fix man.vim count handling.
...
Here I use a negative number to decide whether the count has been
explicitly set. I think it unlikely that negative sections will ever be
created given that negative numbers complicate argument handling:
```
$ man -1 foo
man: invalid option -- '1'
```
and given that there's already precedence for alphanumeric sections like
`3p`, `3x`, `n`, etc.
---
This does work, though:
```
$ man -S -3 baz
```
With `man baz.-3` and `man 'baz(-3)'`, (GNU) man *might* consider `-3`
internally as a section, but in the end reports as if the whole
argument was the name of a topic:
```
$ man 'baz(-3)'
No manual entry for baz(-3)
```
---
Closes #13411 .
2020-11-29 19:56:15 -04:00
Jan Edmund Lazo
aec61074a9
Merge pull request #13404 from jarimayenburg/filetype_docker
...
[RDY] runtime: Updated Dockerfile syntax with latest from Vim upstream
2020-11-29 11:31:14 -05:00
Jari Maijenburg
abb61cd01a
runtime/dockerfile.vim: ebdf3c964a901fc00c9009689f7cfda478342c51
...
Port only dockerfile.vim from upstream
ebdf3c964a
2020-11-29 16:31:09 +01:00
Jari Maijenburg
ff1e3048cc
runtime/dockerfile.vim: 560979ed4f0216f902a2c247e937f00a27dcb198
...
Port only dockerfile.vim from upstream
560979ed4f
2020-11-29 16:30:31 +01:00
Damien Rajon
dc6593a84a
doc: fix lsp statusline examle ( #13286 )
...
Co-authored-by: Damien Rajon <damien@askmarty.io >
2020-11-29 14:24:52 +01:00
Yuki Ito
900228a20f
lsp: Reduce memory usage for buffering the message from LSP.
2020-11-29 06:49:44 +09:00
Jan Edmund Lazo
a35c54b2ae
vim-patch:8.2.0095: cannot specify exit code for :cquit ( #13407 )
...
Problem: Cannot specify exit code for :cquit.
Solution: Add optional argument. (Thinca, Yegappan Lakshmanan, closes vim/vim#5442 )
1860bde9d3
Co-authored-by: erw7 <erw7.github@gmail.com >
2020-11-28 21:28:57 +01:00
Jan Edmund Lazo
d956842751
Merge pull request #13397 from adrian5/filetype-gitrebase
...
runtime: Patch gitrebase filetype
2020-11-27 09:20:33 -05:00