aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | Merge pull request #15434 from Dkendal/feature-lua-treesitter-siblingThomas Vigouroux2021-08-23
|\ \ \ | | | | | | | | feat(treesitter): add next, prev sibling method
| * | | feat(treesitter): add next, prev sibling methodDylan Kendal2021-08-20
| | | | | | | | | | | | | | | | | | | | Add tsnode methods to change to the next, previous, named or unnamed nodes.
* | | | fix(window.c): win_close from other tabpage #15454notomo2021-08-22
| | | | | | | | | | | | Fix #15313
* | | | vim-patch:8.2.3358: structurizr files are not recognized (#15417)Jesse Atkinson2021-08-22
| | | | | | | | | | | | | | | | | | | | Problem: Structurizr files are not recognized. Solution: Recognize the file by contents. (Bastian Venthur, closes vim/vim#8764) https://github.com/vim/vim/commit/dea561111a5761bf99397a246b8baa43e73288de
* | | | docs: make Lua docstrings consistent #15255Gregory Anders2021-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The official developer documentation in in :h dev-lua-doc specifies to use "--@" for special/magic tokens. However, this format is not consistent with EmmyLua notation (used by some Lua language servers) nor with the C version of the magic docstring tokens which use three comment characters. Further, the code base is currently split between usage of "--@", "---@", and "--- @". In an effort to remain consistent, change all Lua magic tokens to use "---@" and update the developer documentation accordingly.
* | | | refactor(map): remove extra-allocating map_new/map_free functionsBjörn Linse2021-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: the reason for removing them is not that there after this refactor is no use of them, but rather that having them available is an anti-pattern: they manange an _extra_ heap allocation which has nothing to do with the functionality of the map itself (khash manages the real buffers internally). In case there happens to be a reason to allocate the map structure itself later, this should be made explicit using xcalloc/xfree calls.
* | | | refactor: replace TRUE/FALSE with true/false #15425dundargoc2021-08-22
| | | |
* | | | Merge pull request #15451 from bfredl/metamapBjörn Linse2021-08-22
|\ \ \ \ | | | | | | | | | | perf(map): get rid of unnecessary pointer indirections for maps.
| * | | | refactor(api): remove unneccesary indirection around handlesBjörn Linse2021-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | These things are just maps to pointers, no need to perform a huge song and dance around it.
| * | | | refactor(marktree): embed the keymap in the MarkTree structBjörn Linse2021-08-22
| | | | |
| * | | | refactor(map): get rid of spurious subsystem_init() functions due to mapsBjörn Linse2021-08-22
| | | | |
| * | | | refactor(extmark): remove pointer indirection for extmark use of mapsBjörn Linse2021-08-22
| | | | |
| * | | | refactor(syntax): don't use pointer indirected maps for no reasonBjörn Linse2021-08-22
| | | | |
| * | | | perf(map): reduce double pointer indirection to single pointer indirectionBjörn Linse2021-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | the only field of Map(...) was a pointer to a khash_t. make it contain the struct by value instead.
* | | | | feat(api): add lua C bindings for xdiff (#14536)Lewis Russell2021-08-22
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat(api): add lua C bindings for xdiff * chore: opt.hunk_lines -> opt.result_type opt.on_hunk now takes precedence over opt.result_type * chore: fix indents Fix indents * chore: change how priv is managed Assign priv NULL and unconditionally apply XFREE_CLEAR to it when finished.
* | | | docs #15447Justin M. Keyes2021-08-21
| | | | | | | | | | | | | | | | | | | | - update ":help 'hidden'" #15410 - update ":help K" #15398 - try to capture some of the debug steps from #12036 (bpftrace, USDT probes)
* | | | feat(keywordprg): use :terminal for external commands #15398Gregory Anders2021-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Open external 'keywordprg' commands in a :terminal in a new tab. <Esc> is mapped to stop the job and close the buffer. Closes #2995 Closes #2761
* | | | feat(terminal): TermClose: set exit code in v:event.status #15406Gregory Anders2021-08-20
| | | | | | | | | | | | Closes #4713
* | | | Merge pull request #15295 from gpanders/ftdetectBjörn Linse2021-08-20
|\ \ \ \ | |/ / / |/| | | fix: only source package ftdetect files once
| * | | fix: only source package ftdetect files onceGregory Anders2021-08-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ftdetect files in start packages are sourced once from the :runtime command in filetype.vim and once when packages are loaded. Change the package loading logic to only source ftdetect files for opt packages to avoid this duplication.
* | | | Merge pull request #15422 from bfredl/syn_name2id_go_brrBjörn Linse2021-08-19
|\ \ \ \ | | | | | | | | | | feat(highlights): some improvements and perf fixes
| * | | | perf(highlight): use a hashtable for highlight group namesBjörn Linse2021-08-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | syn_name2id and syn_check_group go brr. Note: this has impact mostly when using multiple filetypes, as the old syn_name2id was optimized to return latest added groups quickly (which will be the latest filetype)
| * | | | feat(match): allow hl group to be defined after :match commandBjörn Linse2021-08-19
| | | | |
| * | | | refactor(highlight): make syn_check_group alloc free for existing groupBjörn Linse2021-08-18
| | | | |
* | | | | Merge #15410 defaults: 'hidden', 'nojoinspaces'Justin M. Keyes2021-08-19
|\ \ \ \ \ | |/ / / / |/| | | | ref #6289
| * | | | test: update tests to work with 'hidden'Gregory Anders2021-08-18
| | | | |
| * | | | feat(defaults): set nojoinspacesGregory Anders2021-08-17
| | | | |
| * | | | feat(defaults): set hiddenGregory Anders2021-08-17
| | | | |
* | | | | Merge pull request #15249 from dundargoc/refactor/a-song-of-true-and-falseBjörn Linse2021-08-18
|\ \ \ \ \ | |/ / / / |/| | | | refactor: replace TRUE/FALSE with true/false
| * | | | refactor: replace TRUE/FALSE with true/falseDundar Göc2021-08-12
| | |/ / | |/| |
* | | | refactor(options): remove vi/vim default value distinctionGregory Anders2021-08-17
| | | |
* | | | feat: defaults: set undo points in <C-U> and <C-W> (#15400)Gregory Anders2021-08-16
| | | |
* | | | feat(defaults): remove 'options' from viewoptions #15397Gregory Anders2021-08-16
| | | | | | | | | | | | ref #6289
* | | | feat(defaults): switchbuf=uselast #15394Gregory Anders2021-08-16
| | | |
* | | | feat: defaults: inccommand=nosplit #15395Gregory Anders2021-08-16
| | | |
* | | | feat(defaults): map CTRL-L to search highlights, update diffs #15385Gregory Anders2021-08-16
| | | |
* | | | ci: increase clint line length limit to 100 characters (#15252)dundargoc2021-08-16
| | | |
* | | | fix(autocmd.c): fix conditions in block_autocmds, unblock_autocmds #15372gmntroll2021-08-16
| | | | | | | | | | | | | | | | Logic got swapped in 7574918dc7b823c4a22eeb4949acfb9381446eab. We didn't notice it since v:termresponse isn't really used yet. #6279
* | | | vim-patch:8.2.3295: 'cursorline' should not apply to 'breakindent' #15281zeertzjq2021-08-16
| | | | | | | | | | | | | | | | | | | | | | | | Problem: 'cursorline' should not apply to 'breakindent'. Solution: Make 'cursorline' apply to 'breakindent' and 'showbreak' consistently. (closes vim/vim#8684) https://github.com/vim/vim/commit/4f33bc20d7d5444e44d13f954e8219ad1abd26ef
* | | | fix(defaults): do not map Y in visual-mode #15387Justin M. Keyes2021-08-16
| | | | | | | | | | | | | | | | | | | | Y in visual-mode is unrelated to the normal-mode behavior. reverts part of #13268
* | | | feat(defaults): map Y to y$ #13268Matthieu Coudron2021-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rationale: - consistent with D and Y - long recommended by Vim's own ":help Y" close #13268 close #416 ref #6289
* | | | vim-patch:8.2.3283: Julia filetype is not recognizedChristian Clason2021-08-15
|/ / / | | | | | | | | | | | | | | | | | | | | | Problem: Julia filetype is not recognized Solution: Add filetype detection. (Christian Clason, closes #8700) issue: vim/vim#7498 vim-patch: vim/vim@0eec851
* | | Merge pull request #15336 from bfredl/plinesBjörn Linse2021-08-11
|\ \ \ | |/ / |/| | refactor(plines): move "plines" (size of printed lines) family of function to own file
| * | refactor(plines): move horizontal size functions to plines.cBjörn Linse2021-08-11
| | | | | | | | | | | | fix style.
| * | refactor(plines): what is basic compiler optimizations?Björn Linse2021-08-10
| | |
| * | refactor(plines): remove implicit curwin chartabsize() functionBjörn Linse2021-08-10
| | |
| * | refactor(plines): style of new plines.c fileBjörn Linse2021-08-10
| | |
| * | refactor(plines): move out plines related code from misc1.cBjörn Linse2021-08-10
| | |
| * | refactor(plines): remove implicit curwin plines_nofill() functionBjörn Linse2021-08-10
| | |
| * | refactor(plines): remove implicit curwin plines() functionBjörn Linse2021-08-10
| | |