| Commit message (Collapse) | Author | Age |
|
|
| |
Closes #5178
|
|
|
|
|
|
|
|
|
| |
Problem: When switching to a new buffer and an autocommand applies syntax
highlighting an ml_get error may occur.
Solution: Check "syn_buf" against the buffer in the window. (Alexander von
Buddenbrock, closes vim/vim#676)
https://github.com/vim/vim/commit/b681be175b6991cdc2b8ddd49b0e97e3fe2b201e
|
|
|
|
|
|
|
|
|
| |
'inccommand' allows us to expand the feature to other commands, such as:
:cdo
:cfdo
:global
Also rename "IncSubstitute" highlight group to "Substitute".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Eliminate/isolate static/global variables
- Remove special-case parameter from buflist_new()
- Remove special-case ECMD_RESERVED_BUFNR
- To determine when u_undo_and_forget() should be done, check
b_changedtick instead of a heuristic.
- use mb_string2cells() instead of strlen() to measure the :sub patterns
- call ml_close() before buf_clear_file(). Avoids leaks caught by ASan.
Original patch by:
Robin Elrharbi-Fleury (Robinhola)
Audrey Rayé (Adrey06)
Philémon Hullot (DesbyP)
Aymeric Collange (aym7)
Clément Guyomard (Clement0)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Originally implemented by
* Clement0
* DesbyP
* aym7
* Adrey06
* Robinhola
in #4811. Major reworkings and bug
fixes by
* bfredl
Most tests suggested by ZyX-l, suggestions for improvements by oni-link.
|
|
|
|
| |
Helped-by: Daniel Hahler <git@thequod.de>
|
|
|
|
|
|
|
|
| |
Problem: Getting a cterm highlight attribute that is not set results in the
string "-1".
Solution: Return an empty string. (Taro Muraoka)
https://github.com/vim/vim/commit/385111bd86e0b38667879c3e89506ca1ae98e1df
|
|
|
|
| |
Refresh colors if changing Normal group
|
|
|
|
|
|
|
|
|
|
| |
move `call_shell` to misc1.c
Move some fns to state.c
Move some fns to option.c
Move some fns to memline.c
Move `vim_chdir*` fns to file_search.c
Move some fns to new module, bytes.c
Move some fns to fileio.c
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Links to Search by default
screen.c: Combine CursorLine with QuickFixLine
- HLF_QFL takes priority over HLF_CUL
docs: Updated to mention QuickFixLine
runtime: Added QuickFixLine to nvimHLGroup
tests: QuickFixLine highlight
|
|
|
|
|
| |
syntax.c: Added syn_get_concealed_id()
tests: Added tests for mouse clicks on concealed text.
|
| |
|
|
|
|
|
|
|
| |
Problem: ":colorscheme" does not use 'packpath'.
Solution: Also use in "start" and "opt" directories in 'packpath'.
https://github.com/vim/vim/commit/7f8989dd8a627af2185df381195351a913f3777f
|
|
|
|
|
|
|
|
|
|
| |
add tests for synIDattr() with [fg|bg|sp]#
add tests for synIDattr and various #RGB colors
synIDattr: test for ui_rgb_attached()
test: fix tests for synIDattr fg/bg/sp
|
| |
|
|
|
|
|
|
|
| |
Problem: ":syn reset" clears the effect ":syn iskeyword". (James McCoy)
Solution: Remove clearing the syntax keywords.
https://github.com/vim/vim/commit/8bc189e81aa98ba4aebb03a9dc9527a210fce816
|
|
|
|
|
|
|
| |
Problem: Cannot define keyword characters for a syntax file.
Solution: Add the ":syn iskeyword" command. (Christian Brabandt)
https://github.com/vim/vim/commit/b8060fe862f684b591f9ac679eac5b2594d6c5a0
|
|
|
|
| |
Closes #4767
|
|\
| |
| |
| |
| | |
Closes #2040
Closes #3370
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
| |
Problem: Only terminals with up to 256 colors work properly.
Solution: Use the 256 color behavior for all terminals with 256 or more
colors. (Robert de Bath)
https://github.com/vim/vim/commit/fa03fd6c4a9fe05274d62ddefd645cb5801d2023
|
|\
| |
| |
| |
| |
| |
| | |
Fix linking a cleared highlight group
Closes #4549
Closes #2756
Closes #4236
|
| | |
|
|\ \
| | |
| | | |
vim-patch:7.4.1052
|
| |/
| |
| |
| |
| |
| |
| | |
Problem: Illegal memory access with weird syntax command. (Dominique Pelle)
Solution: Check for column past end of line.
https://github.com/vim/vim/commit/04bff88df6211f64731bf8f5afa088e94496db16
|
|/
|
|
|
|
|
| |
Problem: Illegal memory access.
Solution: Check for missing pattern. (Dominique Pelle)
https://github.com/vim/vim/commit/2795e21eaafaeaf95a91667fd411023280d0f902
|
|
|
|
| |
Originally there were 128 new errors, so I thought this is a good idea to fix
all of them. Of course, this commit also fixes many suppressed errors.
|
| |
|
|
|
|
|
|
|
|
| |
Problem: Using searchpair() with a skip expression that uses syntax
highlighting sometimes doesn't work. (David Fishburn)
Solution: Reset next_match_idx. (Christian Brabandt)
https://github.com/vim/vim/commit/6773a348da0dcf45df3c6c6649880655ec0d2042
|
|
|
|
| |
Harmless issue, but doesn't hurt to satisfy coverity here.
|
|
|
|
|
|
|
| |
- `syntax_on` is documented. Rather than introduce a new undocumented
VimL global `g:syntax_off`, use a module-local flag.
- Rename "maybe" functions to follow style guidelines (use standard
module prefix)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Crash when using "syn keyword x c". (Dominique Pelle)
Solution: Initialize the keyword tabble. (Raymond Ko, PR 397)
https://github.com/vim/vim/commit/670acbc70f371409b46b722bd9a1166e53574f42
---
see: "fix crash due to hash table not being initialized"
https://github.com/vim/vim/pull/397
To reproduce:
```sh
nvim -u NONE -c ow -c 'sy keyword x c'
```
|
|
|
|
|
|
|
|
|
|
| |
The ported patch for 7.4.825 removed code that is needed to walk over "]" by
accident.
0: https://github.com/neovim/neovim/commit/52692d3cd3e682a4116d3cec1fcf05880f0c77a1
1: https://github.com/vim/vim/commit/1560d07045d416d0abf9731c43c28925f61515b6
Fixes #4207.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Invalid memory access for ":syn keyword x a[".
Solution: Do not skip over the NUL. (Dominique Pelle)
https://github.com/vim/vim/commit/1560d07045d416d0abf9731c43c28925f61515b6
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Illegal memory access with "sy match a fold".
Solution: Check for empty string. (Dominique Pelle)
https://github.com/vim/vim/commit/382197865ca8353a3d6681a364f95bda6aed95ec
|
|/
|
|
|
|
|
| |
Problem: Spelling mistakes are not displayed after ":syn spell".
Solution: Force a redraw after ":syn spell" command. (Christian Brabandt)
https://github.com/vim/vim/commit/5081d202475328a920c0bdcab990e8da84128c13
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Regarding the individual items in the header:
`Vim - Vi improved by Bram Moolenar`
Bram Moolenar is already mentioned throughout the documentation, as
well as the intro screen.
`:help uganda`
It's already shown to all users who don't use `shortmess+=I` upon
starting nvim, and is already placed prominently in help.txt, i.e.,
`:help` run with no arguments.
`:help credits`
Already mentioned near the top of help.txt.
`README.md`
Already mentioned in develop.txt.
|
| |
|
|
|
|
|
| |
The former no longer exists in this repo; see the top of
src/nvim/README.md.
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem: When using ":ownsyntax" spell checking is messed up. (Issue 78)
Solution: Use the window-local option values. (Christian Brabandt)
https://github.com/vim/vim/commit/v7-4-524
See also https://code.google.com/p/vim/issues/detail?id=78
|
|
|
|
|
|
|
|
|
| |
Problem: Crash when using syntax highlighting.
Solution: When regprog is freed and replaced, store the result.
https://github.com/vim/vim/tree/v7-4-519
Helped-by: Scott Prager <splinterofchaos@gmail.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
We already use wrappers for allocation, the new `xfree` function is the
equivalent for deallocation and provides a way to fully replace the malloc
implementation used by Neovim.
|
|
|
|
|
|
|
|
|
|
|
|
| |
The CENT macro was set condionally depending on the FEAT_GUI constant that was
removed a long time ago.
Other small refactorings:
- remove obsolete TERM= flags
- sort and indent lines in array for readability
- 'Conceal' and 'WildMenu' were moved from highlight_init_{dark,light}[]
to highlight_init_both[] since the same values were used anyway
|