mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
parent
cedf155fb5
commit
07db909eb5
@ -51,7 +51,7 @@ LSP
|
||||
• vim.lsp.buf_request_all The `error` key has been renamed to `err` inside
|
||||
the result parameter of the handler.
|
||||
• *vim.lsp.with()* Pass configuration to equivalent
|
||||
functions in `vim.lsp.buf.*'.
|
||||
functions in `vim.lsp.buf.*`.
|
||||
• |vim.lsp.handlers|
|
||||
No longer support client to server response handlers. Only server to
|
||||
client requests/notification handlers are supported.
|
||||
|
@ -227,7 +227,7 @@ LUA
|
||||
|
||||
• |vim.fs.rm()| can delete files and directories.
|
||||
• |vim.validate()| now has a new signature which uses less tables,
|
||||
is more peformant and easier to read.
|
||||
is more performant and easier to read.
|
||||
• |vim.str_byteindex()| and |vim.str_utfindex()| gained overload signatures
|
||||
supporting two new parameters, `encoding` and `strict_indexing`.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
*pi_netrw.txt* For Vim version 8.2. Last change: 2020 Aug 15
|
||||
*pi_netrw.txt* Nvim
|
||||
|
||||
------------------------------------------------
|
||||
NETRW REFERENCE MANUAL by Charles E. Campbell
|
||||
|
@ -1,4 +1,4 @@
|
||||
*pi_tar.txt* For Vim version 8.2. Last change: 2020 Jan 07
|
||||
*pi_tar.txt* Nvim
|
||||
|
||||
+====================+
|
||||
| Tar File Interface |
|
||||
|
@ -414,7 +414,7 @@ TUI:
|
||||
- 'term' reflects the terminal type derived from |$TERM| and other environment
|
||||
checks. For debugging only; not reliable during startup. >vim
|
||||
:echo &term
|
||||
- "builtin_x" means one of the |builtin-terms| was chosen, because the expected
|
||||
- "builtin_x" means one of the |builtin-terms| was chosen, because the expected
|
||||
terminfo file was not found on the system.
|
||||
- Nvim will use 256-colour capability on Linux virtual terminals. Vim uses
|
||||
only 8 colours plus bright foreground on Linux VTs.
|
||||
|
@ -1,6 +1,5 @@
|
||||
" Vim filetype plugin
|
||||
" Language: Nvim :checkhealth buffer
|
||||
" Last Change: 2022 Nov 10
|
||||
|
||||
if exists("b:did_ftplugin")
|
||||
finish
|
||||
|
@ -1,6 +1,5 @@
|
||||
-- Neovim filetype plugin file
|
||||
-- Language: Treesitter query
|
||||
-- Last Change: 2024 Jul 03
|
||||
|
||||
if vim.b.did_ftplugin == 1 then
|
||||
return
|
||||
|
@ -1,6 +1,5 @@
|
||||
-- Neovim indent file
|
||||
-- Language: Treesitter query
|
||||
-- Last Change: 2024 Jul 03
|
||||
|
||||
-- it's a lisp!
|
||||
vim.cmd([[runtime! indent/lisp.vim]])
|
||||
|
@ -1,6 +1,5 @@
|
||||
" Vim syntax file
|
||||
" Language: Nvim :checkhealth buffer
|
||||
" Last Change: 2022 Nov 10
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
|
@ -1,6 +1,5 @@
|
||||
-- Neovim syntax file
|
||||
-- Language: Treesitter query
|
||||
-- Last Change: 2024 Jul 03
|
||||
|
||||
-- it's a lisp!
|
||||
vim.cmd([[runtime! syntax/lisp.vim]])
|
||||
|
@ -303,7 +303,7 @@ static const char *highlight_init_both[] = {
|
||||
"default link @tag.builtin Special",
|
||||
|
||||
// :help
|
||||
// Higlight "===" and "---" heading delimiters specially.
|
||||
// Highlight "===" and "---" heading delimiters specially.
|
||||
"default @markup.heading.1.delimiter.vimdoc guibg=bg guifg=bg guisp=fg gui=underdouble,nocombine ctermbg=NONE ctermfg=NONE cterm=underdouble,nocombine",
|
||||
"default @markup.heading.2.delimiter.vimdoc guibg=bg guifg=bg guisp=fg gui=underline,nocombine ctermbg=NONE ctermfg=NONE cterm=underline,nocombine",
|
||||
|
||||
|
@ -1119,7 +1119,7 @@ int utf_char2bytes(const int c, char *const buf)
|
||||
/// stateful algorithm to determine grapheme clusters. Still available
|
||||
/// to support some legacy code which hasn't been refactored yet.
|
||||
///
|
||||
/// To check if a char would combine with a preceeding space, use
|
||||
/// To check if a char would combine with a preceding space, use
|
||||
/// utf_iscomposing_first() instead.
|
||||
///
|
||||
/// Based on code from Markus Kuhn.
|
||||
|
@ -228,7 +228,7 @@ static void set_init_default_backupskip(void)
|
||||
#endif
|
||||
{
|
||||
p = vim_getenv(names[i]);
|
||||
plen = 0; // will be calcuated below
|
||||
plen = 0; // will be calculated below
|
||||
}
|
||||
if (p != NULL && *p != NUL) {
|
||||
bool has_trailing_path_sep = false;
|
||||
|
@ -880,7 +880,7 @@ static void pum_adjust_info_position(win_T *wp, int height, int width)
|
||||
/// Used for nvim__complete_set
|
||||
///
|
||||
/// @param selected the selected compl item.
|
||||
/// @parma info Info string.
|
||||
/// @param info Info string.
|
||||
/// @return a win_T pointer.
|
||||
win_T *pum_set_info(int selected, char *info)
|
||||
{
|
||||
|
@ -47,7 +47,7 @@ struct TermKey {
|
||||
int canonflags;
|
||||
unsigned char *buffer;
|
||||
size_t buffstart; // First offset in buffer
|
||||
size_t buffcount; // NUMBER of entires valid in buffer
|
||||
size_t buffcount; // NUMBER of entries valid in buffer
|
||||
size_t buffsize; // Total malloc'ed size
|
||||
size_t hightide; // Position beyond buffstart at which peekkey() should next start
|
||||
// normally 0, but see also termkey_interpret_csi
|
||||
|
@ -32,7 +32,7 @@ describe('CompleteDone', function()
|
||||
feed('<Esc>')
|
||||
eq('cancel', eval('g:donereason'))
|
||||
end)
|
||||
it('when overriden by another complete()', function()
|
||||
it('when overridden by another complete()', function()
|
||||
call('complete', call('col', '.'), { 'bar', 'baz' })
|
||||
eq('cancel', eval('g:donereason'))
|
||||
end)
|
||||
|
@ -343,7 +343,7 @@ describe('startup', function()
|
||||
local screen = Screen.new(25, 3)
|
||||
-- Remote UI connected by --embed.
|
||||
-- TODO: a lot of tests in this file already use the new default color scheme.
|
||||
-- once we do the batch update of tests to use it, remove this workarond
|
||||
-- once we do the batch update of tests to use it, remove this workaround
|
||||
screen._default_attr_ids = nil
|
||||
command([[echo has('ttyin') has('ttyout')]])
|
||||
screen:expect([[
|
||||
|
@ -114,7 +114,7 @@ describe('vim.system', function()
|
||||
end)
|
||||
|
||||
if t.is_os('win') then
|
||||
it('can resolve windows command extentions.', function()
|
||||
it('can resolve windows command extensions', function()
|
||||
t.write_file('test.bat', 'echo hello world')
|
||||
system_sync({ 'chmod', '+x', 'test.bat' })
|
||||
system_sync({ './test' })
|
||||
|
@ -3499,7 +3499,7 @@ describe('LSP', function()
|
||||
}
|
||||
return vim.lsp.util.convert_signature_help_to_markdown_lines(signature_help, 'zig', { '(' })
|
||||
end)
|
||||
-- Note that although the higlight positions below are 0-indexed, the 2nd parameter
|
||||
-- Note that although the highlight positions below are 0-indexed, the 2nd parameter
|
||||
-- corresponds to the 3rd line because the first line is the ``` from the
|
||||
-- Markdown block.
|
||||
local expected = { 3, 4, 3, 11 }
|
||||
|
@ -544,7 +544,7 @@ describe('clipboard (with fake clipboard.vim)', function()
|
||||
]])
|
||||
feed('gg^<C-v>') -- Goto start of top line enter visual block mode
|
||||
feed('3ljy^k') -- yank 4x2 block & goto initial location
|
||||
feed('P') -- Paste it infront
|
||||
feed('P') -- Paste it before cursor
|
||||
expect([[
|
||||
aabbaabbcc
|
||||
ddeeddeeff
|
||||
|
Loading…
Reference in New Issue
Block a user