| Commit message (Collapse) | Author | Age |
| | |
|
| |
|
|
|
|
|
|
|
|
| |
The Sumneko Lua language server has matured quite a bit and many
Neovim developers use it while working on Neovim. Having a default
configuration for Neovim development is a nice convenience (and
dovetails well with the auto-generated compile_command.json for C
development).
The file is shipped under `contrib` and users can make use of it by
symlinking to `.luarc.json` in the project root.
|
| | |
|
| |
|
|
|
|
|
|
| |
Update runtime files
https://github.com/vim/vim/commit/47e13953ffdbb9f163b901196dec8c2100b72edd
Ignore *.rej files, generated by vim-patch.sh.
Source of mistakes for 1st-time contributors.
|
| | |
|
| |
|
|
|
|
|
|
| |
I build Vim and Nvim from source and have both repos cloned locally. To prevent
vim-patch.sh from downloading the Vim source once again to /.vim-src/, I usually
use a symlink pointing to the already existing Vim repo.
The pattern "/.vim-src" works for both, a directory or a symlink.
|
| |
|
|
| |
PR https://github.com/neovim/neovim/pull/14063 added it by mistake.
|
| |
|
|
|
|
| |
While standard library is cached to a user's directory such as
$XDG_CACHE_HOME, directory-specific clangd indexes are stored to .cache
subdirectory.
https://github.com/llvm/clangd-www/blob/main/design/indexing.md#backgroundindex
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- remove redundant autocmd list
This "grouped" list is useless, it only gets in the way when searching
for event names.
- intro.txt: cleanup
- starting.txt: update, revisit
- doc: `:help bisect`
- mbyte.txt: update aliases 1656367b90bd. closes #11960
- options: remove 'guifontset'. Why:
- It is complicated and is used by almost no one.
- It is unlikely to be implemented by Nvim GUIs (complicated to parse,
specific to Xorg...).
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix some small doc issues
* doc: fixup
* doc: fixup
* Fix lint and rebase
* Remove bad advice
* Ugh, stupid mpack files...
* Don't let people include these for now until they specifically want to
* Prevent duplicate tag
|
| |
|
|
|
|
| |
Problem: Typos and other small things.
Solution: Small fixes.
https://github.com/vim/vim/commit/f48ee3c28488f7c361732316f905ac420b3d8087
|
| |
|
|
| |
- Rework :help lua-commands
- Rename if_lua.txt => lua.txt
|
| |
|
|
|
|
| |
Problem: "make test" for indent files doesn't cause make to fail.
Solution: Exit the script with ":cquit". (Daniel Hahler, closes vim/vim#4949)
https://github.com/vim/vim/commit/cd67059c0c3abf1e28aa66458abdf6f338252eb2
|
| | |
|
| |
|
|
|
| |
Ignore output files from indent tests.
https://github.com/vim/vim/commit/c33181c44ccb86637e011f35cc0397a2d76e23ae
|
| | |
|
| | |
|
| |
|
|
| |
ref #9924
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
closes #9136
- Treat empty {rhs} like <Nop>
- getchar.c: Pull "repl. MapArg termcodes" into func
The "preprocessing code" surrounding the replace_termcodes calls needs
to invoke replace_termcodes, and also check if RHS is equal to "<Nop>".
To reduce code duplication, factor this out into a helper function.
Also add an rhs_is_noop flag to MapArguments; buf_do_map_explicit
expects an empty {rhs} string for "<Nop>", but also needs to distinguish
that from something like ":map lhs<cr>" where no {rhs} was provided.
- getchar.c: Use allocated buffer for rhs in MapArgs
Since the MAXMAPLEN limit does not apply to the RHS of a mapping (or
else an RHS that calls a really long autoload function from a plugin
would be incorrectly rejected as being too long), use an allocated
buffer for RHS rather than a static buffer of length MAXMAPLEN + 1.
- Mappings LHS and RHS can contain literal space characters, newlines, etc.
- getchar.c: replace_termcodes in str_to_mapargs
It makes sense to do this; str_to_mapargs is, intuitively, supposed to
take a "raw" command string and parse it into a totally "do_map-ready"
struct.
- api/vim.c: Update lhs, rhs len after replace_termcodes
Fixes a bug in which replace_termcodes changes the length of lhs or rhs,
but the later search through the mappings/abbreviations hashtables
still uses the old length value. This would cause the search to fail
erroneously and throw 'E31: No such mapping' errors or 'E24: No such
abbreviation' errors.
- getchar: Create new map_arguments struct
So that a string of map arguments can be parsed into a more useful, more
portable data structure.
- getchar.c: Add buf_do_map function
Exactly the same as the old do_map, but replace the hardcoded references
to the global `buf_T* curbuf` with a function parameter so that we can
invoke it from nvim_buf_set_keymap.
- Remove gettext calls in do_map error handling
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
vimrc_example.vim is not relevant to Nvim. Anything worth having in
there should be made an actual default.
.gitignore:
- remove *.orig ... super annoying
|
| | |
|
| | |
|
| |
|
|
| |
Closes #6291
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
nvim is a dependency of the main tags task, and it's very unlikely that
one would need to build tags without having nvim available.
|
| |
|
|
|
|
|
|
| |
Vim creates these scripts in test1 depending on what build features
are enabled so that tests that use these features are skiped if
necessary. Because Neovim only has one type of build (and the features
+eval, +windows, and +multi-byte are enabled in this build) they are
not necessary.
|
| |
|
|
|
|
| |
Update gitignore for files created when running tests.
https://github.com/vim/vim/commit/40a346dc19a75f2be1b2d491053487cf365dd7d4
|
| | |
|
| |
|
|
| |
It's generated by `make lint`.
|
| |
|
|
| |
refs #3687
|
| |
|
|
|
| |
- the man stuff hasn't been needed since 0086c0a
- "runtime/doc/tags" is already covered by "tags"
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Also expand the rule in .gitignore to block other forms of swap files.
|
| |
|
|
| |
refs #1875
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
- Fix executable path.
- Make po file title similar as others.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix some paths to new locations:
- Makefile: Fix nvim binary path.
- test49 : 459: Fix nvim binary path.
- test89 : 62: Fix testdir root.
Fix corresponding expected result.
- test105 : 10: Testing fnamemodify to reduce path to use ~ prefix.
Fix faked home directory.
Fix corresponding expected result.
26: Testing fnamemodify with r modifier.
Fix out-of-project prefix removal.
Fix corresponding expected result.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This feature was accidentally removed when doing the initial import from vim. It
makes vim use pipes instead of temporary files for filtering buffers through
shell commands.
I found that this was missing when looking for references of
SHELL_READ/SHELL_WRITE outside mch_call_shell`.
When `mch_call_shell` is reimplemented on top of libuv process management
facilities, pipes will always be used for communication with child processes so
it makes sense to enable the feature permanently.
|
| |
|
|
|
| |
Use preprocessor trick proposed by @mahkoh to import 'defines' like
S_IRUSR.
|
| |
|
|
|
|
|
|
|
|
|
| |
- Valgrind configuration removed
- Fix errors reported by the undefined behavior sanitizer
- Travis will now run two build steps:
- A normal build of a shared library for unit testing(in parallel with gcc)
- A clang build with some sanitizers enabled for integration testing.
After these changes travis will run much faster, while providing valgrind-like
error detection.
|