aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
Commit message (Collapse)AuthorAge
...
| * vim-patch:7.4.941watiko2016-03-06
| | | | | | | | | | | | | | Problem: There is no way to ignore case only for tag searches. Solution: Add the 'tagcase' option. (Gary Johnson) https://github.com/vim/vim/commit/0f6562e9036f889185dff49a75c7fc5ffb28b307
* | buffer.c: change return type to boolCharles Joachim2016-04-03
| | | | | | | | Co-authored-by: Wayne Rowcliffe (@war1025)
* | test: minor changesJustin M. Keyes2016-03-17
| |
* | 'shortmess': Add "F" flag. #4446Shougo Matsushita2016-03-17
| | | | | | | | | | | | | | Add "Don't give the file editing message" flag in shortmess option. Add the UI tests by @fmoralesc Fix the changes for Vim 7.4.1570
* | vim-patch:7.4.1511Nicolas Dumazet2016-03-08
|/ | | | | | | Problem: Statusline highlighting is sometimes wrong. Solution: Check for Highlight type. (Christian Brabandt) https://github.com/vim/vim/commit/af6e36ff16736106a1bc63bb4d01f51fdfeb29a2
* bufhl: new mechanism for plugins to add highlights to a bufferBjörn Linse2016-02-23
|
* coverity/135589: (FP) Null pointer dereferencesJustin M. Keyes2016-02-19
| | | | | False positive: buflist_findnr() should not be NULL in this case because it is given a buffer number that (should be) guaranteed to exist.
* Merge pull request #4187 from watiko/vim-7.4.742Justin M. Keyes2016-02-09
|\ | | | | vim-patch:7.4.742
| * vim-patch:7.4.742watiko2016-02-07
| | | | | | | | | | | | | | | | Problem: Cannot specify a vertical split when loading a buffer for a quickfix command. Solution: Add the "vsplit" value to 'switchbuf'. (Brook Hong) https://github.com/vim/vim/commit/a594d77ffcccf2ac0e4079c41342ca55d4c9bb08
* | vim-patch:7.4.805Jurica Bradaric2016-02-02
|/ | | | | | | | Problem: The ruler shows "Bot" even when there are only filler lines missing. (Gary Johnson) Solution: Use "All" when the first line and one filler line are visible. https://github.com/vim/vim/commit/29bc9db36e41cb519dca9381cc29a3fc1ff02106
* tabline: Switch to functions, handle different click typesZyX2016-02-01
|
* tabline: Add %[] atom to the tabline, for random commands on clickZyX2016-02-01
| | | | Currently untested and undocumented.
* file_pat_to_reg_pat, buflist_findpat: const paramsJustin M. Keyes2016-01-01
| | | | | file_pat_to_reg_pat() and buflist_findpat() do not modify the data of these parameters.
* vim-patch:7.4.605Justin M. Keyes2015-12-30
| | | | | | | | Problem: The # register is not writable, it cannot be restored after jumping around. Solution: Make the # register writable. (Marcin Szamotulski) https://github.com/vim/vim/commit/3b3a9498d1eab3c28c524cce115160528a9a9297
* vim-patch:7.4.645Shougo Matsushita2015-12-13
| | | | | | | | Problem: When splitting the window in a BufAdd autocommand while still in the first, empty buffer the window count is wrong. Solution: Do not reset b_nwindows to zero and don't increment it. https://github.com/vim/vim/commit/8da9bbfd02957b79edd595c8c7397453012510b0
* statusline: Check width before advancing pointer. #3818Enrico Ghirardi2015-12-10
| | | | | | Closes #3763 Helped-by: oni-link <knil.ino@gmail.com>
* src/*: Remove `VIM - Vi improved ...` headerMichael Reed2015-11-27
| | | | | | | | | | | | | | | | | | | 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.
* Remove unnecessary includes for errno.hRui Abreu Ferreira2015-11-25
|
* src: README.txt -> README.mdMichael Reed2015-11-23
| | | | | The former no longer exists in this repo; see the top of src/nvim/README.md.
* Cleanup from reviewWayne Rowcliffe2015-11-11
|
* Switch comments to match style guideWayne Rowcliffe2015-11-11
|
* Updates from reviewWayne Rowcliffe2015-11-11
|
* Fix shadowed variable in build_stl_str_hlWayne Rowcliffe2015-11-11
|
* Add documentation about what TABPAGENR and TABCLOSENR doWayne Rowcliffe2015-11-11
|
* Fix lintWayne Rowcliffe2015-11-11
|
* Add out_end_p to mark last valid character in statusline bufferWayne Rowcliffe2015-11-11
|
* Rename build_stl_str_hl input and output buffer pointersWayne Rowcliffe2015-11-11
|
* Add comments to build_stl_str_hlWayne Rowcliffe2015-11-11
|
* Clean up buffer.c build_stl_str_hl variable declarationsWayne Rowcliffe2015-11-11
|
* vim-patch:7.4.791 #3078Marco Hinz2015-11-11
| | | | | | | | Problem: The buffer list can be very long. Solution: Add an argument to ":ls" to specify the type of buffer to list. (Marcin Szamotulski) https://github.com/vim/vim/commit/d51cb706a4e3ae99555bc214a64c83603c701139
* *: Fix lint errors found in new code in previously ignored filesZyX2015-10-08
|
* mark: Clear marks in some cases, but do not do useless job in free_\*ZyX2015-10-08
|
* *: Make ShaDa code use VimL values for additional_\* dataZyX2015-10-08
|
* shada: Add support for dumping and restoring buffer listZyX2015-10-08
|
* shada: Add support for dumping/restoring bufs changes and win jumpsZyX2015-10-08
|
* viminfo: First version of ShaDa file dumpingZyX2015-10-08
| | | | | | | | | | | | | | | | | | | | What works: 1. ShaDa file dumping: header, registers, jump list, history, search patterns, substitute strings, variables. 2. ShaDa file reading: registers, global marks, variables. Most was not tested. TODO: 1. Merging. 2. Reading history, local marks, jump and buffer lists. 3. Documentation update. 4. Converting some data from &encoding. 5. Safer variant of dumping viminfo (dump to temporary file then rename). 6. Removing old viminfo code (currently masked with `#if 0` in a ShaDa file for reference).
* Remove instances of TRUE/FALSE macroSteven Oliver2015-09-04
| | | | | | memory.c os_unix.c path.c
* Use NVIM instead of VIM in default title.Felipe Morales2015-07-23
|
* Macro cleanup: FEAT_SHORTCUT, replace with WIN32Hettomei2015-07-17
|
* vim-patch:7.4.562 #2593David Bürgin2015-05-16
| | | | | | | Problem: Segfault with wide screen and error in 'rulerformat'. (Ingo Karkat) Solution: Check there is enough space. (Christian Brabandt) https://github.com/vim/vim/commit/v7-4-562
* Remove char_u: message:smsg()Michael Reed2015-05-13
|
* Remove char_u: fix_fname()Mark Bainter2015-05-06
|
* Remove char_u: FullName_save()Mark Bainter2015-05-06
|
* vim-patch:7.4.519David Bürgin2015-04-27
| | | | | | | | | 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>
* Replace vim_isspace() with ascii_isspace() defined in ascii.hFelipe Oliveira Carvalho2015-04-24
|
* Replace VIM_ISDIGIT() and vim_isdigit() with ascii_isdigit() defined in ascii.hFelipe Oliveira Carvalho2015-04-24
|
* memory: Add `free` wrapper and refactor project to use itThiago de Arruda2015-04-13
| | | | | | 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.
* os_scandir: fname_case -> path_fix_caseScott Prager2015-03-31
| | | | | | | | | | Use os_scandir(). fname_case() only gets used when `defined(USE_FNAME_CASE)` (on operating systems with case-insensitive file systems), but may be useful in other contexts, so move it to path.c. (See the TODO.) Remove the unused parameter, len.
* terminal: New module that implements a terminal emulatorThiago de Arruda2015-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit integrates libvterm with Neovim and implements a terminal emulator with nvim buffers as the display mechanism. Terminal buffers can be created using any of the following methods: - Opening a file with name following the "term://[${cwd}//[${pid}:]]${cmd}" URI pattern where: - cwd is the working directory of the process - pid is the process id. This is just for use in session files where a pid would have been assigned to the saved buffer title. - cmd is the command to run - Invoking the `:terminal` ex command - Invoking the `termopen` function which returns a job id for automating the terminal window. Some extra changes were also implemented to adapt with terminal buffers. Here's an overview: - The `main` function now sets a BufReadCmd autocmd to intercept the term:// URI and spawn the terminal buffer instead of reading the file. - terminal buffers behave as if the following local buffer options were set: - `nomodifiable` - `swapfile` - `undolevels=-1` - `bufhidden=hide` - All commands that delete buffers(`:bun`, `:bd` and `:bw`) behave the same for terminal buffers, but only work when bang is passed(eg: `:bwipeout!`) - A new "terminal" mode was added. A consequence is that a new set of mapping commands were implemented with the "t" prefix(tmap, tunmap, tnoremap...) - The `edit` function(which enters insert mode) will actually enter terminal mode if the current buffer is a terminal - The `put` operator was adapted to send data to the terminal instead of modifying the buffer directly. - A window being resized will also trigger a terminal resize if the window displays the terminal.
* buffer: Move b_p_ma(modifiable) checks into the MODIFIABLE macroThiago de Arruda2015-03-25
|