aboutsummaryrefslogtreecommitdiff
path: root/runtime
Commit message (Collapse)AuthorAge
* docs: regeneratemarvim2021-06-10
|
* Merge pull request #14510 from urandom/doc_nvim_buf_set_extmarkBjörn Linse2021-06-10
|\ | | | | Minor observational corrections to the nvim_buf_set_extmark documentation
| * Update the functio documentation in CViktor Kojouharov2021-05-10
| |
| * Minor observational corrections to the set_extmark documentationViktor Kojouharov2021-05-07
| | | | | | | | | | Add a note for the line and col, saying they are 0-based. The end_col appears to be exclusive, unline the end_line.
* | feat(lsp): Split out a `diagnostics_to_items` function from set_loclistMathias Fussenegger2021-06-07
| | | | | | | | | | Makes it easier to re-use the logic to populate the quickfix list instead of the location list.
* | docs: regeneratemarvim2021-06-06
| |
* | Merge pull request #14726 from folke/lsp_single_popup_per_bufferMichael Lingelbach2021-06-06
|\ \ | | | | | | fix(lsp): max 1 floating preview per buffer. Fixes #11508
| * | fix(lsp): max 1 floating preview per buffer. Fixes #11508Folke Lemaitre2021-06-05
| | |
* | | feat(lsp): extend diagnostic.set_loclistViktor Kojouharov2021-06-06
| | | | | | | | | | | | add option to show workspace diagnostic instead of the current buffer's
* | | docs(lsp): fix locations_to_items docstringMichael Lingelbach2021-06-05
| | |
* | | Merge pull request #14730 from mjlbach/feature/open_loclist_on_winMichael Lingelbach2021-06-05
|\ \ \ | | | | | | | | fix(lsp): set_loclist should target current win
| * | | fix(lsp): set_loclist should target current winMichael Lingelbach2021-06-05
| |/ / | | | | | | | | | | | | | | | Currently, for large number of diagnostics, the delay in populating loclist may be sufficient for a user to switch to another window, resulting in the loclist being populated on the wrong window.
* | | Merge pull request #14707 from ray-x/masterMichael Lingelbach2021-06-05
|\ \ \ | | | | | | | | fix(lsp): floating window border size for string type
| * | | fix(lsp): floating window border size for string type 'none' and 'shadow'ray-x2021-06-02
| |/ /
* / / feat(lsp): remove line from diagnostic quickfixMichael Lingelbach2021-06-05
|/ / | | | | | | | | | | Adding the line takes up valuable horizontal screen space, and also precludes using the quickfixtextfunc built into neovim due to the harcoded `|`.
* | docs: regeneratemarvim2021-06-02
| |
* | fix(lsp): check mode in omnifunc callbackJose Alvarez2021-06-01
| |
* | Merge pull request #14693 from ↵Michael Lingelbach2021-06-01
|\ \ | | | | | | | | | | | | shadmansaleh/enhance/lsp/make_focusable_parameter_configurable feat(lsp): Make focusability of lsp float configurable
| * | docs(lsp): Fix opts param not captured by docgenshadmansaleh2021-06-01
| | | | | | | | | | | | | | | | | | In the documentation for `vim.lsp.util.open_floating_preview` the opts table keys were prefixed with `--` instead of `---`, preventing capture by docgen.
| * | feat(lsp): Make focusability of lsp float configurableshadmansaleh2021-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This pr allows the user to specify whether `lsp.utils.open_floating_preview` is focusable via the `opts` parameter. Defaults to true. It can be configured by setting the focusable key inside opts parameter: ```lua vim.lsp.util.open_floating_preview(contents, syntax, {focusable = false}) ```
* | | Merge pull request #14694 from folke/lsp_popup_borderMichael Lingelbach2021-06-01
|\ \ \ | |/ / |/| |
| * | fix(lsp): properly handle border character list without highlight groups. ↵Folke Lemaitre2021-06-01
| | | | | | | | | | | | Fixes #14691
* | | vim-patch:8.2.2914: cannot paste a block without adding paddingJan Edmund Lazo2021-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot paste a block without adding padding. Solution: Add "zp" and "zP" which paste without adding padding. (Christian Brabandt, closes vim/vim#8289) https://github.com/vim/vim/commit/2fa9384ca1b600b934bec81a72c5fb7ce757503a Cherry-pick Test_normal_z_error() from patch v8.2.0369.
* | | fix(docs): delete duplicate tagsMichael Lingelbach2021-05-31
| | |
* | | Merge pull request #14687 from kabouzeid/vim-docsMichael Lingelbach2021-05-31
|\ \ \ | | | | | | | | Updated vim docs
| * | | docs: regenerateKarim Abou Zeid2021-05-31
| |/ /
* | | Merge pull request #14635 from folke/lsp_get_linesMichael Lingelbach2021-05-31
|\ \ \ | |/ / |/| | perf(lsp): get all lines from a file in one go (`locations_to_items`)
| * | perf(lsp): get all lines from a file in one goFolke Lemaitre2021-05-25
| | |
* | | fix vim.opt:remove doc (#14664)Amirreza Askarpour2021-05-30
| | |
* | | Merge pull request #14649 from folke/lsp_float_refactorMichael Lingelbach2021-05-29
|\ \ \ | | | | | | | | refactor(lsp): consolidate the different floating window methods into `open_floating_preview`
| * | | refactor(lsp): consolidate the different floating window methods into ↵Folke Lemaitre2021-05-29
| | | | | | | | | | | | | | | | open_floating_preview
* | | | lua: Add vim.opt and fix scopes of vim.o (#13479)TJ DeVries2021-05-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lua: Add vim.opt * fixup: cleaning * fixup: comments * ty clason * fixup: comments * this is the last commit. period.
* | | | cmake: install app icon in XDG hicolor icon theme (#14656)Pino Toscano2021-05-27
|/ / / | | | | | | | | | | | | Install the icon of the application in the hicolor XDG icon theme; this way it can be properly loaded by XDG menus in the currently set XDG icon theme, without looking in the legacy pixmaps location.
* | | lsp: Ensure floating markdown buffers are deleted on hideMathias Fussenegger2021-05-26
| | | | | | | | | | | | | | | After the change to use fancy_floating_markdown for the signature help I noticed that scratch buffers start to accumulate.
* | | vim-patch:3ec3217f0491Jan Edmund Lazo2021-05-25
|/ / | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/3ec3217f0491e9ba8aa8ea02f7e454cd19a287ef Omit fuzzy-match in pattern.txt.
* | vim-patch:8.2.2879: file extension .hsig not recognized (#14628)Jan Edmund Lazo2021-05-23
| | | | | | | | | | | | Problem: File extension .hsig not recognized. Solution: Use Haskell filetype for .hsig files. (Marcin Szamotulski, closes vim/vim#8236) https://github.com/vim/vim/commit/f5409dbf66f4e4a0461d3f2079c1bffacbf12392
* | lsp: Only mute RequestCancelled or ContentModified, but not other errorsMathias Fussenegger2021-05-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | handlers passed to `lsp_buf_request` weren't called if the server responded with an error that looks like this: "decoded", { error = { code = -32601, message = "No delegateCommandHandler for foo" }, id = 5, jsonrpc = "2.0" } An example where that happens is both eclipse.jdt.ls and the haskell-language-server when invoking a command that doesn't exist: :lua vim.lsp.buf_request( 0, 'workspace/executeCommand', { command = 'foo' }, function(err, _, res) print(vim.inspect(err), vim.inspect(res)) end )
* | vim-patch:8.2.2778: problem restoring 'packpath' in sessionJan Edmund Lazo2021-05-22
| | | | | | | | | | | | | | | | Problem: Problem restoring 'packpath' in session. Solution: Let "skiprtp" also apply to 'packpath'. https://github.com/vim/vim/commit/d23b714d8b9ed8e16ef553098acc6da0979e94fc Port Test_mksession_skiprtp() to lua functional test.
* | vim-patch:8.2.2772: problems when restoring 'runtimepath' from a session fileJan Edmund Lazo2021-05-22
| | | | | | | | | | | | | | | | | | | | | | Problem: Problems when restoring 'runtimepath' from a session file. Solution: Add the "skiprtp" item in 'sessionoptions'. https://github.com/vim/vim/commit/635bd60804966803490287e97460ecdc91d5fe0a Allow "terminal" value for sessionoptions even if it's no-opt because patch v8.0.1592 is not ported yet. Omit vim9 test, Test_mksession_skiprtp().
* | Merge pull request #14615 from folke/faster_locations_to_itemsMichael Lingelbach2021-05-22
|\ \ | | | | | | perf(lsp): `locations_to_items`: use libuv for unloaded buffers to get line
| * | perf(lsp): locations_to_items use libuv for unloaded buffers to get lineFolke Lemaitre2021-05-22
| | |
* | | Merge pull request #14269 from fdschmidt93/fix/document_symbol_rangeMichael Lingelbach2021-05-22
|\ \ \ | | | | | | | | fix(lsp): prefer selectionRange over range for document symbols in vim.lsp.util.symbols_to_items
| * | | fix: selectionrange over range for document symbolsFabian David Schmidt2021-04-01
| | | |
* | | | Merge pull request #14603 from folke/format_on_saveMichael Lingelbach2021-05-22
|\ \ \ \ | |_|/ / |/| | | fix(lsp): allow apply_text_edits to append text (insert at last line)
| * | | fix(lsp): allow apply_text_edits and set_lines to insert text after the last ↵Folke Lemaitre2021-05-21
| | | | | | | | | | | | | | | | line. Fixes #14017
* | | | doc/options: Removed vim-only text from ambiwidth. (#14602)Thiago Mota Martins2021-05-21
| | | | | | | | | | | | NeoVim always includes all features and doesn´t have termcap-options (t_u7).
* | | | Merge pull request #14604 from folke/masterMichael Lingelbach2021-05-21
|\ \ \ \ | | | | | | | | | | feat(lsp): use same formatting for `signature_help` as `hover`
| * | | | feat(lsp): use fancy_floating_markdown for signature_helpFolke Lemaitre2021-05-21
| | | | |
| * | | | fix(lsp): clear current_syntax before formatting fancy markdown regionFolke Lemaitre2021-05-21
| | | | |
| * | | | fix(lsp): preview_location options and syntax fallbackFolke Lemaitre2021-05-21
| | | | |