aboutsummaryrefslogtreecommitdiff
path: root/runtime/plugin
Commit message (Collapse)AuthorAge
...
* vim-patch:e4a3bcf28d92Justin M. Keyes2017-04-19
| | | | | | Updated runtime files. Add Scala files. https://github.com/vim/vim/commit/e4a3bcf28d92d0bde9ca227ccb40d401038185e5
* rplugin.vim: GetManifestPath(): be more explicit (#6361)Daniel Hahler2017-03-27
|
* win/package: nvim-qt v0.2.6 (#6258)Justin M. Keyes2017-03-11
|
* rplugin: Call s:LoadRemotePlugins() on startup.Justin M. Keyes2017-03-11
| | | | | | | | | | Dispense with the FuncUndefined/CmdUndefined quasi-optimization. If there are no rplugins, plugin/rplugin.vim takes less than 1ms. Closes #5821 Closes #6250 Helped-by: Qiming zhao <chemzqm@gmail.com>
* win/package: runtime filesJustin M. Keyes2017-03-01
| | | | | | | runtime/plugin/gui_shim.vim is from Neovim-Qt. This is a temporary measure, we will add real UI events which obviate gui_shim.vim. Closes #6145
* vim-patch:aa3b15dJames McCoy2017-01-09
| | | | | | Updated runtime files. https://github.com/vim/vim/commit/aa3b15dbebf333282503d6031e2f9ba6ee4398ed
* health: completion for :CheckHealthMarco Hinz2017-01-08
|
* doc; vim-patch.shJustin M. Keyes2016-10-24
| | | | | | Also include missing changes from: https://github.com/vim/vim/commit/06d2d38ab7564e1f784b1058a4ef4580cd6d1810 https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
* [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 #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
* man.vim: support for command modifiersAnmol Sethi2016-08-24
| | | | Closes #5235
* 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
* man.vim: use -range instead of -count (#5203)Anmol Sethi2016-08-09
| | | | | | | | | | | | With -count, if the first argument is a number, it is made available with <count>. Problem is, there is always a default count it is impossible to tell whether the user set it. Since v:count and v:count1 still work with 'keywordprg', -count is unnecessary. But 'keywordprg' still calls ':Man' with a count prefixed. So it must still accept a count in the line number position, but not consume the first argument. This is done with -range. Fixes #5202.
* 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: buffers are now listedAnmol Sethi2016-08-07
| | | | | - Since the names are set and ':vsplit printf(3)' work, there is no need to unlist them.
* 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: 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.
* matchit.vim: preserve jumplist (#5124)Tommy Allen2016-07-30
|
* Move vimball plugin into an optional packageJames McCoy2016-07-08
|
* runtime: Add script for Python diagnostic information (#4885)Tommy Allen2016-06-13
|
* 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:38a5563James McCoy2016-06-07
| | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/38a55639d603823efcf2d2fdf542dbffdeb60b75 Ignore changes to * doc/channel.txt, doc/eval.txt, doc/various.txt: Channel related docs * doc/tags: Generated at build time * doc/todo.txt, doc/vi_diff.txt: Not relevant to neovim
* vim-patch:7.4.1015James McCoy2016-05-06
| | | | | | | | | Problem: The column is not restored properly when the matchparen plugin is used in Insert mode and the cursor is after the end of the line. Solution: Set the curswant flag. (Christian Brabandt). Also fix highlighting the match of the character before the cursor. https://github.com/vim/vim/commit/c21d67e33c1b42a492e04788cbb14a23a6724e39
* vim-patch:256972aKillTheMule2016-05-03
| | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b Missing files in runtime/doc: todo.txt, tags. Patch to runtime/doc/syntax.txt was applied manually in part, for no discernible reason.
* 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
* vim-patch:fc39ecDavid Barnett2016-04-16
| | | | | | Update runtime files. https://github.com/vim/vim/commit/fc39ecf8ded5466d7e9cbde8db75517718b023d8
* spell: Fix argument and avoid redundant prompt.Justin M. Keyes2016-04-10
| | | | | | | | | | In #3027 we deferred the "missing spell file" prompt until VimEnter, but we were sending the wrong argument (should be "en", not "en_us"). This also caused redundant prompts if user answers "No" to the download prompt invoked by the SpellFileMissing event. Closes #3966 Closes #4406
* rplugin: Initialize remote plugins lazily. #4384Shougo Matsushita2016-03-10
|
* Improve remote plugin scriptsShougo Matsushita2016-02-14
|
* Remove getscript.vim.Seth Jackson2015-12-12
|
* runtime: Add [ft]plugin/shada.vim files that automatically open .shadaZyX2015-11-01
|
* vim-patch:8feef4f #3444rosston2015-10-11
| | | | | | Update runtime files. https://github.com/vim/vim/commit/8feef4ff6253afb9dcc61c40082ed4fbb96b685c
* man.vim: accept [count] for section number.Justin M. Keyes2015-09-23
|
* man.vim: convert ftplugin to actual plugin.Justin M. Keyes2015-09-23
| | | | | | | | | | | | | - do not create leader maps - :norm! instead of :norm - :keepjumps during layout - use blackhole reg to avoid polluting unnamed reg - format buffer name as "man://foo(2)" - simulate behavior of `man` - buffer-local mapping of q to quit - open in new tab instead of new window - set 'nolist' - set tabstop=8
* runtime: Include vim-tutor-modeFelipe Morales2015-08-15
| | | | | | | | | | | vim-tutor-mode provides a mechanism to write and read interactive tutorials in vim. It's aim is to replace the venerable vimtutor with a more modern system. The plugin's development is maintained at https://github.com/fmoralesc /vim-tutor-mode Closes #2351.
* plugin: enable the matchit plugin by default #2723Felipe Morales2015-06-04
| | | | | Reviewed-by: Scott Prager <splinterofchaos@gmail.com> Reviewed-by: Michael Reed <m.reed@mykolab.com>
* Revert "[WIP] "abstract_ui" fixes and improvements"Justin M. Keyes2015-01-12
|
* runtime: Fix plugin/matchparen.vim for abstract_uiThiago de Arruda2015-01-12
|
* runtime: Refer to plugins running outside Nvim as "remote plugins"Thiago de Arruda2014-11-21
| | | | | | - Rename autoload/rpc to autoload/remote - External plugins are now remote plugins - External plugins directory is "rplugin"
* runtime: Add vimscript support for external pluginsThiago de Arruda2014-11-18
| | | | | | | | | | External plugins(a.k.a msgpack-rpc plugins) are now supported through a library of vimscript functions that deals with: - Associating plugin host names(eg: python, ruby, go) with channel ids - Registration of external plugins - Definition of commands, autocmds and functions lazily implemented over msgpack-rpc
* Fix python setup: Fix issue for users not using python.Eliseo Martínez2014-10-31
|
* Fix python setup: Make sure python version on user's path is picked.Eliseo Martínez2014-10-31
| | | | | | | | Problem: executable() was detecting python on user's path, but system() was executing system-level python. Solution: Make sure python version on user's path is executed. Use exepath() to force system() to do so.
* Fix python setup: Report errors.Eliseo Martínez2014-10-31
| | | | | No error indication was being given if something went wrong while setting up python.
* runtime: Fix rpcstop call in python_setup.vimThiago de Arruda2014-10-23
|
* vim-patch:7.4.397Scott Prager2014-10-09
| | | | | | | | Problem: Matchparen only uses the topmost syntax item. Solution: Go through the syntax stack to find items. (James McCoy) Also use getcurpos() when possible. https://code.google.com/p/vim/source/detail?r=v7-4-397
* runtime: Fix one of python sanity checksThiago de Arruda2014-09-16
| | | | Use sys.stdout.write which is compatible with python 2 and 3