aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | man.vim: doc, UX tweaksJustin M. Keyes2016-08-04
| | | | | | | | | | | | | | | | | | | | s:error: Convention is to highlight the entire message, so stick to that.
| * | | | man.vim: rewriteAnmol Sethi2016-08-04
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Smart autocomplete. It's automatically sorted, filtered for duplicates and even formats the candidates based on what is needed. For example, `:Man 1 printf<TAB>` will show the pages that are in section 1m as 'page(sect)' to let you know they are in a more specific section. - Instead of trying to unset $MANPAGER we use the -P flag to set the pager to cat - Always use the section arg '-s', it makes the code much simpler (see comment in s:man-args). - A manpage name starting with '-' is invalid. It's fine for sections because of the use of '-s'. - The tagstack is an actual stack now, makes it much simpler. - By using v:count and v:count1, the plugin can explicitly check whether the user set a count, instead of relying on a default value (0) that is actually a real manpage section. - Extraction of a manpage reference is much more simple. No giant long complicated regexes. Now, the plugin lets `man` handle the actual validation. We merely extract the section and page. Syntax regexes are a bit more specific though to prevent highlighting everything. - Multilingual support in the syntax file. Removed the cruft that was only relevent to vim. Also simplified and improved many of the regexes. - Using shellescape when sending the page and sect as arguments - In general, the code flow is much more obvious. - man#get_page has been split up into smaller functions with explicit responsibilties - ':help' behavior in opening splits and manpages - Comments explaining anything that needs explaining and isn't immediately obvious. - If a manpage has already been loaded but if it were to reloaded at the current width which is the same as the width at which it was loaded at previously, it is not reloaded. - Use substitute to remove the backspaced instead of `col -b`, as the latter doesn't work with other languages. - Open paths to manpages - It uses cWORD instead of cword to get the manpage under the cursor, this helps with files that do not have (,) in iskeyword. It also means the plugin does not set iskeyword locally anymore. - <Plug>(Man) mapping for easy remapping - Switched to single quotes wherever possible. - Updated docs in $VIMRUNTIME/doc/filetype.txt (still need to update user-manual) - Always call tolower on section name. See comment in s:extract_page_and_sect_fpage - Formatting/consistency cleanup - Automatically map q to ':q<CR>' when invoked as $MANPAGER - It also fully supports being used as $MANPAGER. Setting the name and stuff automatically. - Split up the setlocals into multiple lines for easier readability - Better detection of errors by redirecting stderr to /dev/null. If an error occured, stdout will be empty. - Functions return [sect, page] not [page, sect]. Makes more sense with how man takes the arguments as sect and then page. - Pretty prints errors on a single line. - If no section is given, automatically finds the correct section for the buffer name. It also gets the correct page. See the comment in s:get_page - If $MANWIDTH is not set, do not assign directly to $MANWIDTH because then $MANWIDTH will always stay set to the same value as we only use winwidth(0) when the global $MANWIDTH is empty. Instead we set it locally for the command. - Maintainer notes on all files.
* | | | ex_messages: remove 'Messages maintainer' (#5160)Anmol Sethi2016-08-04
| | | |
* | | | Merge #4964 from ZyX-I/no-xdg-expandJustin M. Keyes2016-08-04
|\ \ \ \ | | | | | | | | | | option: Do not expand options, obtained from XDG vars
| * | | | option: Silence linterZyX2016-07-10
| | | | |
| * | | | functests: Also make sure that `set all&` does not expandZyX2016-07-10
| | | | |
| * | | | functests: Add tests for XDG defaultsZyX2016-07-10
| | | | |
| * | | | option: Also escape commas in options other then &runtimepathZyX2016-07-10
| | | | |
| * | | | option.h: Turn OPT_* list into a enumZyX2016-07-10
| | | | |
| * | | | option: Also do not expand XDG defaults with set&ZyX2016-07-10
| | | | |
| * | | | option: Do not expand options, obtained from XDG varsZyX2016-07-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is a wrong thing to do, this makes valid variable values be treated incorrectly: in XDG_DATA_HOME='/home/$foo/.local/share' `$foo` should be treated literally and not expanded to `foo` environment variable value. Also makes option_expand not try to expand too long strings even if these too long strings are default values. Previously it thought that default values should always be expanded. Also does not try to expand NULL should it be the default value just in case. Fixes #4961
* | | | | Merge #5159 from justinmk/readfile-readonly-checkJustin M. Keyes2016-08-04
|\ \ \ \ \
| * | | | | readfile(): readonly: Also check "not writable".Justin M. Keyes2016-08-04
| | | | | |
| * | | | | readfile(): Less-destructive readonly check.Shougo Matsushita2016-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #4162 Fixes #4200 Closes #4944 Regression by 4a138137f78907703aa9215b45f46b8f37d84ae5. That commit mentions a "possible race condition" but the cost isn't worth the (unexplained) gain.
* | | | | | Merge pull request #5148 from munyari/vim-7.4.1603Björn Linse2016-08-04
|\ \ \ \ \ \ | |/ / / / / |/| | | | | [RFC] version.c: add completed patches
| * | | | | version.c: add completed patchesPanashe M. Fundira2016-08-01
| | |/ / / | |/| | |
* | | | | vim-patch:7.4.1557 (#5117)prollings2016-08-04
| |_|/ / |/| | | | | | | | | | | | | | | | | | | Problem: Windows cannot be identified. Solution: Add a unique window number to each window and functions to use it. https://github.com/vim/vim/commit/86edef664efccbfe685906c854b9cdd04e56f2d5
* | | | vim-patch:7.4.1673 (#5141)Panashe Fundira2016-08-03
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The justify plugin has to be copied or sourced to be used. Solution: Turn it into a package. https://github.com/vim/vim/commit/2946d0236dc9e23ec0050feacdb959b9ae5672a8 Justification for changes that do not carry over - `Filelist` does not exist in neovim - neovim does not have a `README.txt` in `runtime/macros`
* | | Merge #4837 from justinmk/os_resolve_shortcutJustin M. Keyes2016-08-01
|\ \ \ | | | | | | | | os_resolve_shortcut
| * | | os_resolve_shortcut: Report conversion error.Justin M. Keyes2016-07-30
| | | |
| * | | mbyte.c: Move utf8/utf16 functions to mbyte.cJustin M. Keyes2016-07-30
| | | |
| * | | utf16_to_utf8Justin M. Keyes2016-07-30
| | | |
| * | | os_resolve_shortcut: cleanupJustin M. Keyes2016-07-30
| | | |
| * | | os_resolve_shortcut: Remove legacy win16 codepath.Justin M. Keyes2016-07-30
| | | |
| * | | utf8_to_utf16: adapt libuv's fs__capture_pathJustin M. Keyes2016-07-30
| | | |
| * | | os_resolve_shortcut: initial port from Vim sourceJustin M. Keyes2016-07-30
| | | |
* | | | doc: mention tnoremapJustin M. Keyes2016-08-01
| | | | | | | | | | | | | | | | Closes #5097
* | | | vim-patch:7.4.1305 #5094Michael Ennen2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "\%1l^#.*" does not match on a line starting with "#". Solution: Do not clear the start-of-line flag. (Christian Brabandt) https://github.com/vim/vim/commit/7c29f387819b5817b003d2ba73e2b5cf3cb3d0dd Helped-by: jamessan Helped-by: mhinz
* | | | [RFC] vim-patch:7.4.2011, vim-patch:7.4.2012, vim-patch:7.4.2066 #5106Shougo Matsushita2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:7.4.2011 Problem: It is not easy to get a list of command arguments. Solution: Add getcompletion(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/aa4d73235bf4deee167aa5314b89ae3d3db334b7 vim-patch:7.4.2012 Problem: Test for getcompletion() does not pass on all systems. Solution: Only test what is supported. https://github.com/vim/vim/commit/0d3e24be5686c0710aa3c6671e4c626d6cb21a5f vim-patch:7.4.2066 Problem: getcompletion() not well tested. Solution: Add more testing. https://github.com/vim/vim/commit/c1fb763184c8ae82300357867fa2070aa94366e9
* | | | vim-patch:7.4.1676 #5143Panashe M. Fundira2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The shellmenu plugin has to be copied or sourced to be used. Solution: Turn it into a package. https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55 Justification for changes that do not carry over - `Filelist` does not exist in neovim - neovim does not have a `README.txt` in `runtime/macros`
* | | | vim-patch:7.4.1675 #5142Panashe M. Fundira2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The swapmous plugin has to be copied or sourced to be used. Solution: Turn it into the swapmouse package. https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac Justification for changes that do not carry over - `Filelist` does not exist in neovim - neovim does not have a `README.txt` in `runtime/macros`
* | | | vim-patch:7.4.2013, vim-patch:7.4.2014Shougo Matsushita2016-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:7.4.2013 Problem: Using "noinsert" in 'completeopt' breaks redo. Solution: Set compl_curr_match. (Shougo, closes vim/vim#874) https://github.com/vim/vim/commit/67081e50616ae9546621072c5eaaa59bd0a4bed7 vim-patch:7.4.2014 Problem: Using "noinsert" in 'completeopt' does not insert match. Solution: Set compl_enter_selects. (Shougo, closes #875) https://github.com/vim/vim/commit/32b808a4bdf35b0dea63c735702a591e5869fecd
* | | | Merge #4634 'version.c: update'Justin M. Keyes2016-07-30
|\ \ \ \
| * | | | version.c: updateJustin M. Keyes2016-07-30
| | | | |
| * | | | version.c: Update to 7.4.2107Shougo Matsushita2016-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1601: Filelist, Makefile 1602: info files 1609: Filelist 1610: if_ole, directX 1611: FEAT_VERTSPLIT 1612, 1613: small feature 1615: tiny feature 1616-1618, 1621-1628, 1631, 1635: channel fix 1632, 1633: Makefile fix 1636: getln.c 1646: Python eval 1651: MS-DOS 1655: remote_expr() fix 1657, 1659, 1661, 1662, 1665-1669, 1680: channel 1672, 1674: dvorak plugin 1678: if_mzch 1683: dosinst.c 1684: README 1687, 1717, 1722: channel 1688: if_mzch 1689: if_ruby 1690: ifdef 1693: if_perl 1694: Win32 GUI 1698: Makefile 1705: guifont in Windows 1706: __ARGS 1709: ifdef 1713: GTK GUI 1721: vimtbar plugin 1724: tabline with GUI 1725: fix for ANSI C 1726: compiler warning for ex_smile 1729, 1746: if_perl 1733: Makefile 1736, 1743, 1744, 1747: if_python 1737: UNUSED 1745: README 1749: GTK 1756: dll path 1760: compiler warnings 1764: job 1766: INSTALL_pc.txt 1767: configure 1770: true color 1771: ifdef 1772, 1775: Makefile 1773: compiler warnings 1774, 1778: true color 1776: term.c 1777: channel 1784: true color 1786: term.c 1787, 1789-1791: channel 1788: NSIS support 1794: Win32 GUI 1795-1798: term.c 1800: ifdef 1801: Makefile 1803: GTK3 1807, 1810, 1811, 1814, 1817, 1822, 1824-1829: channel 1819: Compiler warning 1830: os_mswin.c 1843: if_python 1845: channel 1846: term.c 1848: if_perl 1849, 1850, 1853, 1855-1859: channel 1852: GUI test 1854: termguicolors 1860: timer 1863: if_xxx 1864: if_python 1865: eval.c leak 1869: if_perl 1870: if_mzch 1872: if_perl 1873: timer in GUI 1874: Win32 1877-1880: channel 1883: ViVim, gui_mac 1885: MinGW 1886, 1887: channel 1890: GUI 1891: channel 1892, 1894: balloon 1899: GUI_GTK 1901: GUI_Win32 1902, 1906: channel 1908: NetBeans 1915: gui_menu 1916: test_channel 1917-1921: viminfo 1922: if_ruby 1924: function(void) 1925, 1926, 1931-1933, 1938, 1939, 1943: viminfo 1927: if_mzch 1929: if_ruby 1930: ifdef 1934: Makefile 1935: GUI 1942: termguicolors 1944: Make_MSVC 1946: Filelist 1947: viminfo 1951: Makefile, if_ruby 1957, 1958: if_perl 1959: channel 1963: Win32 cygpty 1965, 1969: channel 1974: GUI 1982, 1987, 1988: viminfo 1983: Filelist Makefile ifdef protocol 1985: VMS build filename_upper_camel 1995: GUI 1998: channel 2001: ifdef 2003, 2004: cursor flicker in GUI 2016: Make_cyg 2020: ifdef 2025: GUI_GTK 2026: channel 2027: ifdef 2030, 2032, 2034: Make cygwin MinGW 2035: ACL support 2037, 2038: small build 2039-2041: channel 2042: GUI_GTK 2045: channel 2048: legacy 2052, 2053: Makefile 2054: ifdef 2055, 2057, 2063: eval.c refactoring 2056: prototype 2059, 2060: Makefile 2070: spell.h 2078: term.c 2079: test_netbeans 2089, 2092: GUI 2091: term.c 2102: GUI tiny 2105: configure Included 1732: auto completion folds
* | | | | vim-patch:7.4.1237 (#5092)Simon Weil2016-07-31
| |/ / / |/| | | | | | | | | | | | | | | | | | | Problem: Can't translate message without adding a line break. Solution: Join the two parts of the message. https://github.com/vim/vim/commit/d9ea9069f5ef5b8b9f9e0d0daecdd124e2dcd818
* | | | eval.c: rename capture() to execute() (#5132)Justin M. Keyes2016-07-31
| | | |
* | | | matchit.vim: preserve jumplist (#5124)Tommy Allen2016-07-30
| | | |
* | | | Merge pull request #5076 from fwalch/travis/osx-depsFlorian Walch2016-07-30
|\ \ \ \ | | | | | | | | | | Travis: Use caching instead of pre-compiled deps for OSX.
| * | | | Travis: Build 3rd-party dependencies with system's default compiler.Florian Walch2016-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | Using GCC 4.9 for building the dependencies caused some linker error on OS X.
| * | | | Travis: Fix accidental building of 3rd-party dependencies.Florian Walch2016-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | Running tests from the top-level Makefile will use the third-party dependencies from .deps instead of the ones from the Travis cache.
| * | | | Travis: Use caching instead of pre-compiled deps for OSX.Florian Walch2016-07-30
|/ / / /
* | | | test: fixKillTheMule2016-07-29
| | | |
* | | | Remove redundant includes of unistd.h (#5126)Rui Abreu Ferreira2016-07-29
| | | |
* | | | doc: gentle transition steps; stub XDG sectionJustin M. Keyes2016-07-29
| | | | | | | | | | | | | | | | Closes #4951
* | | | Merge #2850Justin M. Keyes2016-07-28
|\ \ \ \
| * | | | A bit of lintingKillTheMule2016-07-28
| | | | |
| * | | | tests: Update migrated legacy test 30 for patch 7.4.643.Lucas Hoffmann2016-05-23
| | | | | | | | | | | | | | | | | | | | The patch was merged into master at f104ce2d.
| * | | | tests: Migrate legacy test 30.Lucas Hoffmann2016-05-23
| | |_|/ | |/| | | | | | | | | | | | | | The original test did also create additional auxiliary files which where never used. They are not created any longer.
* | | | mouse.c: Adjust clicked column if chars are concealed (#5087)Tommy Allen2016-07-28
| | | | | | | | | | | | | | | | | | | | syntax.c: Added syn_get_concealed_id() tests: Added tests for mouse clicks on concealed text.