aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload
Commit message (Collapse)AuthorAge
...
* health.vim: Show results incrementally.Justin M. Keyes2016-09-05
| | | | | | | | Also: - improve precision of "No healthcheck found" - fix SUGGESTIONS syntax group definition - fix indentation of SUGGESTIONS
* health.vim: Factor out health#provider#check()Justin M. Keyes2016-09-05
|
* Improve Ruby version check in CheckHealth commandAlex Genco2016-09-04
| | | | | | | | Compare current version number to that of the latest released neovim rubygem, rather than a hard-coded version. Note: The `gem list` command introduced here adds about 4 seconds to the execution time of the CheckHealth command.
* [RFC] man.vim: remove <Plug> mappings (#5290)Anmol Sethi2016-09-04
| | | | | | - :Man with no arguments opens the manapage for the <cWORD> (man buffers) or <cword> (non-man buffers). - remove now irrelevent comment about -P flag
* man.vim: Avoid hard redraw.Justin M. Keyes2016-09-03
| | | | Use system() instead of :read to avoid a hard redraw.
* man.vim #5249Anmol Sethi2016-09-03
| | | | | | | | | | | - fix synopsis highlighting in other locales. Cannot always rely on the first line for the section in some locales; instead, use the file path and explicitly set b:man_sect to the actual section. - eliminate separate s:man_args function - simplify logic: do not reuse buffer content - introduce b:man_default_sects Fixes #5233 - introduce <Plug>(man_vsplit), <Plug>(man_tab) - simplify regexps
* Merge #5210 'vim-patch:7.4.1898 + :Man modifiers support'.Justin M. Keyes2016-08-25
|\
| * man.vim: if reusing a buffer, do not use noautocmdAnmol Sethi2016-08-24
| | | | | | | | | | The commit that added support for modifiers regressed #5168 causing #5172. This commit fixes it again.
| * man.vim: slight refactoringAnmol Sethi2016-08-24
| | | | | | | | Addresses problem one in #5240
| * man.vim: set window local options when reusing bufferAnmol Sethi2016-08-24
| | | | | | | | | | | | This is necessary incase the buffer was previously opened in a different tab, in which the window options there do not carry over. It is not explicitly documented in ':help local-options' but that is how it works.
| * man.vim: support for command modifiersAnmol Sethi2016-08-24
|/ | | | Closes #5235
* remote/host.vim: Avoid "No matching autocommands".Justin M. Keyes2016-08-21
| | | | | | | :silent does not silence this message, even :redir does not consume it. But execute() _does_ consume it, which interferes with the current implementation of health.vim. It's prudent to avoid it in any case, even if the implementation of health.vim changes in the future.
* CheckHealth: Remove "disable"/"enable" conceptJustin M. Keyes2016-08-21
| | | | | | | | | We can add this later if it is proven necessary, but it should not be because: 1. User can run a subset of checkers via `:CheckHealth plugin1, ...,` 2. Healthcheck is a very rare operation. Optimizing it is not worth the code/API complexity.
* CheckHealth: Accept [plugin1 [, plugin2 [, ...]]] args.Justin M. Keyes2016-08-21
| | | | | | | | | To healthcheck the "foo" plugin: :CheckHealth foo To healthcheck the "foo" and "bar" plugins: :CheckHealth foo bar To run all auto-discovered healthchecks: :CheckHealth
* CheckHealthJustin M. Keyes2016-08-21
| | | | | | | - Overlay markdown syntax/filetype, don't invent new filetypes/syntaxes. - migrate s:check_ruby() - s:indent_after_line1 - Less-verbose output
* CheckHealthTJ DeVries2016-08-21
| | | | | | | | | | | | | | - Use execute() instead of redir - Fixed logic on suboptimal pyenv/virtualenv checks. - Move system calls from strings to lists. Fixes #5218 - Add highlighting - Automatically discover health checkers - Add tests Helped-by: Shougo Matsushita <Shougo.Matsu@gmail.com> Helped-by: Tommy Allen <tommy@esdf.io> Closes #4932
* job control: reuse common job code for rpc jobsBjörn Linse2016-08-20
| | | | This makes stderr and exit callbacks work for rpc jobs
* host.vim: s:GetManifestPath(): octal permissionsJustin M. Keyes2016-08-17
|
* host.vim: s:GetManifestPath(): Create base directory if needed.Justin M. Keyes2016-08-17
| | | | If the base directory does not exist, let mkdir(...,'p') create it.
* host.vim: s:GetManifestPath(): Remove for-loop.Justin M. Keyes2016-08-17
| | | | | Without the for-loop it is easier to follow, more explicit, and fewer lines.
* runtime: rplugin manifest written to $XDG_DATA_HOMETommy Allen2016-08-17
| | | | Uses $NVIM_RPLUGIN_MANIFEST if available
* man.vim: handle empty identifier from mapping (#5187)Anmol Sethi2016-08-08
| | | | | Regression from #5168. Also changed the Man command's nargs to '+' so that man#open_page does not need to handle 0 arguments, because that will never occur.
* man.vim: handle 'gdefault' (#5182)Anmol Sethi2016-08-07
| | | Fixes #5181
* man.vim: refactoring and autocmd fixAnmol Sethi2016-08-07
| | | | | | - man#open_page_command and man#open_page_mapping are now a single function - New autocmd to fix #5172
* man.vim: default K mappingAnmol Sethi2016-08-06
| | | | - Also some small improvements in other parts.
* 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.
* eval.c: rename capture() to execute() (#5132)Justin M. Keyes2016-07-31
|
* clipboard: fix v:register when clipboard=unnamed,unnamedplusBjörn Linse2016-07-12
|
* Merge #4980 'Support legacy `:ruby` commands'.Justin M. Keyes2016-07-10
|\
| * Add Ruby diagnosis to :CheckHealth commandAlex Genco2016-07-08
| |
| * Add :ruby, :rubyfile, and :rubydo ex commandsAlex Genco2016-07-02
| |
* | Move vimball plugin into an optional packageJames McCoy2016-07-08
|/
* rplugin: Manifest file name fallback (#4935)Shougo2016-06-30
|
* doc/python: cleanupJustin M. Keyes2016-06-15
| | | | | | - Move info to providers.txt - Remove "nvim-" prefix. - Brevity, clarity, ...
* doc: cleanupJustin M. Keyes2016-06-15
|
* doc/clipboard: cleanupJustin M. Keyes2016-06-15
|
* runtime: Add script for Python diagnostic information (#4885)Tommy Allen2016-06-13
|
* Merge #4813 'runtime: clipboard: start daemons in /'.Justin M. Keyes2016-06-10
|\
| * runtime: clipboard: start daemons in /Aleksa Sarai2016-06-07
| | | | | | | | | | | | | | | | This avoids the issue of nvim started daemons causing mountpoints to be unmountable. This is currently the only place in runtime/ where this calling convention occurred. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
* | vim-patch:e0fa374James McCoy2016-06-07
| | | | | | | | | | | | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/e0fa3742ead676a3074a10edadbc955e1a89153d Ignore changes to * doc/channel.txt: Channel related docs * doc/netbeans.txt, doc/os_dos.txt, doc/todo.txt: Not relevant to Neovim * doc/tags: Generated at build time
* | vim-patch:5e9b2faJames McCoy2016-06-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated runtime files and translations. https://github.com/vim/vim/commit/5e9b2fa9bb0e6061cf18457c173cd141a5dc9c92 Ignore changes to * doc/tags: generated at build time * doc/develop.txt, doc/todo.txt, doc/netbeans.txt, doc/vim-ja.UTF-8.1, doc/xxd-ja.UTF-8.1, lang/menu_*: Not applicable to Neovim * doc/editing.txt: Crypt related * doc/change.txt, doc/insert.txt, doc/various.txt: Removal of ex_extra tags, which already happened in Neovim * doc/vim-ja.UTF-8.1, doc/xxd-ja.UTF-8.1
* | vim-patch:13d5aeeJames McCoy2016-06-06
|/ | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/13d5aeef56e3140a8eb8f40c7062aa1c5700f76e Ignored changes to * doc/develop.txt, since they were all in the "Coding Style" section, which is completely different between Vim and Neovim. * doc/tags, doc/todo.txt * syntax/vim.vim, generated at build time
* Merge pull request #4830 from blueyed/proider-pythonx-handle-127Justin M. Keyes2016-05-28
|\ | | | | provider/pythonx: handle exit code 127 from pyenv
| * provider/pythonx: handle exit code 127 from pyenvDaniel Hahler2016-05-28
| | | | | | | | | | | | | | | | | | | | | | | | | | This also checks the major/min version only for expected return codes. With pyenv, you might get the following (return code 127): pyenv: python3.4: command not found The `python3.4' command exists in these Python versions: 3.4.3 3.4.3/envs/tmp-3.4.3-eElS6Y tmp-3.4.3-eElS6Y
* | provider/pythonx: use robust comparison (via vint)Daniel Hahler2016-05-28
|/
* host.vim: s:RegistrationCommands(): Normalize slashes.Justin M. Keyes2016-05-22
| | | | Closes #4795
* clipboard: support "doit" toolJoel D. Elkins2016-05-15
|
* vim-patch:a0f849eKillTheMule2016-05-03
| | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/a0f849ee40cbea3c889345256786b640b0becca2 Missing files runtime/doc/tags and runtime/doc/todo.txt. Excluded runtime/syntax/vim.vim, since we diverged quite a bit from vim in this file.
* vim-patch:60cce2fDavid Barnett2016-04-18
| | | | | | Update runtime files. https://github.com/vim/vim/commit/60cce2fb736c8ff6fdb9603f502d3c15f1f7a25d