mirror of
https://github.com/neovim/neovim.git
synced 2026-04-02 13:49:27 +00:00
docs: misc (#38578)
This commit is contained in:
@@ -1110,9 +1110,9 @@ inside of strings can change! Also see 'softtabstop' option. >
|
||||
current line).
|
||||
|
||||
*:ip* *:iput*
|
||||
:[line]ip[ut] [x] like |:put|, but adjust indent to the current line
|
||||
:[line]ip[ut] [x] Like |:put|, but adjust indent to the current line.
|
||||
|
||||
:[line]ip[ut]! [x] like |:put|!, but adjust indent to the current line
|
||||
:[line]ip[ut]! [x] Like |:put|!, but adjust indent to the current line.
|
||||
|
||||
["x]]p or *]p* *]<MiddleMouse>*
|
||||
["x]]<MiddleMouse> Like "p", but adjust the indent to the current line.
|
||||
|
||||
@@ -349,7 +349,7 @@ GUIDELINES
|
||||
- CI runs tests in parallel via the `functionaltest-parallel` cmake target.
|
||||
- The Nvim test instance CWD is isolated to per "test group" (see
|
||||
`WORKING_DIRECTORY` in `cmake/RunTests.cmake`), so tests can write files to
|
||||
CWD without interferring with other tests running in parallel.
|
||||
CWD without interfering with other tests running in parallel.
|
||||
- Luajit needs to know about type and constant declarations used in function
|
||||
prototypes. The
|
||||
[testutil.lua](https://github.com/neovim/neovim/blob/master/test/unit/testutil.lua)
|
||||
|
||||
@@ -195,12 +195,12 @@ argument.
|
||||
|
||||
-es reads/executes stdin as Ex commands. >
|
||||
printf "put ='foo'\n%%print\n" | nvim -es
|
||||
|
||||
< -Es reads stdin as text (into buffer 1). Use |-c| or "+" to
|
||||
<
|
||||
-Es reads stdin as text (into buffer 1). Use |-c| or "+" to
|
||||
send commands. >
|
||||
printf "foo\n" | nvim -Es +"%print"
|
||||
|
||||
< These commands display on stdout:
|
||||
<
|
||||
These commands display on stdout:
|
||||
• :list
|
||||
• :number
|
||||
• :print
|
||||
@@ -427,7 +427,7 @@ argument.
|
||||
|
||||
To start the server on-demand with systemd, use a systemd
|
||||
socket unit and associated service unit running: >
|
||||
systemd-socket-proxyd --exit-idle-time
|
||||
systemd-socket-proxyd --exit-idle-time
|
||||
<
|
||||
==============================================================================
|
||||
Initialization *initialization* *startup*
|
||||
|
||||
@@ -285,7 +285,7 @@ static int load_terminfo(TermKeyTI *ti)
|
||||
}
|
||||
|
||||
// Finally mouse mode
|
||||
// This is overriden in nvim: we only want driver-csi mouse support
|
||||
// This is overridden in nvim: we only want driver-csi mouse support
|
||||
if (false) {
|
||||
const char *value = NULL;
|
||||
|
||||
|
||||
@@ -345,7 +345,7 @@ describe('vim._with', function()
|
||||
exec_lua,
|
||||
[[
|
||||
_G.f = function()
|
||||
error('This error should not interfer with execution', 0)
|
||||
error('This error should not interfere with execution', 0)
|
||||
end
|
||||
-- Should not produce error same as `vim.cmd('silent! lua _G.f()')`
|
||||
vim._with({ emsg_silent = true }, f)
|
||||
|
||||
@@ -3914,7 +3914,7 @@ func Test_complete_fuzzy_collect()
|
||||
call feedkeys("Gofuzzy\<C-X>\<C-N>\<C-N>\<C-N>\<C-N>\<CR>\<Esc>0", 'tx!')
|
||||
call assert_equal('completefuzzycollect', getline(line('.') - 1))
|
||||
|
||||
" keywords in 'dictonary'
|
||||
" keywords in 'dictionary'
|
||||
call writefile(['hello', 'think'], 'Xtest_dict.txt', 'D')
|
||||
set dict=Xtest_dict.txt
|
||||
call feedkeys("Sh\<C-X>\<C-K>\<C-N>\<CR>\<Esc>0", 'tx!')
|
||||
@@ -3932,7 +3932,7 @@ func Test_complete_fuzzy_collect()
|
||||
call assert_equal('fuzzycollect', getline('.'))
|
||||
|
||||
" when 'fuzzy' is not set, and 'infercase' and 'ignorecase' are set, then
|
||||
" uppercase completes from lowercase words in dictonary
|
||||
" uppercase completes from lowercase words in dictionary
|
||||
set completeopt&
|
||||
set infercase ignorecase
|
||||
call writefile(['hello'], 'Xtest_case.txt', 'D')
|
||||
|
||||
@@ -167,8 +167,8 @@ func Test_sign()
|
||||
|
||||
sign define Sign5 text=X\ linehl=Comment
|
||||
sign undefine Sign5
|
||||
" The use of execute in the next line is just to ensure the space for
|
||||
" the text value is obvious and does not get accidently deleted.
|
||||
" The use of :execute in the next line is just to ensure the space for
|
||||
" the text value is obvious and does not get accidentally deleted.
|
||||
execute "sign define Sign5 linehl=Comment text=X\ "
|
||||
sign undefine Sign5
|
||||
|
||||
|
||||
Reference in New Issue
Block a user